Skip to content

Commit 46c8a74

Browse files
Fix <> with anonymous inner classes not supported in Java 8
1 parent aa449dc commit 46c8a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/jdk-http/src/main/java/org/glassfish/jersey/jdkhttp/JdkHttpHandlerContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
public class JdkHttpHandlerContainer implements HttpHandler, Container {
6868

6969
private static final Logger LOGGER = Logger.getLogger(JdkHttpHandlerContainer.class.getName());
70-
private static final GenericType<Ref<HttpExchange>> httpExchangeType = new GenericType<>() {};
70+
private static final GenericType<Ref<HttpExchange>> httpExchangeType = new GenericType<Ref<HttpExchange>> () {};
7171

7272
private volatile ApplicationHandler appHandler;
7373

0 commit comments

Comments
 (0)