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


##########
nb/o.n.upgrader/src/org/netbeans/upgrade/AutoUpgrade.java:
##########
@@ -65,10 +63,6 @@ public static void main (String[] args) throws Exception {
         
         // try new place
         File sourceFolder = checkPreviousOnOsSpecificPlace 
(NEWER_VERSION_TO_CHECK);
-        if (sourceFolder == null) {
-            // try former place
-            sourceFolder = checkPrevious (VERSION_TO_CHECK);

Review Comment:
   True!  Done heavier cleanup, and resolved a couple of other issues that were 
hinted - try-with-resources (missing close on exception) and new Integer.



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