Browse Source

Minor bug fix

Wrong check in arguments fixed.
Christophe Debruyne 6 years ago
parent
commit
ad98a91718
1 changed files with 1 additions and 1 deletions
  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);
 			}