You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2014/05/28 15:00:33 UTC
svn commit: r1598001 -
/felix/sandbox/pderop/dependencymanager-prototype/dm.it/src/dm/it/AspectRaceTest.java
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;
}