Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
spotless
  • Loading branch information
jeanbisutti committed Jan 13, 2025
commit 4dcb185d5b1c0846a5ddce34176aa33584ec9cd6
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ private static String maskIKeys(List<TelemetryItem> telemetryItems, String json)
Set<String> iKeys
= telemetryItems.stream().map(TelemetryItem::getInstrumentationKey).collect(Collectors.toSet());
for (String instrumentationKey : iKeys) {
String maskedIKey = "*" + instrumentationKey.substring( instrumentationKey.length() - 13, instrumentationKey.length() - 1);
String maskedIKey
= "*" + instrumentationKey.substring(instrumentationKey.length() - 13, instrumentationKey.length() - 1);
json = json.replace(instrumentationKey, maskedIKey);
}
return json;
Expand Down
Loading