Skip to content

Commit

Permalink
JBRULES-2671: adding support for String comparisons with operators >,…
Browse files Browse the repository at this point in the history
… >=, <, <=

(cherry picked from commit 00c4c01)
  • Loading branch information
etirelli committed Nov 18, 2011
1 parent 58a1b9d commit 1011b43
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 158 deletions.
4 changes: 4 additions & 0 deletions drools-core/src/main/java/org/drools/base/BaseEvaluator.java
Expand Up @@ -115,4 +115,8 @@ public int hashCode() {
return (this.getValueType().hashCode()) ^ (this.getOperator().hashCode()) ^ (this.getClass().hashCode());
}

public String toString() {
return type.getName()+" "+operator.toString();
}

}

0 comments on commit 1011b43

Please sign in to comment.