summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit.http
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2017-04-22 14:32:41 -0700
committerShawn Pearce <spearce@spearce.org>2017-04-22 14:32:41 -0700
commit76e86f4e48c98e742be99adff3b8b43cff94263c (patch)
treec0af9f9c83cbb9d833445725ef9f8561dee7f8e2 /org.eclipse.jgit.junit.http
parent5e250e45befd07e1d9893c6dde4c43059c5d8fd9 (diff)
downloadjgit-76e86f4e48c98e742be99adff3b8b43cff94263c.tar.gz
jgit-76e86f4e48c98e742be99adff3b8b43cff94263c.zip
Fix unnecessary type paramaters
Can be inferred by the compiler. Change-Id: If880ddfb7d7af2be70729d0c9f73c7c821b9c652
Diffstat (limited to 'org.eclipse.jgit.junit.http')
-rw-r--r--org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java
index 6b7853d730..0154a7fc70 100644
--- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java
+++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java
@@ -102,7 +102,7 @@ public class AccessEvent {
@SuppressWarnings("unchecked")
private static Map<String, String[]> clone(Map parameterMap) {
- return new TreeMap<String, String[]>(parameterMap);
+ return new TreeMap<>(parameterMap);
}
/** @return {@code "GET"} or {@code "POST"} */