Skip to content

Commit

Permalink
TEIIDDES-1962 fixed wrong variable value checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Dec 2, 2013
1 parent 545cc47 commit 66023cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public void validate() {
}
} else {
// Check for null category, class or method name
if( this.javaClass == null || this.javaClass.trim().length() == 0 ) {
if( this.functionCategory == null || this.functionCategory.trim().length() == 0 ) {
setStatus(new Status(IStatus.ERROR, RelationalPlugin.PLUGIN_ID,
Messages.validate_categoryUndefinedForUDF ));
return;
Expand All @@ -667,7 +667,7 @@ public void validate() {
Messages.validate_javaClassUndefinedForUDF ));
return;
}
if( this.javaClass == null || this.javaClass.trim().length() == 0 ) {
if( this.javaMethod == null || this.javaMethod.trim().length() == 0 ) {
setStatus(new Status(IStatus.ERROR, RelationalPlugin.PLUGIN_ID,
Messages.validate_javaMethodUndefinedForUDF ));
return;
Expand Down

0 comments on commit 66023cb

Please sign in to comment.