Skip to content

Commit

Permalink
TEIIDDES-1037 removed direct assignment of integer type to int when
Browse files Browse the repository at this point in the history
parsing datatype line in flat file
  • Loading branch information
blafond committed Dec 1, 2014
1 parent b8dd867 commit 748c773
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -547,15 +547,11 @@ private void defineColumns() {
if( this.includeTypeLine ) {
String dataTypeString = getDataTypeString();
if( dataTypeString != null ) {
int nextCol = 0;
StringTokenizer tokenizer = new StringTokenizer(dataTypeString, delim);
while( tokenizer.hasMoreTokens() ) {
String nextTok = tokenizer.nextToken().trim();

if( nextTok != null && nextTok.length() > 0 ) {
if( nextTok.equalsIgnoreCase("integer" )) {
nextTok = "int";
}
datatypes.add(nextTok);
}
}
Expand Down

0 comments on commit 748c773

Please sign in to comment.