Skip to content

Commit

Permalink
Remove exception
Browse files Browse the repository at this point in the history
  • Loading branch information
nck-mlcnv committed Sep 5, 2024
1 parent bbc7a20 commit f9ce17a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public abstract class QuerySource {
final protected int hashCode;

public QuerySource(Path path) {
if (path == null)
throw new IllegalArgumentException("Path for a query source must not be null.");
this.path = path;
this.hashCode = FileUtils.getHashcodeFromFileContent(path);
}
Expand Down

0 comments on commit f9ce17a

Please sign in to comment.