Skip to content

Commit

Permalink
TEIIDDES-2847 changed other delimiter text listener to accept full
Browse files Browse the repository at this point in the history
trimmed string, rather than first char
  • Loading branch information
blafond committed May 31, 2016
1 parent 9385cfd commit 77efc3a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -178,7 +178,7 @@ private void setDelimiterValue() {
setErrorMessage(null);
if( this.otherDelimiterRB.getSelection() ) {
if( !this.otherDelimiterText.getText().isEmpty()) {
this.fileInfo.setDelimiter(this.otherDelimiterText.getText().substring(0, 1));
this.fileInfo.setDelimiter(this.otherDelimiterText.getText().trim());
} else {
setErrorMessage(getString("delimiterCannotBeNull")); //$NON-NLS-1$
return;
Expand All @@ -197,7 +197,7 @@ private void setDelimiterValue() {
fileInfo.setDelimiter(ITeiidMetadataFileInfo.BAR);
} else {
if( !this.otherDelimiterText.getText().isEmpty()) {
this.fileInfo.setDelimiter(this.otherDelimiterText.getText().substring(0, 1));
this.fileInfo.setDelimiter(this.otherDelimiterText.getText().trim());
}
}
}
Expand Down

1 comment on commit 77efc3a

@sqtran
Copy link
Contributor

@sqtran sqtran commented on 77efc3a Jun 15, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.