Skip to content

Commit 64d6181

Browse files
generics fix for NetBeans 8.2
1 parent 431acd0 commit 64d6181

File tree

1 file changed

+1
-1
lines changed
  • typescript-generator-core/src/main/java/cz/habarta/typescript/generator

1 file changed

+1
-1
lines changed

typescript-generator-core/src/main/java/cz/habarta/typescript/generator/TsType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public static class UnionType extends TsType {
150150
public final List<TsType> types;
151151

152152
public UnionType(List<? extends TsType> types) {
153-
this.types = new ArrayList<>(types);
153+
this.types = new ArrayList<TsType>(types);
154154
}
155155

156156
@Override

0 commit comments

Comments
 (0)