mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
don't assign a variable if it's only used once
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6984 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
efecd5ddeb
commit
1acd267dbf
1 file changed
+1
-2
@@ -399,8 +399,7 @@ public class SubversionSCM extends SCM implements Serializable {
|
||||
Util.deleteContentsRecursive(ws);
|
||||
|
||||
PipedOutputStream pos = new PipedOutputStream();
|
||||
PipedInputStream pis = new PipedInputStream(pos);
|
||||
StreamCopyThread sct = new StreamCopyThread("svn log copier", pis, listener.getLogger());
|
||||
StreamCopyThread sct = new StreamCopyThread("svn log copier", new PipedInputStream(pos), listener.getLogger());
|
||||
sct.start();
|
||||
|
||||
for (final ModuleLocation l : locations) {
|
||||
|
||||
Reference in new issue
Block a user