Преглед изворни кода

Minor bug fix

Wrong check in arguments fixed.
Christophe Debruyne пре 6 година
родитељ
комит
ad98a91718
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/r2rml/Main.java

+ 1 - 1
src/r2rml/Main.java

@@ -39,7 +39,7 @@ public class Main {
 
 			Configuration configuration = new Configuration(args[0]);
 
-			if(configuration.getMappingFile() == null) {
+			if(configuration.getConnectionURL() == null) {
 				throw new R2RMLException("A connection URL is mandatory.", null);
 			}