Protect creating Actions without a valid actionName.
ControllerDef.createAction() could be used to create a JavaAction and would encounter all sorts of NullPointerException.
@rev goliver@
@bug W-1820840@
Unused imports and comments.
@bug W-1856666@
@rev gtorres@
@P4CL:8234755@
Merging origin/ravi/master-pending-W-1856666 into master