Skip to content

Commit e9d5e7f

Browse files
committed
Fixed invalid diamond operator.
1 parent f04fd6c commit e9d5e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

money-api/format/src/main/java/javax/money/format/ItemFormatBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public LocalizationStyle getStyle() {
196196
*/
197197
public ItemFormat<T> build() {
198198
if(this.itemFactory==null){
199-
return new TokenizedItemFormat<T>(targetType, style, new DefaultItemFactory<>(targetType), tokens);
199+
return new TokenizedItemFormat<T>(targetType, style, new DefaultItemFactory<T>(targetType), tokens);
200200
}
201201
return new TokenizedItemFormat<T>(targetType, style, itemFactory, tokens);
202202
}

0 commit comments

Comments
 (0)