Buggy code:
public class GdcNotification { private static Logger l = Logger . getLogger ( GdcNotification . class ) ; public static String [ ] CLI_PARAM_GDC_USERNAME = new String [ ] { "username" , "u" } ; public static String [ ] CLI_PARAM_GDC_PASSWORD = new String [ ] { "password" , "p" } ; public static String [ ] CLI_PARAM_TRANSPORT_USERNAME = new String [ ] { "transportusername" , "d" } ; public static String [ ] CLI_PARAM_TRANSPORT_PASSWORD = new String [ ] { "transportpassword" , "c" } ; public static String [ ] CLI_PARAM_GDC_HOST = new String [ ] { "host" , "h" } ; public static String [ ] CLI_PARAM_VERSION = new String [ ] { "version" , "V" } ; public static String CLI_PARAM_CONFIG = "config" ; private static String DEFAULT_PROPERTIES = "gdi.properties" ; public static Option [ ] mandatoryOptions = new Option [ ] { } ; public static Option [ ] optionalOptions = new Option [ ] { new Option ( GdcNotification . CLI_PARAM_GDC_USERNAME [ 1 ] , GdcNotification . CLI_PARAM_GDC_USERNAME [ 0 ] , true , "GoodData<seq2seq4repair_space>username" ) , new Option ( GdcNotification . CLI_PARAM_GDC_PASSWORD [ 1 ] , GdcNotification . CLI_PARAM_GDC_PASSWORD [ 0 ] , true , "GoodData<seq2seq4repair_space>password" ) , new Option ( GdcNotification . CLI_PARAM_TRANSPORT_USERNAME [ 1 ] , GdcNotification . CLI_PARAM_TRANSPORT_USERNAME [ 0 ] , true , "Salesforce<seq2seq4repair_space>username" ) , new Option ( GdcNotification . CLI_PARAM_TRANSPORT_PASSWORD [ 1 ] , GdcNotification . CLI_PARAM_TRANSPORT_PASSWORD [ 0 ] , true , "Salesforce<seq2seq4repair_space>password" ) , new Option ( GdcNotification . CLI_PARAM_GDC_HOST [ 1 ] , GdcNotification . CLI_PARAM_GDC_HOST [ 0 ] , true , "GoodData<seq2seq4repair_space>host" ) , new Option ( GdcNotification . CLI_PARAM_VERSION [ 1 ] , GdcNotification . CLI_PARAM_VERSION [ 0 ] , false , "Prints<seq2seq4repair_space>the<seq2seq4repair_space>tool<seq2seq4repair_space>version." ) } ; private CliParams cliParams = null ; private boolean finishedSucessfuly = false ; private static final String BUILD_NUMBER = "" ; private GdcNotification ( CommandLine ln , Properties defaults ) { } private boolean decide ( Object result ) { } private NotificationTransport selectTransport ( String uri ) { } private static final String DEFAULT_FORMAT = "#,###.00" ; private void execute ( String config ) throws ConnectionException , IOException { } private String getTimestamp ( String fmt ) { } public static Options getOptions ( ) { } protected CliParams parse ( CommandLine ln , Properties defaults ) throws InvalidArgumentException { GdcNotification . l . debug ( ( "Parsing<seq2seq4repair_space>cli<seq2seq4repair_space>" + ln ) ) ; CliParams cp = new CliParams ( ) ; for ( Option o : GdcNotification . mandatoryOptions ) { String name = o . getLongOpt ( ) ; if ( ln . hasOption ( name ) ) cp . put ( name , ln . getOptionValue ( name ) ) ; else if ( ( defaults . getProperty ( name ) ) != null ) { cp . put ( name , defaults . getProperty ( name ) ) ; } else { throw new InvalidArgumentException ( ( ( "Missing<seq2seq4repair_space>the<seq2seq4repair_space>'" + name ) + "'<seq2seq4repair_space>commandline<seq2seq4repair_space>parameter." ) ) ; } } for ( Option o : GdcNotification . optionalOptions ) { String name = o . getLongOpt ( ) ; if ( ln . hasOption ( name ) ) { cp . put ( name , ln . getOptionValue ( name ) ) ; } else if ( ( defaults . getProperty ( name ) ) != null ) { cp . put ( name , defaults . getProperty ( name ) ) ; } } if ( cp . containsKey ( GdcNotification . CLI_PARAM_VERSION [ 0 ] ) ) { <START_BUG> GdcNotification . l . info ( ( "GoodData<seq2seq4repair_space>Notification<seq2seq4repair_space>Tool<seq2seq4repair_space>version<seq2seq4repair_space>1.2.41-BETA" + ( ( GdcNotification . BUILD_NUMBER . length ( ) ) > 0 ? ",<seq2seq4repair_space>build<seq2seq4repair_space>" + ( GdcNotification . BUILD_NUMBER ) : "." ) ) ) ; <END_BUG> System . exit ( 0 ) ; } if ( ! ( cp . containsKey ( GdcNotification . CLI_PARAM_GDC_HOST [ 0 ] ) ) ) { cp . put ( GdcNotification . CLI_PARAM_GDC_HOST [ 0 ] , DEFAULT_HOST ) ; } GdcNotification . l . debug ( ( "Using<seq2seq4repair_space>host<seq2seq4repair_space>" + ( cp . get ( GdcNotification . CLI_PARAM_GDC_HOST [ 0 ] ) ) ) ) ; if ( ( ln . getArgs ( ) . length ) == 0 ) { throw new InvalidArgumentException ( "No<seq2seq4repair_space>config<seq2seq4repair_space>file<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>given,<seq2seq4repair_space>quitting." ) ; } String configs = "" ; for ( final String arg : ln . getArgs ( ) ) { if ( ( configs . length ( ) ) > 0 ) configs += "," + arg ; else configs += arg ; } cp . put ( GdcNotification . CLI_PARAM_CONFIG , configs ) ; return cp ; } public static String commandsHelp ( ) { } private static boolean checkJavaVersion ( ) { } public static void main ( String [ ] args ) { } private static Properties loadDefaults ( ) { } }

Fix:
GdcNotification . l . info ( ( "GoodData<seq2seq4repair_space>Notification<seq2seq4repair_space>Tool<seq2seq4repair_space>version<seq2seq4repair_space>1.2.42-BETA" + ( ( GdcNotification . BUILD_NUMBER . length ( ) ) > 0 ? ",<seq2seq4repair_space>build<seq2seq4repair_space>" + ( GdcNotification . BUILD_NUMBER ) : "." ) ) ) ;