Skip to content

Commit e770ab3

Browse files
committed
Remove unnecessary type declaration
1 parent 64260ec commit e770ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/de/codecentric/java8examples/lambdas/LambdaExampleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class LambdaExampleTest {
2222
public void setUp() throws Exception {
2323
// Nerd info: 5/15/1962 was the release date of Amazing Fantasy #15, where Spider Man had his first appearance
2424
peter = new Person("Peter", "Parker", dateOf(8, 15, 1962), Person.Gender.MALE);
25-
example = new LambdaExample<Person>(peter);
25+
example = new LambdaExample<>(peter);
2626
}
2727

2828
@Test

0 commit comments

Comments
 (0)