[jboss-svn-commits] JBoss Portal SVN: r5480 - trunk/portlet/src/main/org/jboss/portal/portlet/management
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Oct 18 14:11:15 EDT 2006
Author: julien at jboss.com
Date: 2006-10-18 14:11:13 -0400 (Wed, 18 Oct 2006)
New Revision: 5480
Modified:
trunk/portlet/src/main/org/jboss/portal/portlet/management/PortletContainerManagementInterceptorImpl.java
Log:
put other thread safery remarks
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/management/PortletContainerManagementInterceptorImpl.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/management/PortletContainerManagementInterceptorImpl.java 2006-10-18 18:09:35 UTC (rev 5479)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/management/PortletContainerManagementInterceptorImpl.java 2006-10-18 18:11:13 UTC (rev 5480)
@@ -173,6 +173,7 @@
private Float getAverage(LoopCollection loop)
{
+ // todo : implement copy on read here for thread safety
if (loop.getSize() == 0)
{
return null;
@@ -188,6 +189,7 @@
public Long getMax(LoopCollection loop)
{
+ // todo : implement copy on read here for thread safety
long max = -1;
for (int i = 0; i < loop.getSize(); i++)
{
@@ -202,6 +204,7 @@
public Long getMin(LoopCollection loop)
{
+ // todo : implement copy on read here for thread safety
long min = Long.MAX_VALUE;
for (int i = 0; i < loop.getSize(); i++)
{
More information about the jboss-svn-commits
mailing list