Skip to content

Commit

Permalink
TEIIDDES-2154 corrected translator name check to use getType()
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Jul 15, 2014
1 parent 616d645 commit 969281a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ public final TranslatorOverride getTranslatorOverride() {
for( TranslatorOverride to : overrides) {
for( VdbSource source : this.sourceInfo.getSources() ) {
String translatorName = source.getTranslatorName();
if( translatorName != null && translatorName.toString().equalsIgnoreCase(to.getName()) ) {
if( translatorName != null && translatorName.toString().equalsIgnoreCase(to.getType()) ) {
return to;
}
}
Expand All @@ -494,7 +494,6 @@ public final TranslatorOverride getTranslatorOverride() {
return null;
}


/*
* Only called by synchronize method or vdb creation. Intent is to update the TO for a given model based on
* injected translator properties.
Expand Down

0 comments on commit 969281a

Please sign in to comment.