Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-04-22 12:37:20 +0000
committerLars Vogel2020-04-22 12:37:20 +0000
commita0802ff9c26b27486fcab2922a4a469945fe8ff0 (patch)
tree521858baf4e773f4bde23d966fba4f9f0713b528 /org.eclipse.jgit.http.server
parent54a2d48008140237eb143d7aefd872cbf6430238 (diff)
downloadjgit-a0802ff9c26b27486fcab2922a4a469945fe8ff0.tar.gz
jgit-a0802ff9c26b27486fcab2922a4a469945fe8ff0.tar.xz
jgit-a0802ff9c26b27486fcab2922a4a469945fe8ff0.zip
Use Map directly in MetaFilter
Change-Id: I15545e9c7cdcbb8a913cbcf0eef7f8a2281de7a8 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.jgit.http.server')
-rw-r--r--org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/MetaFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/MetaFilter.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/MetaFilter.java
index e586888bbc..f53c8aecbf 100644
--- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/MetaFilter.java
+++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/MetaFilter.java
@@ -124,7 +124,7 @@ public class MetaFilter implements Filter {
@Override
public boolean contains(Object o) {
- return m.keySet().contains(o);
+ return m.containsKey(o);
}
@Override

Back to the top