提交 fad8a1f5 authored 作者: noelgrandin's avatar noelgrandin

fix missing assignment, bug found by joris.vanleene@gmail.com

上级 80f69f1a
...@@ -277,7 +277,7 @@ public class FilePathDisk extends FilePath { ...@@ -277,7 +277,7 @@ public class FilePathDisk extends FilePath {
} }
InputStream in = getClass().getResourceAsStream(fileName); InputStream in = getClass().getResourceAsStream(fileName);
if (in == null) { if (in == null) {
Thread.currentThread().getContextClassLoader().getResourceAsStream(fileName); in = Thread.currentThread().getContextClassLoader().getResourceAsStream(fileName);
} }
if (in == null) { if (in == null) {
throw new FileNotFoundException("resource " + fileName); throw new FileNotFoundException("resource " + fileName);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论