Skip to content

Commit 36653c6

Browse files
committed
pass checkstyle locally
1 parent 90608d2 commit 36653c6

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

src/main/java/com/bugsnag/util/FilteredMap.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
package com.bugsnag.util;
22

33

4-
import java.util.*;
4+
import java.util.ArrayList;
5+
import java.util.Collection;
6+
import java.util.Map;
7+
import java.util.Set;
58

69
/**
710
* Decorates a map, and alters the return value of {@link #get(Object)} if the key matches a filter.
@@ -40,8 +43,8 @@ public boolean containsValue(Object value) {
4043

4144
@Override
4245
public Object get(Object key) {
43-
Object o = map.get(key);
44-
return o != null ? transformEntry(key, o) : null;
46+
Object obj = map.get(key);
47+
return obj != null ? transformEntry(key, obj) : null;
4548
}
4649

4750
@Override
@@ -55,8 +58,8 @@ public Object remove(Object key) {
5558
}
5659

5760
@Override
58-
public void putAll(Map<? extends String, ?> m) {
59-
map.putAll(m);
61+
public void putAll(Map<? extends String, ?> mapValues) {
62+
map.putAll(mapValues);
6063
}
6164

6265
@Override

0 commit comments

Comments
 (0)