Skip to content

Commit 6d58aad

Browse files
committed
add an additional warning to be suppressed
1 parent 3b90bb3 commit 6d58aad

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

java/build.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,15 @@
4444
</antlr>
4545

4646
<!-- clean up the warning mess caused by this old antlr version -->
47-
<property name="uuc" value="@SuppressWarnings({ &quot;unused&quot;, &quot;unchecked&quot;, &quot;cast&quot; })${line.separator}" />
47+
<!--<property name="uuc" value="@SuppressWarnings({ &quot;unused&quot;, &quot;unchecked&quot;, &quot;cast&quot; })${line.separator}" />-->
48+
<property name="uucr" value="@SuppressWarnings({ &quot;unused&quot;, &quot;unchecked&quot;, &quot;cast&quot;, &quot;rawtypes&quot; })${line.separator}" />
4849
<property name="uc" value="@SuppressWarnings({ &quot;unused&quot;, &quot;cast&quot; })${line.separator}" />
4950

5051
<!-- need to match against the previous line so that we don't re-add -->
5152
<replaceregexp
5253
file="generated/processing/mode/java/preproc/JavaLexer.java"
5354
match="(\n\n)(public class JavaLexer .*)"
54-
replace="\1${uuc}\2">
55+
replace="\1${uucr}\2">
5556
</replaceregexp>
5657

5758
<replaceregexp
@@ -63,7 +64,7 @@
6364
<replaceregexp
6465
file="generated/processing/mode/java/preproc/PdeLexer.java"
6566
match="(\n\n)(public class PdeLexer .*)"
66-
replace="\1${uuc}\2">
67+
replace="\1${uucr}\2">
6768
</replaceregexp>
6869

6970
<replaceregexp

0 commit comments

Comments
 (0)