felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1598001 - /felix/sandbox/pderop/dependencymanager-prototype/dm.it/src/dm/it/AspectRaceTest.java
Date Wed, 28 May 2014 13:00:33 GMT
Author: pderop
Date: Wed May 28 13:00:32 2014
New Revision: 1598001

URL: http://svn.apache.org/r1598001
Log:
Commented some debug messages.

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm.it/src/dm/it/AspectRaceTest.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm.it/src/dm/it/AspectRaceTest.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm.it/src/dm/it/AspectRaceTest.java?rev=1598001&r1=1598000&r2=1598001&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm.it/src/dm/it/AspectRaceTest.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm.it/src/dm/it/AspectRaceTest.java Wed
May 28 13:00:32 2014
@@ -53,7 +53,7 @@ public class AspectRaceTest extends Test
 			m_dm.add(c);
 
 			for (int loop = 1; loop <= ITERATIONS; loop++) {
-				System.out.println("\niteration: " + loop);
+				//System.out.println("\niteration: " + loop);
 				// Perform concurrent injections of "S" service and S aspects
 				// into the Controller component;
 				debug("Iteration: " + loop);
@@ -131,7 +131,7 @@ public class AspectRaceTest extends Test
 		}
 
 		public synchronized void added(S s) {
-			 System.out.println(Thread.currentThread().getId() + " ARTA aspect added " + m_rank +
": " + s );
+			//System.out.println(Thread.currentThread().getId() + " ARTA aspect added " + m_rank +
": " + s );
 			if (m_next != null) {
 				fail("Adding while expected swap... " + m_rank);
 			}
@@ -139,12 +139,12 @@ public class AspectRaceTest extends Test
 		}
 
 		public synchronized void swap(S oldS, S newS) {
-			 System.out.println(Thread.currentThread().getId() + " ARTA aspect swap " + m_rank + ":
" + oldS + " with " + newS);
+			//System.out.println(Thread.currentThread().getId() + " ARTA aspect swap " + m_rank +
": " + oldS + " with " + newS);
 			m_next = newS;
 		}
 		
 		public synchronized void removed(S s) {
-			System.out.println(Thread.currentThread().getId() + " ARTA aspect removed " + m_rank +
": " + s );
+			//System.out.println(Thread.currentThread().getId() + " ARTA aspect removed " + m_rank
+ ": " + s );
 			m_next = null;
 		}
 



Mime
View raw message