Replace unnecessary type parameters with <>
[Sone.git] / src / test / java / net / pterodactylus / sone / notify / ListNotificationTest.java
index a31621f..5e40f81 100644 (file)
@@ -34,7 +34,7 @@ public class ListNotificationTest {
 
        public ListNotificationTest() {
                when(template.getInitialContext()).thenReturn(templateInitialContext);
 
        public ListNotificationTest() {
                when(template.getInitialContext()).thenReturn(templateInitialContext);
-               listNotification = new ListNotification<Object>(ID, KEY, template);
+               listNotification = new ListNotification<>(ID, KEY, template);
        }
 
        @Test
        }
 
        @Test