From b3f837bff31337a9a7cb6abeb22c5a981be39b51 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sat, 30 Jul 2011 20:22:42 +0200 Subject: [PATCH] rename of Transformations to TransformationPaths --- .../impl/{Transformations.java => TransformationPaths.java} | 4 ++-- .../src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java | 4 ++-- ...ransformationsTest.java => TransformationPathsTest.java} | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) rename impl/src/main/java/org/wamblee/xmlrouter/impl/{Transformations.java => TransformationPaths.java} (98%) rename impl/src/test/java/org/wamblee/xmlrouter/impl/{TransformationsTest.java => TransformationPathsTest.java} (96%) diff --git a/impl/src/main/java/org/wamblee/xmlrouter/impl/Transformations.java b/impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java 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 29e9959..7a86c87 100644 --- a/impl/src/main/java/org/wamblee/xmlrouter/impl/Transformations.java +++ b/impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java @@ -33,7 +33,7 @@ import org.wamblee.xmlrouter.config.Transformation; * @author Erik Brakkee * */ -public class Transformations { +public class TransformationPaths { private Map, Transformation> transformations; private List vertices; @@ -44,7 +44,7 @@ public class Transformations { /** * Construct the transformations. */ - public Transformations() { + public TransformationPaths() { transformations = new LinkedHashMap, Transformation>(); vertices = new ArrayList(); matrix = new TransformationPath[0][0]; diff --git a/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java b/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java index 8fa78f4..ca0637b 100644 --- a/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java +++ b/impl/src/main/java/org/wamblee/xmlrouter/impl/XMLRouter.java @@ -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, 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, Destination>(); } diff --git a/impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationsTest.java b/impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationPathsTest.java 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 775e500..a458532 100644 --- a/impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationsTest.java +++ b/impl/src/test/java/org/wamblee/xmlrouter/impl/TransformationPathsTest.java @@ -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, Transformation> createTransformations( -- 2.31.1