felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uiter...@apache.org
Subject svn commit: r1303391 - /felix/sandbox/uiterlix/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/AbstractTracked.java
Date Wed, 21 Mar 2012 13:39:47 GMT
Author: uiterlix
Date: Wed Mar 21 13:39:46 2012
New Revision: 1303391

URL: http://svn.apache.org/viewvc?rev=1303391&view=rev
Log:
removed synchronisation changes until further inspection.

Modified:
    felix/sandbox/uiterlix/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/AbstractTracked.java

Modified: felix/sandbox/uiterlix/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/AbstractTracked.java
URL: http://svn.apache.org/viewvc/felix/sandbox/uiterlix/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/AbstractTracked.java?rev=1303391&r1=1303390&r2=1303391&view=diff
==============================================================================
--- felix/sandbox/uiterlix/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/AbstractTracked.java
(original)
+++ felix/sandbox/uiterlix/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/AbstractTracked.java
Wed Mar 21 13:39:46 2012
@@ -371,9 +371,7 @@ abstract class AbstractTracked {
 	 * @GuardedBy this
 	 */
 	int size() {
-		synchronized (this) {
-			return tracked.size();
-		}
+		return tracked.size();
 	}
 
 	/**
@@ -385,9 +383,7 @@ abstract class AbstractTracked {
 	 * @GuardedBy this
 	 */
 	Object getCustomizedObject(final Object item) {
-		synchronized (this) {
-			return tracked.get(item);
-		}
+		return tracked.get(item);
 	}
 
 	/**
@@ -399,9 +395,7 @@ abstract class AbstractTracked {
 	 * @GuardedBy this
 	 */
 	Object[] getTracked(final Object[] list) {
-		synchronized (this) {
-			return tracked.keySet().toArray(list);
-		}
+		return tracked.keySet().toArray(list);
 	}
 
 	/**



Mime
View raw message