diff --git a/core/src/main/java/hudson/scm/SubversionSCM.java b/core/src/main/java/hudson/scm/SubversionSCM.java index 3e6e9f481c..6b6b06fd96 100644 --- a/core/src/main/java/hudson/scm/SubversionSCM.java +++ b/core/src/main/java/hudson/scm/SubversionSCM.java @@ -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) {