Skip to content

Commit

Permalink
Fix "diamond type not supported" compiler error on Java 6
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Feb 10, 2022
1 parent a0fe339 commit 98f2647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/picocli/GenericTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GenericConverter implements ITypeConverter<GenericValue> {

@Override
public GenericValue convert(String value) throws Exception {
return new GenericValue<>("abc");
return new GenericValue("abc");
}
}
NoConverterApp app = new NoConverterApp();
Expand Down

0 comments on commit 98f2647

Please sign in to comment.