Source:
<code>public void executeTask( @NotNull final Map<String, Object> context ) throws GenieException { log.debug("Executing Application Task in the workflow."); super.executeTask(context); if (this.jobExecEnv.getApplications() != null) { for (Application application : this.jobExecEnv.getApplications()) { createEntityInstanceDirectory( application.getId(), AdminResources.APPLICATION ); createEntityInstanceConfigDirectory( application.getId(), AdminResources.APPLICATION ); createEntityInstanceDependenciesDirectory( application.getId(), AdminResources.APPLICATION ); final String applicationSetupFile = application.getSetupFile(); if (applicationSetupFile != null && StringUtils.isNotBlank(applicationSetupFile)) { final String localPath = super.buildLocalFilePath( this.jobWorkingDirectory, application.getId(), applicationSetupFile, FileType.SETUP, AdminResources.APPLICATION ); this.fts.getFile(applicationSetupFile, localPath); Utils.appendToWriter(writer, "# Sourcing setup file from application " + application.getId()); Utils.appendToWriter(writer, JobConstants.SOURCE + localPath.replace(this.jobWorkingDirectory, "${" + JobConstants.GENIE_JOB_DIR_ENV_VAR + "}") + JobConstants.SEMICOLON_SYMBOL); <START> Utils.appendToWriter(writer, " "); <END> } for (final String dependencyFile: application.getDependencies()) { final String localPath = super.buildLocalFilePath( this.jobWorkingDirectory, application.getId(), dependencyFile, FileType.DEPENDENCIES, AdminResources.APPLICATION ); this.fts.getFile(dependencyFile, localPath); } for (final String configFile: application.getConfigs()) { final String localPath = super.buildLocalFilePath( this.jobWorkingDirectory, application.getId(), configFile, FileType.CONFIG, AdminResources.APPLICATION ); this.fts.getFile(configFile, localPath); } } } }</code><technical_language>new line need a space? a \n</technical_language>

Target:
public void executeTask( @NotNull final Map<String, Object> context ) throws GenieException, IOException { log.debug("Executing Application Task in the workflow."); super.executeTask(context); if (this.jobExecEnv.getApplications() != null) { for (Application application : this.jobExecEnv.getApplications()) { createEntityInstanceDirectory( application.getId(), AdminResources.APPLICATION ); createEntityInstanceConfigDirectory( application.getId(), AdminResources.APPLICATION ); createEntityInstanceDependenciesDirectory( application.getId(), AdminResources.APPLICATION ); final String applicationSetupFile = application.getSetupFile(); if (applicationSetupFile != null && StringUtils.isNotBlank(applicationSetupFile)) { final String localPath = super.buildLocalFilePath( this.jobWorkingDirectory, application.getId(), applicationSetupFile, FileType.SETUP, AdminResources.APPLICATION ); this.fts.getFile(applicationSetupFile, localPath); super.generateSetupFileSourceSnippet( application.getId(), "Application:", localPath); } for (final String dependencyFile: application.getDependencies()) { final String localPath = super.buildLocalFilePath( this.jobWorkingDirectory, application.getId(), dependencyFile, FileType.DEPENDENCIES, AdminResources.APPLICATION ); this.fts.getFile(dependencyFile, localPath); } for (final String configFile: application.getConfigs()) { final String localPath = super.buildLocalFilePath( this.jobWorkingDirectory, application.getId(), configFile, FileType.CONFIG, AdminResources.APPLICATION ); this.fts.getFile(configFile, localPath); } } } }