Permalink
Browse files

Minor cleanup

  • Loading branch information...
1 parent 43811d7 commit 10883e7d8a0ad07aaa3ab22403b60b2f8cf6579d @thomas-kielbus thomas-kielbus committed Jun 11, 2014
@@ -33,6 +33,10 @@ public BaseVariableDependency(Variable<VALUE> variable, DependencyType type) {
this.type = type;
}
+ public static <VALUE> BaseVariableDependency<VALUE> build(Variable<VALUE> variable, DependencyType type) {
+ return new BaseVariableDependency<VALUE>(variable, type);
+ }
+
@Override
public Variable<VALUE> variable() {
return variable;
@@ -55,10 +59,6 @@ public Lock lock() {
}
}
- public static <VALUE> BaseVariableDependency<VALUE> build(Variable<VALUE> variable, DependencyType type) {
- return new BaseVariableDependency<VALUE>(variable, type);
- }
-
@Override
public int compareTo(VariableDependency<VALUE> o) {
return new CompareToBuilder().append(variable, o.variable()).toComparison();

0 comments on commit 10883e7

Please sign in to comment.