Skip to content

Commit

Permalink
Remove explicit types
Browse files Browse the repository at this point in the history
  • Loading branch information
dreis2211 authored and snicoll committed Mar 20, 2019
1 parent dd70c96 commit dda0b3e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ static class RequestContextFilterRegistrationConfiguration {

@Bean
public FilterRegistrationBean<RequestContextFilter> customRequestContextFilterRegistration() {
return new FilterRegistrationBean<RequestContextFilter>(
new RequestContextFilter());
return new FilterRegistrationBean<>(new RequestContextFilter());
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1276,8 +1276,7 @@ static class RequestContextFilterRegistrationConfiguration {

@Bean
public FilterRegistrationBean<RequestContextFilter> customRequestContextFilterRegistration() {
return new FilterRegistrationBean<RequestContextFilter>(
new RequestContextFilter());
return new FilterRegistrationBean<>(new RequestContextFilter());
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
public class DataNeo4jTestIntegrationTests {

@ClassRule
public static SkippableContainer<Neo4jContainer<?>> neo4j = new SkippableContainer<Neo4jContainer<?>>(
public static SkippableContainer<Neo4jContainer<?>> neo4j = new SkippableContainer<>(
() -> new Neo4jContainer<>().withAdminPassword(null));

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
public class DataNeo4jTestPropertiesIntegrationTests {

@ClassRule
public static SkippableContainer<Neo4jContainer<?>> neo4j = new SkippableContainer<Neo4jContainer<?>>(
public static SkippableContainer<Neo4jContainer<?>> neo4j = new SkippableContainer<>(
() -> new Neo4jContainer<>().withAdminPassword(null));

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
public class DataNeo4jTestWithIncludeFilterIntegrationTests {

@ClassRule
public static SkippableContainer<Neo4jContainer<?>> neo4j = new SkippableContainer<Neo4jContainer<?>>(
public static SkippableContainer<Neo4jContainer<?>> neo4j = new SkippableContainer<>(
() -> new Neo4jContainer<>().withAdminPassword(null));

@Autowired
Expand Down

0 comments on commit dda0b3e

Please sign in to comment.