git://wamblee.org
/
xmlrouter
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reduced the time during which the configuration is locked. Computation of paths now...
[xmlrouter]
/
impl
/
src
/
main
/
java
/
org
/
wamblee
/
xmlrouter
/
impl
/
TransformationPaths.java
diff --git
a/impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java
b/impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java
index 7a86c87d8f41e135bb9f659da4d1155222e2676b..caca48cfd7150185b97d6fe4d49174cc98c61ce2 100644
(file)
--- a/
impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java
+++ b/
impl/src/main/java/org/wamblee/xmlrouter/impl/TransformationPaths.java
@@
-18,7
+18,6
@@
package org.wamblee.xmlrouter.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
-import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@
-44,15
+43,11
@@
public class TransformationPaths {
/**
* Construct the transformations.
*/
/**
* Construct the transformations.
*/
- public TransformationPaths() {
- transformations = new LinkedHashMap<Id<Transformation>, Transformation>();
- vertices = new ArrayList<String>();
- matrix = new TransformationPath[0][0];
- }
-
- public void replaceTransformations(
+ public TransformationPaths(
Map<Id<Transformation>, Transformation> aTransformations) {
transformations = aTransformations;
Map<Id<Transformation>, Transformation> aTransformations) {
transformations = aTransformations;
+ vertices = new ArrayList<String>();
+ matrix = new TransformationPath[0][0];
computeTransformationSequences();
}
computeTransformationSequences();
}