From: <ni...@us...> - 2007-03-31 14:47:26
|
Revision: 7288 http://svn.sourceforge.net/jmol/?rev=7288&view=rev Author: nicove Date: 2007-03-31 07:47:25 -0700 (Sat, 31 Mar 2007) Log Message: ----------- FindBugs Modified Paths: -------------- trunk/Jmol/src/org/jmol/popup/JmolPopup.java Modified: trunk/Jmol/src/org/jmol/popup/JmolPopup.java =================================================================== --- trunk/Jmol/src/org/jmol/popup/JmolPopup.java 2007-03-31 14:44:28 UTC (rev 7287) +++ trunk/Jmol/src/org/jmol/popup/JmolPopup.java 2007-03-31 14:47:25 UTC (rev 7288) @@ -482,7 +482,7 @@ addMenuSeparator(menu); addMenuItem(menu, GT._("Java memory usage", true)); Runtime runtime = Runtime.getRuntime(); - runtime.gc(); + //runtime.gc(); long mbTotal = convertToMegabytes(runtime.totalMemory()); long mbFree = convertToMegabytes(runtime.freeMemory()); long mbMax = convertToMegabytes(maxMemoryForNewerJvm()); @@ -509,8 +509,6 @@ return num / (1024*1024); } - Hashtable colorMenus = new Hashtable(); - private void addMenuItems(String parentId, String key, Object menu, PopupResourceBundle popupResourceBundle) { String id = parentId + "." + key; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |