Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 63129a2

Browse files
committed
#59 Fix for loading rest-properties.json
2 parents 5a269ee + 642c593 commit 63129a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/marklogic/client/ext/modulesloader/impl/DefaultModulesLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ protected void loadProperties(Modules modules, Set<File> loadedModules) {
241241
mgr.setUpdatePolicy(UpdatePolicy.valueOf(node.get("update-policy").asText()));
242242
}
243243
if (node.has("validate-options")) {
244-
mgr.setQueryValidation(node.get("validate-options").asBoolean());
244+
mgr.setQueryOptionValidation(node.get("validate-options").asBoolean());
245245
}
246246
if (node.has("validate-queries")) {
247-
mgr.setQueryOptionValidation(node.get("validate-queries").asBoolean());
247+
mgr.setQueryValidation(node.get("validate-queries").asBoolean());
248248
}
249249
if (node.has("debug")) {
250250
mgr.setServerRequestLogging(node.get("debug").asBoolean());

0 commit comments

Comments
 (0)