matthiasblaesing commented on a change in pull request #2317:
URL: https://github.com/apache/netbeans/pull/2317#discussion_r481986195



##########
File path: 
platform/autoupdate.services/src/org/netbeans/modules/autoupdate/services/OperationContainerImpl.java
##########
@@ -530,4 +532,33 @@ public OperationType getType () {
     }
     private OperationType type;
     private OperationContainer delegate;
+
+    /**
+     * @return the unpack200 executable or {@code null}
+     */
+    public final File getUnpack200() {
+        NO_PACK: if (unpack200 == null) {
+            final String jreHome = System.getProperty("java.home"); // NOI18N
+            if (jreHome == null) {
+                break NO_PACK;
+            }

Review comment:
       Ok I did not see the special runtimes - what remains is the break 
without a loop. I never saw that combination before, but I admit it is correct.




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

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