Commit cd3baf5d authored by javi's avatar javi
Browse files

minor change reading the configuration file, space are allowed after =

or | in semantic types and excluded sourecer semantic types.
parent b6398491
......@@ -410,7 +410,7 @@ public class App {
String[] data = line.split("\\|");
if(data.length==3) {
System.out.println(line);
semanticTypesMap.put(data[0], data[2]);
semanticTypesMap.put(data[0], data[2].trim());
}else {
System.out.println("Error reading semantic type, line: " + line);
System.exit(1);
......@@ -432,7 +432,7 @@ public class App {
String[] data = line.split("=");
if(data.length==2) {
System.out.println(line);
semanticTypesMapExcluded.put(data[0], data[1]);
semanticTypesMapExcluded.put(data[0], data[1].trim());
}else {
System.out.println("Error reading semantic type, line: " + line);
System.exit(1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment