Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
patstevens4 committed Aug 2, 2024
1 parent 89f6077 commit 15024a4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions engine/src/main/java/com/arcadedb/security/ACCM/Argument.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,6 @@ private boolean evaluateInternal(JSONObject json) {

Object docFieldValue = getValueForFieldJsonPath(json);

LogManager.instance().log(this, Level.INFO, "field: " + field +"; docFieldValue: " + docFieldValue);

try {
LogManager.instance().log(this, Level.INFO, docFieldValue != null ? docFieldValue.getClass().getName() : "NA");
} catch (Exception e) {

}

// TODO configurably handle null values- could eval to true or false
if (docFieldValue == null) {
return this.nullEvaluatesToGrantAccess;
Expand Down Expand Up @@ -307,8 +299,6 @@ private boolean evaluateInternal(JSONObject json) {
docValList = Arrays.asList((String[]) docFieldValue);
}

LogManager.instance().log(this, Level.INFO, "this.value type: " + this.value.getClass().getSimpleName());

if (this.value instanceof List) {
List<?> list = (List<?>) this.value;
for (Object element : list) {
Expand Down

0 comments on commit 15024a4

Please sign in to comment.