neilcsmith-net commented on code in PR #9677:
URL: https://github.com/apache/netbeans/pull/9677#discussion_r4204358976


##########
platform/core.startup/src/org/netbeans/core/startup/Splash.java:
##########
@@ -546,21 +551,17 @@ public SplashPainter(Progress model, Graphics graphics, 
JComponent comp, boolean
             }
         }
 
-        long next;
         final void repaint(Rectangle r) {
             if (comp != null) {
                 comp.repaint(r);
             } else {
-                if (next < System.currentTimeMillis()) {
-                    paint();
-                    try {
-                        SplashScreen ss = SplashScreen.getSplashScreen();
-                        if (ss != null) {
-                            ss.update();
-                        }
-                    } catch (IllegalStateException splashAlreadyClosed) {}
-                    next = System.currentTimeMillis() + 200;
-                }
+                paint();

Review Comment:
   IIRC we don't reach this code in practice any more - `comp` is never `null`?



-- 
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