Skip to content

Commit

Permalink
[Fix] Fix incorrect exception throw
Browse files Browse the repository at this point in the history
  • Loading branch information
rodionnv committed Jul 31, 2023
1 parent 82fb232 commit bd1f880
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void loadConfiguration() {
LOG.debug("Iteration count={}\nOnlyIf...Changes={}"
,iterationCount
,onlyIfTripleCountChanges);
if (updateRepository == null && rdf4jServerURL != null) {
if (updateRepository != null && rdf4jServerURL != null) {
throw new ModuleConfigurationInconsistentException(
"Repository is already initialized. Trying to override its configuration from RDF.");
}
Expand Down

0 comments on commit bd1f880

Please sign in to comment.