ebarboni commented on code in PR #9828:
URL: https://github.com/apache/netbeans/pull/9828#discussion_r4720123328


##########
ide/schema2beans/src/org/netbeans/modules/schema2beansdev/S2bConfig.java:
##########
@@ -3627,7 +3627,7 @@ public String nameChild(Object childObj, boolean 
returnConstName, boolean return
                }
                if (childObj instanceof java.lang.Boolean) {
                        java.lang.Boolean child = (java.lang.Boolean) childObj;
-                       if (((java.lang.Boolean)child).booleanValue() == 
_TraceParse) {
+                       if ((child).booleanValue() == _TraceParse) {

Review Comment:
   it desappears from the commit,
   if (childObj instanceof java.lang.Boolean) { 
   java.lang.Boolean child = (java.lang.Boolean) childObj;
   
    could become  if (childObj instanceof java.lang.Boolean child) {
   
   and the 
   if (((java.lang.Boolean)child).booleanValue() == _TraceParse) { typical line 
could be 
   if (child.booleanValue() == _TraceParse) {
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to