java: avoid Integer(String), use parseInt
commitf7a7310433b894aaf1ef2f88654b1d5323bb872a
authorAkim Demaille <akim.demaille@gmail.com>
Tue, 3 Nov 2020 07:34:00 +0000 (3 08:34 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Tue, 3 Nov 2020 07:46:54 +0000 (3 08:46 +0100)
tree5c426b3551a4d54d52c69cacf8341e2a4ba186c6
parentd15691045342fb67796a1368698ad8ee4c5799b9
java: avoid Integer(String), use parseInt

    examples/java/calc/Calc.java:1531: warning: [deprecation] Integer(String) in Integer has been deprecated
          yylval = new Integer(st.sval);
                   ^

* examples/java/calc/Calc.y, examples/java/simple/Calc.y,
* tests/calc.at, tests/scanner.at: Use Integer.parseInt.
examples/java/calc/Calc.y
examples/java/simple/Calc.y
tests/calc.at
tests/scanner.at