From 76e86f4e48c98e742be99adff3b8b43cff94263c Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Sat, 22 Apr 2017 14:32:41 -0700 Subject: [PATCH] Fix unnecessary type paramaters Can be inferred by the compiler. Change-Id: If880ddfb7d7af2be70729d0c9f73c7c821b9c652 --- .../src/org/eclipse/jgit/junit/http/AccessEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6b7853d73..0154a7fc7 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 clone(Map parameterMap) { - return new TreeMap(parameterMap); + return new TreeMap<>(parameterMap); } /** @return {@code "GET"} or {@code "POST"} */