summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxwu2012-11-28 04:01:19 (EST)
committer lzhu2012-11-28 04:01:19 (EST)
commitd94380419d475685ac746910c38efbc8ac5064fc (patch)
tree0d97b6f47a23e5b8986c3640db46eab383f46db3
parent1516ca7a5145bdab1f304d8c56605c61574ffa82 (diff)
downloadorg.eclipse.datatools.enablement.oda-d94380419d475685ac746910c38efbc8ac5064fc.zip
org.eclipse.datatools.enablement.oda-d94380419d475685ac746910c38efbc8ac5064fc.tar.gz
org.eclipse.datatools.enablement.oda-d94380419d475685ac746910c38efbc8ac5064fc.tar.bz2
CheckIn: Fix an issue Flat file column with duplicate column name willv201211281701
be added incorrectly in some cases[46624].
-rw-r--r--plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java
index cf2fb95..44b6c44 100644
--- a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java
+++ b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java
@@ -803,7 +803,7 @@ public class FileSelectionWizardPage extends DataSetWizardPage
for ( int j = 0; j < existedColumns.size( ); j++ )
{
- if ( ( columnName + "_" + count ).equals( ( (String[]) savedSelectedColumnsInfoList.get( j ) )[0] ) ) //$NON-NLS-1$
+ if ( ( columnName + "_" + count ).equals( ( (String[]) existedColumns.get( j ) )[0] ) ) //$NON-NLS-1$
{
count++;
j = -1;