Skip to content

Commit

Permalink
HSEARCH-3649 Fix missing diamond operators
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Sep 3, 2019
1 parent 72d7926 commit 2fb0f0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -76,12 +76,12 @@ public <T> FieldProjectionBuilder<T> field(String absoluteFieldPath, Class<T> ex

@Override
public <E> EntityProjectionBuilder<E> entity() {
return new LuceneEntityProjectionBuilder( scopeModel.getIndexNames() );
return new LuceneEntityProjectionBuilder<>( scopeModel.getIndexNames() );
}

@Override
public <R> EntityReferenceProjectionBuilder<R> entityReference() {
return new LuceneEntityReferenceProjectionBuilder( scopeModel.getIndexNames() );
return new LuceneEntityReferenceProjectionBuilder<>( scopeModel.getIndexNames() );
}

@Override
Expand Down
Expand Up @@ -89,7 +89,7 @@ public Optional<FieldProjectionExpectations<BigDecimal>> getFieldProjectionExpec

@Override
public Optional<IndexNullAsMatchPredicateExpectactions<BigDecimal>> getIndexNullAsMatchPredicateExpectations() {
return Optional.of( new IndexNullAsMatchPredicateExpectactions(
return Optional.of( new IndexNullAsMatchPredicateExpectactions<>(
BigDecimal.ZERO, BigDecimal.valueOf( 42.1 )
) );
}
Expand Down
Expand Up @@ -79,7 +79,7 @@ public Optional<FieldProjectionExpectations<Double>> getFieldProjectionExpectati

@Override
public Optional<IndexNullAsMatchPredicateExpectactions<Double>> getIndexNullAsMatchPredicateExpectations() {
return Optional.of( new IndexNullAsMatchPredicateExpectactions(
return Optional.of( new IndexNullAsMatchPredicateExpectactions<>(
0.0, 42.1
) );
}
Expand Down

0 comments on commit 2fb0f0d

Please sign in to comment.