Skip to content
Permalink
Browse files

0001738: Introduce a new columntransform type that returns both new a…

…nd old data. use it for the copy transform
  • Loading branch information...
chenson42 committed Jun 4, 2014
1 parent 780fbd5 commit 6cad0eaa4219aaed1737379528d39bc9ede5ff99
@@ -325,7 +325,15 @@ public CsvData buildTargetCsvData() {

public String[] getOldColumnValues() {
List<String> list = retrieve(targetOldValuesByIncludeOnType, false);
return list.toArray(new String[list.size()]);
boolean use = false;
for (String string : list) {
use |= string != null;
}
if (use) {
return list.toArray(new String[list.size()]);
} else {
return null;
}
}

}

0 comments on commit 6cad0ea

Please sign in to comment.
You can’t perform that action at this time.