Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Fix TypeScriptWriter super constructor call
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <bluhmdj@ornl.gov>
  • Loading branch information
dbluhm committed Oct 23, 2020
1 parent d03059e commit 4ddedec
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -84,7 +84,7 @@ public class TypeScriptWriter
public TypeScriptWriter(
String name, @NonNull Fields fields, @NonNull Types types
) {
super();
super(TYPESCRIPT_TEMPLATE);
for (Field field : fields) {
if (!primitiveMap.containsKey(field.getType())) {
throw new UnsupportedOperationException(String.format(
Expand All @@ -93,7 +93,6 @@ public TypeScriptWriter(
));
}
}
this.template = TYPESCRIPT_TEMPLATE;
this.filename = name;
this.context.put(NAME, name);
this.context.put(FIELDS, fields);
Expand Down

0 comments on commit 4ddedec

Please sign in to comment.