Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford authored Jan 3, 2024
1 parent 00baf13 commit bb7b530
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public static ComplianceConfig from(Map<String, Object> properties, @JacksonInje
final Set<String> ignoredComplianceUsersForRead = ImmutableSet.copyOf(
getOrDefault(properties, "read_ignore_users", AuditConfig.DEFAULT_IGNORED_USERS)
);

final boolean logWriteMetadataOnly = getOrDefault(properties, "write_metadata_only", false);
final boolean logDiffsForWrite = getOrDefault(properties, "write_log_diffs", false);
final List<String> watchedWriteIndicesPatterns = getOrDefault(properties, "write_watched_indices", Collections.emptyList());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ public void testCustomSettings() throws IOException {
private boolean compareJson(final String json1, final String json2) throws JsonProcessingException {
ObjectNode objectNode1 = objectMapper.readValue(json1, ObjectNode.class);
ObjectNode objectNode2 = objectMapper.readValue(json2, ObjectNode.class);

return objectNode1.equals(objectNode2);
}
}

0 comments on commit bb7b530

Please sign in to comment.