Remove some warning in NumberValue (OFBIZ-4102)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1076852 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marco Risaliti
2011-03-03 22:32:41 +00:00
parent fed87a3cbd
commit 0154f18aa0
@@ -47,8 +47,8 @@ public final class NumberValue<N extends Number> extends ConstantValue {
@Override
public boolean equals(Object o) {
if (o instanceof NumberValue) {
NumberValue other = (NumberValue) o;
if (o instanceof NumberValue<?>) {
NumberValue<?> other = (NumberValue<?>) o;
return number.equals(other.number);
} else {
return false;