Buggy code:
public class GenerateKey extends Task { protected String alias ; protected String dname ; protected GenerateKey . DistinguishedName expandedDname ; protected String keyalg ; protected String keypass ; protected int keysize ; protected String keystore ; protected String sigalg ; protected String storepass ; protected String storetype ; protected int validity ; protected boolean verbose ; public void setAlias ( final String alias ) { } public void setDname ( final String dname ) throws TaskException { } public void setKeyalg ( final String keyalg ) { } public void setKeypass ( final String keypass ) { } public void setKeysize ( final String keysize ) throws TaskException { } public void setKeystore ( final String keystore ) { } public void setSigalg ( final String sigalg ) { } public void setStorepass ( final String storepass ) { } public void setStoretype ( final String storetype ) { } public void setValidity ( final String validity ) throws TaskException { } public void setVerbose ( final boolean verbose ) { } public GenerateKey . DistinguishedName createDname ( ) throws TaskException { } public void execute ( ) throws TaskException { if ( project . getJavaVersion ( ) . equals ( JAVA_1_1 ) ) { throw new TaskException ( ( "The<seq2seq4repair_space>genkey<seq2seq4repair_space>task<seq2seq4repair_space>is<seq2seq4repair_space>only<seq2seq4repair_space>available<seq2seq4repair_space>on<seq2seq4repair_space>JDK" + "<seq2seq4repair_space>versions<seq2seq4repair_space>1.2<seq2seq4repair_space>or<seq2seq4repair_space>greater" ) ) ; } if ( null == ( alias ) ) { throw new TaskException ( "alias<seq2seq4repair_space>attribute<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set" ) ; } if ( null == ( storepass ) ) { throw new TaskException ( "storepass<seq2seq4repair_space>attribute<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set" ) ; } if ( ( null == ( dname ) ) && ( null == ( expandedDname ) ) ) { throw new TaskException ( "dname<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>set" ) ; } <START_BUG> log ( ( "Generating<seq2seq4repair_space>Key<seq2seq4repair_space>for<seq2seq4repair_space>" + ( alias ) ) ) ; <END_BUG> final ExecTask cmd = ( ( ExecTask ) ( project . createTask ( "exec" ) ) ) ; cmd . setExecutable ( "keytool" ) ; cmd . createArg ( ) . setValue ( "-genkey<seq2seq4repair_space>" ) ; if ( verbose ) { cmd . createArg ( ) . setValue ( "-v<seq2seq4repair_space>" ) ; } cmd . createArg ( ) . setValue ( "-alias" ) ; cmd . createArg ( ) . setValue ( alias ) ; if ( null != ( dname ) ) { cmd . createArg ( ) . setValue ( "-dname" ) ; cmd . createArg ( ) . setValue ( dname ) ; } if ( null != ( expandedDname ) ) { cmd . createArg ( ) . setValue ( "-dname" ) ; cmd . createArg ( ) . setValue ( expandedDname . toString ( ) ) ; } if ( null != ( keystore ) ) { cmd . createArg ( ) . setValue ( "-keystore" ) ; cmd . createArg ( ) . setValue ( keystore ) ; } if ( null != ( storepass ) ) { cmd . createArg ( ) . setValue ( "-storepass" ) ; cmd . createArg ( ) . setValue ( storepass ) ; } if ( null != ( storetype ) ) { cmd . createArg ( ) . setValue ( "-storetype" ) ; cmd . createArg ( ) . setValue ( storetype ) ; } cmd . createArg ( ) . setValue ( "-keypass" ) ; if ( null != ( keypass ) ) { cmd . createArg ( ) . setValue ( keypass ) ; } else { cmd . createArg ( ) . setValue ( storepass ) ; } if ( null != ( sigalg ) ) { cmd . createArg ( ) . setValue ( "-sigalg" ) ; cmd . createArg ( ) . setValue ( sigalg ) ; } if ( null != ( keyalg ) ) { cmd . createArg ( ) . setValue ( "-keyalg" ) ; cmd . createArg ( ) . setValue ( keyalg ) ; } if ( 0 < ( keysize ) ) { cmd . createArg ( ) . setValue ( "-keysize" ) ; cmd . createArg ( ) . setValue ( ( "" + ( keysize ) ) ) ; } if ( 0 < ( validity ) ) { cmd . createArg ( ) . setValue ( "-validity" ) ; cmd . createArg ( ) . setValue ( ( "" + ( validity ) ) ) ; } cmd . setFailonerror ( true ) ; cmd . execute ( ) ; } public static class DistinguishedName { private Vector params = new Vector ( ) ; private String name ; private String path ; public Enumeration getParams ( ) { } public Object createParam ( ) { } public String encode ( final String string ) { } public String toString ( ) { } } public static class DnameParam { private String name ; private String value ; public void setName ( String name ) { } public void setValue ( String value ) { } public String getName ( ) { } public String getValue ( ) { } } }

Fix:
getLogger ( ) . info ( ( "Generating<seq2seq4repair_space>Key<seq2seq4repair_space>for<seq2seq4repair_space>" + ( alias ) ) ) ;