Buggy code:
public static String [ ] CLI_PARAM_HTTP_PROXY_USERNAME = new String [ ] { "proxyusername" , "U" } ; public static String [ ] CLI_PARAM_HTTP_PROXY_PASSWORD = new String [ ] { "proxypassword" , "P" } ; public static String CLI_PARAM_SCRIPT = "script" ; private static String DEFAULT_PROPERTIES = "gdi.properties" ; private static com . gooddata . processor . Options ops = new com . gooddata . processor . Options ( ) ; public static Option [ ] Options = new Option [ ] { new Option ( GdcDI . CLI_PARAM_HELP [ 1 ] , GdcDI . CLI_PARAM_HELP [ 0 ] , false , "Print<seq2seq4repair_space>command<seq2seq4repair_space>reference" ) , new Option ( GdcDI . CLI_PARAM_USERNAME [ 1 ] , GdcDI . CLI_PARAM_USERNAME [ 0 ] , true , "GoodData<seq2seq4repair_space>username" ) , new Option ( GdcDI . CLI_PARAM_PASSWORD [ 1 ] , GdcDI . CLI_PARAM_PASSWORD [ 0 ] , true , "GoodData<seq2seq4repair_space>password" ) , new Option ( GdcDI . CLI_PARAM_HTTP_PROXY_HOST [ 1 ] , GdcDI . CLI_PARAM_HTTP_PROXY_HOST [ 0 ] , true , "HTTP<seq2seq4repair_space>proxy<seq2seq4repair_space>hostname." ) , new Option ( GdcDI . CLI_PARAM_HTTP_PROXY_PORT [ 1 ] , GdcDI . CLI_PARAM_HTTP_PROXY_PORT [ 0 ] , true , "HTTP<seq2seq4repair_space>proxy<seq2seq4repair_space>port." ) , new Option ( GdcDI . CLI_PARAM_HTTP_PROXY_USERNAME [ 1 ] , GdcDI . CLI_PARAM_HTTP_PROXY_USERNAME [ 0 ] , true , "HTTP<seq2seq4repair_space>proxy<seq2seq4repair_space>username." ) , new Option ( GdcDI . CLI_PARAM_HTTP_PROXY_PASSWORD [ 1 ] , GdcDI . CLI_PARAM_HTTP_PROXY_PASSWORD [ 0 ] , true , "HTTP<seq2seq4repair_space>proxy<seq2seq4repair_space>password." ) , new Option ( GdcDI . CLI_PARAM_HOST [ 1 ] , GdcDI . CLI_PARAM_HOST [ 0 ] , true , "GoodData<seq2seq4repair_space>host" ) , new Option ( GdcDI . CLI_PARAM_FTP_HOST [ 1 ] , GdcDI . CLI_PARAM_FTP_HOST [ 0 ] , true , "GoodData<seq2seq4repair_space>data<seq2seq4repair_space>stage<seq2seq4repair_space>host" ) , new Option ( GdcDI . CLI_PARAM_PROJECT [ 1 ] , GdcDI . CLI_PARAM_PROJECT [ 0 ] , true , "GoodData<seq2seq4repair_space>project<seq2seq4repair_space>identifier<seq2seq4repair_space>(a<seq2seq4repair_space>string<seq2seq4repair_space>like<seq2seq4repair_space>nszfbgkr75otujmc4smtl6rf5pnmz9yl)" ) , new Option ( GdcDI . CLI_PARAM_PROTO [ 1 ] , GdcDI . CLI_PARAM_PROTO [ 0 ] , true , "HTTP<seq2seq4repair_space>or<seq2seq4repair_space>HTTPS<seq2seq4repair_space>(deprecated)" ) , new Option ( GdcDI . CLI_PARAM_INSECURE [ 1 ] , GdcDI . CLI_PARAM_INSECURE [ 0 ] , false , "Disable<seq2seq4repair_space>encryption" ) , new Option ( GdcDI . CLI_PARAM_VERSION [ 1 ] , GdcDI . CLI_PARAM_VERSION [ 0 ] , false , "Prints<seq2seq4repair_space>the<seq2seq4repair_space>tool<seq2seq4repair_space>version." ) , new Option ( GdcDI . CLI_PARAM_EXECUTE [ 1 ] , GdcDI . CLI_PARAM_EXECUTE [ 0 ] , true , "Commands<seq2seq4repair_space>and<seq2seq4repair_space>params<seq2seq4repair_space>to<seq2seq4repair_space>execute<seq2seq4repair_space>before<seq2seq4repair_space>the<seq2seq4repair_space>commands<seq2seq4repair_space>in<seq2seq4repair_space>provided<seq2seq4repair_space>files" ) , new Option ( GdcDI . CLI_PARAM_DEFAULT_DATE_FOREIGN_KEY [ 1 ] , GdcDI . CLI_PARAM_DEFAULT_DATE_FOREIGN_KEY [ 0 ] , true , "Foreign<seq2seq4repair_space>key<seq2seq4repair_space>to<seq2seq4repair_space>represent<seq2seq4repair_space>an<seq2seq4repair_space>'unknown'<seq2seq4repair_space>date" ) } ; private CliParams cliParams = null ; private Connector [ ] connectors = null ; private ProcessingContext context = new ProcessingContext ( ) ; private boolean finishedSucessfuly = false ; private static long LOCK_EXPIRATION_TIME = 1000 * 3600 ; private static final String BUILD_NUMBER = "" ; private GdcDI ( CommandLine ln , Properties defaults ) { } protected CliParams parse ( CommandLine ln , Properties defaults ) throws InvalidArgumentException { } public void execute ( final String commandsStr ) { } public void execute ( final File scriptFile ) throws IOException { } public static String commandsHelp ( ) { } private static boolean checkJavaVersion ( ) { } public static void main ( String [ ] args ) { } private void setupHttpProxies ( ) { } protected static List < Command > parseCmd ( String cmd ) throws InvalidCommandException { } public boolean processCommand ( Command c , CliParams cli , ProcessingContext ctx ) throws ProcessingException { } private void executeDML ( Command c , CliParams p , ProcessingContext ctx ) throws IOException { } private void exportProject ( Command c , CliParams p , ProcessingContext ctx ) throws IOException { } private void importProject ( Command c , CliParams p , ProcessingContext ctx ) throws IOException { } private void exportMDObject ( Command c , CliParams p , ProcessingContext ctx ) throws IOException { } private void importMDObject ( Command c , CliParams p , ProcessingContext ctx ) throws IOException { } private void createUser ( Command c , CliParams p , ProcessingContext ctx ) throws IOException { GdcDI . l . info ( "Creating<seq2seq4repair_space>new<seq2seq4repair_space>user." ) ; String domain = c . getParamMandatory ( "domain" ) ; GdcRESTApiWrapper . GdcUser user = new GdcRESTApiWrapper . GdcUser ( ) ; user . setLogin ( c . getParamMandatory ( "username" ) ) ; user . setPassword ( c . getParamMandatory ( "password" ) ) ; <START_BUG> user . setVerifyPassword ( c . getParamMandatory ( "password" ) ) ; <END_BUG> user . setFirstName ( c . getParamMandatory ( "firstName" ) ) ; user . setLastName ( c . getParamMandatory ( "lastName" ) ) ; user . setCompanyName ( c . getParam ( "company" ) ) ; user . setPosition ( c . getParam ( "position" ) ) ; user . setCountry ( c . getParam ( "country" ) ) ; user . setPhoneNumber ( c . getParam ( "phone" ) ) ; user . setSsoProvider ( c . getParam ( "ssoProvider" ) ) ; String usersFile = c . getParam ( "usersFile" ) ; String appnd = c . getParam ( "append" ) ; c . paramsProcessed ( ) ; final boolean append = ( appnd != null ) && ( "true" . equalsIgnoreCase ( appnd ) ) ; String r = ctx . getRestApi ( p ) . createUser ( domain , user ) ; if ( ( ( ( r != null ) && ( ( r . length ( ) ) > 0 ) ) && ( usersFile != null ) ) && ( ( usersFile . length ( ) ) > 0 ) ) { FileUtil . writeStringToFile ( ( r + "\n" ) , usersFile , append ) ; } GdcDI . l . info ( ( ( ( "User<seq2seq4repair_space>" + ( user . getLogin ( ) ) ) + "'<seq2seq4repair_space>successfully<seq2seq4repair_space>created.<seq2seq4repair_space>User<seq2seq4repair_space>URI:<seq2seq4repair_space>" ) + r ) ) ; } private void addUsersToProject ( Command c , CliParams p , ProcessingContext ctx ) throws IOException { }

Fix:
user . setVerifyPassword ( user . getPassword ( ) ) ;