Fix critical issue with RDA Comoon Standard text load
This commit is contained in:
parent
93baa4a281
commit
900a377d5f
|
@ -67,7 +67,7 @@ public class DefaultConfigLoader implements ConfigLoader {
|
||||||
BufferedReader reader;
|
BufferedReader reader;
|
||||||
List<String> rdaList = new LinkedList<>();
|
List<String> rdaList = new LinkedList<>();
|
||||||
try {
|
try {
|
||||||
reader = new BufferedReader(new FileReader(getClass().getClassLoader().getResource(filePath).getFile()));
|
reader = new BufferedReader(new InputStreamReader(getStreamFromPath(filePath)));
|
||||||
String line = reader.readLine();
|
String line = reader.readLine();
|
||||||
while (line != null) {
|
while (line != null) {
|
||||||
rdaList.add(line);
|
rdaList.add(line);
|
||||||
|
|
Loading…
Reference in New Issue