Github user vlsi commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/167#discussion_r56164700
--- Diff: src/core/org/apache/jmeter/services/FileServer.java ---
@@ -428,6 +429,9 @@ private BufferedReader createBufferedReader(FileEntry
fileEntry) throws IOExcept
isr = new InputStreamReader(fis);
}
return new BufferedReader(isr);
+ } else {
+ throw new IllegalArgumentException("File "+
fileEntry.file.getName()+ " must exist and be readable");
--- End diff --
Please move `else` branch to the start of the method.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---