File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/main/java/io/jtest/utils/common Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 5.22-SNAPSHOT
3+ ## 5.23-SNAPSHOT
4+
5+ ## 5.22 (2025-03-25)
6+ - #### Changed
7+ - Enhance error message when file not found while using [ ResourceUtils.java] ( src/main/java/io/jtest/utils/common/ResourceUtils.java )
48
59## 5.21 (2024-09-26)
610- #### Changed
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ private static InputStream getInputStream(String filePath) throws IOException {
130130 InputStream is = !isAbsolute (filePath ) ? Thread .currentThread ().getContextClassLoader ().getResourceAsStream (filePath )
131131 : Files .newInputStream (Paths .get (filePath ));
132132 if (is == null ) {
133- throw new IOException ("File " + filePath + " not found" );
133+ throw new IOException ("File " + filePath + " not found or directory might be empty " );
134134 }
135135 return is ;
136136 }
You can’t perform that action at this time.
0 commit comments