File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/metadata Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments