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 75931a8 commit d0c4360Copy full SHA for d0c4360
src/main/java/org/csource/common/IniFileReader.java
@@ -25,7 +25,7 @@ public class IniFileReader {
25
/**
26
* @param conf_filename config filename
27
*/
28
- public IniFileReader(String conf_filename) throws FileNotFoundException, IOException {
+ public IniFileReader(String conf_filename) throws IOException {
29
this.conf_filename = conf_filename;
30
loadFromFile(conf_filename);
31
}
@@ -155,6 +155,7 @@ private void loadFromFile(String confFilePath) throws IOException {
155
156
private void readToParamTable(InputStream in) throws IOException {
157
this.paramTable = new Hashtable();
158
+ if (in == null) return;
159
String line;
160
String[] parts;
161
String name;
0 commit comments