88
99import java .io .IOException ;
1010import java .io .InputStream ;
11- import java .net .URL ;
1211import org .apache .commons .lang .RandomStringUtils ;
1312import hudson .EnvVars ;
1413import hudson .FilePath ;
@@ -25,7 +24,7 @@ public interface MatlabBuild {
2524 * @param workspace Current build workspace
2625 * @param launcher Current build launcher
2726 * @param listener Current build listener
28- * @param envVars Environment variables of the current build
27+ * @param envVars Environment variables of the current build
2928 * @param matlabCommand MATLAB command to execute on shell
3029 * @return matlabLauncher returns the process launcher to run MATLAB commands
3130 */
@@ -87,10 +86,10 @@ default String getUniqueNameForRunnerFile() {
8786 // This method prepares the temp folder by coping all helper files in it.
8887 default void prepareTmpFldr (FilePath tmpFldr , String runnerScript ) throws IOException , InterruptedException {
8988 // copy genscript package
90- copyFileInWorkspace (MatlabBuilderConstants .MATLAB_SCRIPT_GENERATOR ,
91- MatlabBuilderConstants .MATLAB_SCRIPT_GENERATOR , tmpFldr );
92- FilePath zipFileLocation =
93- new FilePath (tmpFldr , MatlabBuilderConstants .MATLAB_SCRIPT_GENERATOR );
89+ copyFileInWorkspace (MatlabBuilderConstants .MATLAB_SCRIPT_GENERATOR ,
90+ MatlabBuilderConstants .MATLAB_SCRIPT_GENERATOR , tmpFldr );
91+ FilePath zipFileLocation =
92+ new FilePath (tmpFldr , MatlabBuilderConstants .MATLAB_SCRIPT_GENERATOR );
9493 runnerScript =replaceZipPlaceholder (runnerScript , zipFileLocation .getRemote ());
9594
9695 // Write MATLAB scratch file in temp folder.
0 commit comments