Skip to content
Permalink
Browse files
Merge branch 'JENKINS-22641' of github.com:christ66/jenkins into JENK…
…INS-22641
  • Loading branch information
christ66 committed Jul 21, 2014
2 parents 0d4c0cb + 10466fe commit 9ac68b92dcc0bc093c7983cdb0aab72342165df4
Showing 1 changed file with 1 addition and 3 deletions.
@@ -711,12 +711,10 @@ public synchronized EnvVars getEnvironmentVariables() {
}

public byte[] readFileToByteArray(File file) throws IOException {
InputStream in = null;
InputStream in = org.apache.commons.io.FileUtils.openInputStream(file);
try {
in = org.apache.commons.io.FileUtils.openInputStream(file);
return org.apache.commons.io.IOUtils.toByteArray(in);
} finally {
if (in != null)
in.close();
}
}

0 comments on commit 9ac68b9

Please sign in to comment.