From a0802ff9c26b27486fcab2922a4a469945fe8ff0 Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Wed, 22 Apr 2020 14:37:20 +0200 Subject: [PATCH] Use Map directly in MetaFilter Change-Id: I15545e9c7cdcbb8a913cbcf0eef7f8a2281de7a8 Signed-off-by: Lars Vogel --- .../src/org/eclipse/jgit/http/server/glue/MetaFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e586888bb..f53c8aecb 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