- fixed a small NPE in MD5CalculatingOutputStream #881

Merged
merged 1 commit into from May 27, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -68,7 +68,7 @@ public Md5CalculatingOutputStream(OutputStream os, Path digestFile) {
}
public Md5CalculatingOutputStream(OutputStream os, File digestFile) {
- this(os, digestFile.toPath());
+ this(os, digestFile == null ? (Path) null : digestFile.toPath());
}
@Override