Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -212,40 +212,40 @@ public boolean visitPrimitive(PathCursor path) {

private boolean notRedacted(PathCursor path) {
if (redactionRules.findMatching(path) != null) {
collectedTags.put(path.toString(tagPrefix), REDACTED);
collectedTags.set(path.toString(tagPrefix), REDACTED);
return false;
}
return true;
}

@Override
public void booleanValue(PathCursor path, boolean value) {
collectedTags.put(path.toString(tagPrefix), value);
collectedTags.set(path.toString(tagPrefix), value);
}

@Override
public void stringValue(PathCursor path, String value) {
collectedTags.put(path.toString(tagPrefix), value);
collectedTags.set(path.toString(tagPrefix), value);
}

@Override
public void intValue(PathCursor path, int value) {
collectedTags.put(path.toString(tagPrefix), value);
collectedTags.set(path.toString(tagPrefix), value);
}

@Override
public void longValue(PathCursor path, long value) {
collectedTags.put(path.toString(tagPrefix), value);
collectedTags.set(path.toString(tagPrefix), value);
}

@Override
public void doubleValue(PathCursor path, double value) {
collectedTags.put(path.toString(tagPrefix), value);
collectedTags.set(path.toString(tagPrefix), value);
}

@Override
public void nullValue(PathCursor path) {
collectedTags.put(path.toString(tagPrefix), null);
collectedTags.set(path.toString(tagPrefix), null);
}

@Override
Expand All @@ -257,7 +257,7 @@ public boolean keepCollectingTags() {
if (collectedTags.size() < maxTags) {
return true;
}
collectedTags.put(DD_PAYLOAD_TAGS_INCOMPLETE, true);
collectedTags.set(DD_PAYLOAD_TAGS_INCOMPLETE, true);
return false;
}

Expand Down
Loading