You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/05/01 12:45:58 UTC

[commons-bcel] 29/49: Use valueOf factory method.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 0665f8e5fe26fa199de944a47553bdf576be6003
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 1 08:27:58 2022 -0400

    Use valueOf factory method.
---
 src/examples/Mini/JJTMiniParserState.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/examples/Mini/JJTMiniParserState.java b/src/examples/Mini/JJTMiniParserState.java
index ed38cff0..67c35800 100644
--- a/src/examples/Mini/JJTMiniParserState.java
+++ b/src/examples/Mini/JJTMiniParserState.java
@@ -92,7 +92,7 @@ class JJTMiniParserState {
 
 
   void openNodeScope(final Node n) {
-    marks.push(new Integer(mk));
+    marks.push(Integer.valueOf(mk));
     mk = sp;
     n.jjtOpen();
   }