提交 1aa45c8b 编写于 作者: K kohsuke

finishing up details.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1752 71c3de6d-444a-0410-be80-ed276b4c234a
上级 7253de0b
......@@ -34,7 +34,7 @@ public class LargeText {
}
private final Source source;
private final boolean completed;
private volatile boolean completed;
public LargeText(final File file, boolean completed) {
this.source = new Source() {
......@@ -70,6 +70,10 @@ public class LargeText {
this.completed = completed;
}
public void markAsComplete() {
completed = true;
}
/**
* Writes the tail portion of the file to the {@link Writer}.
*
......
......@@ -1147,6 +1147,7 @@ public class CVSSCM extends AbstractCVSFamilySCM implements Serializable {
}
listener.getLogger().println("Completed");
text.markAsComplete();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册