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


##########
nbi/engine/src/org/netbeans/installer/utils/system/launchers/impl/CommonLauncher.java:
##########
@@ -95,8 +95,6 @@ protected long addData(FileOutputStream fos, File file, 
Progress progress, long
     
     //add rnd data
     protected void addData(FileOutputStream fos) throws IOException {
-        double rand = Math.random() * Byte.MAX_VALUE;
-        //fos.write(new byte[] {(byte)rand});
         fos.write(new byte[] {'#'});
     }

Review Comment:
   I see that it is unused. I am wondering why. because the comment above the 
says "add rnd data". So we have to find out what the method is actually 
supposed to do before removing anything.



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