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:
kohsuke committed 2008-02-04 01:46:05 +00:00
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) {