private void checkForMissingCommandParameters ( final List < String > messages ) { if ( ( commandParams . isEmpty ( ) || commandParams . iterator ( ) . next ( ) . startsWith ( "-" ) ) && ( COMMANDS . CALCULATE_CHECKSUM . equalsIgnoreCase ( command ) ) ) { messages . add ( coreBundle . getString ( "changeset.identifier.missing" ) ) ; } }
Checks for missing command line parameters and if any problems are found returns the list of issues in String form .