mbien commented on code in PR #8391:
URL: https://github.com/apache/netbeans/pull/8391#discussion_r2033114268


##########
platform/openide.awt/src/org/openide/awt/SplittedPanel.java:
##########
@@ -94,13 +94,13 @@ public class SplittedPanel extends JComponent implements 
Accessible {
     public static final int HORIZONTAL = 2;
 
     /** constraints constant for adding a splitter */
-    public static final Object ADD_SPLITTER = new Integer(0);
+    public static final Object ADD_SPLITTER = new Object();
 
     /** constraints constant for adding a component to the first (left/top) 
pane */
-    public static final Object ADD_FIRST = new Integer(1);
+    public static final Object ADD_FIRST = new Object();
 
     /** constraints constant for adding a component to the second 
(right/bottom) pane */
-    public static final Object ADD_SECOND = new Integer(2);
+    public static final Object ADD_SECOND = new Object();

Review Comment:
   updated it



-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to