Browse Source

Fix unnecessary type paramaters

Can be inferred by the compiler.

Change-Id: If880ddfb7d7af2be70729d0c9f73c7c821b9c652
stable-4.8
Shawn Pearce 8 years ago
parent
commit
76e86f4e48
  1. 2
      org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java

2
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AccessEvent.java

@ -102,7 +102,7 @@ public class AccessEvent {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
private static Map<String, String[]> clone(Map parameterMap) { private static Map<String, String[]> clone(Map parameterMap) {
return new TreeMap<String, String[]>(parameterMap); return new TreeMap<>(parameterMap);
} }
/** @return {@code "GET"} or {@code "POST"} */ /** @return {@code "GET"} or {@code "POST"} */

Loading…
Cancel
Save