Skip to content

Commit 19fce3e

Browse files
committed
Fix typo
1 parent f30f48c commit 19fce3e

File tree

1 file changed

+3
-3
lines changed
  • firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/metadata

1 file changed

+3
-3
lines changed

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/metadata/KeysMap.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ public synchronized boolean setKey(String key, String value) {
4848
String sanitizedKey = sanitizeKey(key);
4949
// The entry can be added if we're under the size limit or we're updating an existing entry
5050
if (keys.size() < maxEntries || keys.containsKey(sanitizedKey)) {
51-
String santitizedAttribute = sanitizeString(value, maxEntryLength);
52-
if (CommonUtils.nullSafeEquals(keys.get(sanitizedKey), santitizedAttribute)) {
51+
String sanitizedAttribute = sanitizeString(value, maxEntryLength);
52+
if (CommonUtils.nullSafeEquals(keys.get(sanitizedKey), sanitizedAttribute)) {
5353
return false;
5454
}
55-
keys.put(sanitizedKey, value == null ? "" : santitizedAttribute);
55+
keys.put(sanitizedKey, value == null ? "" : sanitizedAttribute);
5656
return true;
5757
}
5858
// TODO: Explore using a LinkedHashMap to overwrite keys in this case.

0 commit comments

Comments
 (0)