Skip to content

Commit

Permalink
Suppress warnings in generated java source files (#365) (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpost committed Jul 6, 2024
1 parent a3d30c7 commit 56ff48f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public void onParam(String parameter) {
}

private void writeClass() {
javaCode.append("@SuppressWarnings(\"unchecked\")\n");
javaCode.append("public final class ").append(classInfo.className).append(" {\n");
fieldsMarker = javaCode.getMarkerOfCurrentPosition();
javaCode.append("\tpublic static void render(");
Expand Down

0 comments on commit 56ff48f

Please sign in to comment.