Skip to content

Commit

Permalink
Merge pull request #257 from mdrillin/TEIIDDES-1921
Browse files Browse the repository at this point in the history
TEIIDDES-1921 Fixes translator type validation for overrides
  • Loading branch information
blafond committed Nov 10, 2013
2 parents 4c84d71 + bb20218 commit 9471dd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static String validateType( String proposedType ) {

// make sure only letters, digits, or dash
for (char c : proposedType.toCharArray()) {
if (!Character.isLetter(c)) {
if (!Character.isLetterOrDigit(c) && c != '-') {
return UTIL.getString(PREFIX + "invalidTranslatorType", proposedType); //$NON-NLS-1$
}
}
Expand Down

0 comments on commit 9471dd2

Please sign in to comment.