File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
stroom-proxy/stroom-proxy-app/src/main/java/stroom/proxy/app/handler Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 20
20
import java .nio .file .Path ;
21
21
import java .util .Iterator ;
22
22
import java .util .Map ;
23
+ import java .util .Objects ;
23
24
import java .util .concurrent .atomic .AtomicBoolean ;
24
25
import java .util .concurrent .atomic .AtomicLong ;
25
26
import java .util .function .Consumer ;
@@ -103,7 +104,7 @@ public void addDir(final Path dir) {
103
104
final Map .Entry <String , String > entry = iterator .next ();
104
105
final String otherValue = headers .get (entry .getKey ());
105
106
// If this header is different then remove the common header.
106
- if (!entry .getValue (). equals ( otherValue )) {
107
+ if (!Objects . equals ( entry .getValue (), otherValue )) {
107
108
iterator .remove ();
108
109
}
109
110
}
You can’t perform that action at this time.
0 commit comments