rename of Transformations to TransformationPaths
authorErik Brakkee <erik@brakkee.org>
Sat, 30 Jul 2011 18:22:42 +0000 (20:22 +0200)
committerErik Brakkee <erik@brakkee.org>
Sat, 30 Jul 2011 18:22:42 +0000 (20:22 +0200)
impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java [moved from impl/src/main/java/org/wamblee/xmlrouter/impl/Transformations.java with 98% similarity]
impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java
impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationPathsTest.java [moved from impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationsTest.java with 96% similarity]

similarity index 98%
rename from impl/src/main/java/org/wamblee/xmlrouter/impl/Transformations.java
rename to impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java
index 29e995916e78515fad607eb797ccc7923fd514f1..7a86c87d8f41e135bb9f659da4d1155222e2676b 100644 (file)
@@ -33,7 +33,7 @@ import org.wamblee.xmlrouter.config.Transformation;
  * @author Erik Brakkee
  * 
  */
-public class Transformations {
+public class TransformationPaths {
 
     private Map<Id<Transformation>, Transformation> transformations;
     private List<String> vertices;
@@ -44,7 +44,7 @@ public class Transformations {
     /**
      * Construct the transformations.
      */
-    public Transformations() {
+    public TransformationPaths() {
         transformations = new LinkedHashMap<Id<Transformation>, Transformation>();
         vertices = new ArrayList<String>();
         matrix = new TransformationPath[0][0];
index 8fa78f4a18af15854b1c835dc4378daa44cee59d..ca0637b43353708b0c0b9410e5eda9577ef861d5 100644 (file)
@@ -59,7 +59,7 @@ public class XMLRouter implements RouterConfig, Gateway, DestinationRegistry {
     private AtomicLong nextEventId;
 
     private ExtendedRouterConfig routerConfig;
-    private Transformations transformations;
+    private TransformationPaths transformations;
 
     private Map<Id<Destination>, Destination> destinations;
 
@@ -69,7 +69,7 @@ public class XMLRouter implements RouterConfig, Gateway, DestinationRegistry {
         clock = aClock;
         nextEventId = new AtomicLong(clock.currentTimeMillis());
         routerConfig = new SingleRouterConfig(sequenceNumbers);
-        transformations = new Transformations();
+        transformations = new TransformationPaths();
         destinations = new LinkedHashMap<Id<Destination>, Destination>();
     }
 
similarity index 96%
rename from impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationsTest.java
rename to impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationPathsTest.java
index 775e5000b8dc7c01121881f18e5d6731d17e3122..a45853272272806d0441b8958c12796b1868919f 100644 (file)
@@ -28,7 +28,7 @@ import org.junit.Test;
 import org.wamblee.xmlrouter.common.Id;
 import org.wamblee.xmlrouter.config.Transformation;
 
-public class TransformationsTest {
+public class TransformationPathsTest {
 
     public static class MyTransformation implements Transformation {
 
@@ -66,11 +66,11 @@ public class TransformationsTest {
         }
     }
 
-    private Transformations transformations;
+    private TransformationPaths transformations;
 
     @Before
     public void setUp() {
-        transformations = new Transformations();
+        transformations = new TransformationPaths();
     }
 
     private Map<Id<Transformation>, Transformation> createTransformations(