added try catch to be removed

This commit is contained in:
Miriam Baglioni 2020-06-25 22:21:24 +02:00
parent 21399fc433
commit 9d56f6d75d
1 changed files with 19 additions and 13 deletions

View File

@ -153,7 +153,9 @@ public class SparkPatchRefereed implements Serializable {
return false;
}
//TODO verify the reason of the NullPointerException fired at line 167
private static boolean equals(List<String> url, List<String> url1) {
try{
if (url == null && url1 == null) {
return true;
}
@ -171,6 +173,10 @@ public class SparkPatchRefereed implements Serializable {
}
}
return true;
}catch(Exception e){
return false;
}
}
public static <R> Dataset<R> readPath(