We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 628b04e commit 115fccfCopy full SHA for 115fccf
src/main/java/org/codehaus/plexus/build/DefaultBuildContext.java
@@ -26,6 +26,7 @@
26
27
import org.codehaus.plexus.util.DirectoryScanner;
28
import org.codehaus.plexus.util.Scanner;
29
+import org.codehaus.plexus.util.io.CachingOutputStream;
30
import org.slf4j.Logger;
31
import org.slf4j.LoggerFactory;
32
@@ -76,7 +77,7 @@ public boolean hasDelta(List<String> relpaths) {
76
77
78
/** {@inheritDoc} */
79
public OutputStream newFileOutputStream(File file) throws IOException {
- return Files.newOutputStream(file.toPath());
80
+ return new CachingOutputStream(file.toPath());
81
}
82
83
0 commit comments