Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d9cc154

Browse files
committed
Suppress warnings in generated Java source compilation units.
1 parent 579a601 commit d9cc154

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,7 @@ else if (tokens.get(index).signal() == Signal.END_GROUP)
11691169
private CharSequence generateClassDeclaration(final String className)
11701170
{
11711171
return String.format(
1172+
"@SuppressWarnings(\"all\")\n" +
11721173
"public class %s\n" +
11731174
"{\n",
11741175
className

0 commit comments

Comments
 (0)