[jbosstools-commits] JBoss Tools SVN: r43933 - trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Sep 21 12:01:27 EDT 2012
Author: scabanovich
Date: 2012-09-21 12:01:26 -0400 (Fri, 21 Sep 2012)
New Revision: 43933
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/UniquePaths.java
Log:
JBIDE-12479
https://issues.jboss.org/browse/JBIDE-12479
Cache unique Path objects.
Modified: trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/UniquePaths.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/UniquePaths.java 2012-09-21 15:46:15 UTC (rev 43932)
+++ trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/util/UniquePaths.java 2012-09-21 16:01:26 UTC (rev 43933)
@@ -39,7 +39,6 @@
if(result == null) {
paths.put(path, path);
result = path;
- if(paths.size() % 100 == 0) System.out.println("--->" + paths.size());
}
return result;
}
More information about the jbosstools-commits
mailing list