Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
0002005: Transform Edit Columns screen. Fix up and down arrows to be …
…more predictable.
  • Loading branch information
chenson42 committed Oct 8, 2014
1 parent 5b3b8b9 commit ab39474
Showing 1 changed file with 1 addition and 14 deletions.
Expand Up @@ -210,20 +210,7 @@ public TransformColumn clone() {
}

public int compareTo(TransformColumn o) {
//return new Integer(transformOrder).compareTo(new Integer(o.transformOrder));
TransformColumn tc = o;
if (tc != null &&
StringUtils.equals(sourceColumnName, tc.sourceColumnName) &&
StringUtils.equals(targetColumnName, tc.targetColumnName) &&
pk == tc.pk &&
transformType.equals(tc.transformType) &&
StringUtils.equals(transformExpression, tc.transformExpression) &&
includeOn == tc.includeOn &&
StringUtils.equals(lastUpdateBy, tc.lastUpdateBy) && transformOrder == tc.transformOrder) {
return 0;
} else {
return -1;
}
return new Integer(transformOrder).compareTo(new Integer(o.transformOrder));
}

}

0 comments on commit ab39474

Please sign in to comment.