Kaydet (Commit) f8eaeb8a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Assume util.ValueComparer.equalValue is precise enough here

...in this poorly understood legacy qadevOOo code

Change-Id: Ic1322ecd4092c4be37a8ffe338b7b5a98397ee1f
üst 6df1e4dd
......@@ -428,15 +428,9 @@ public class CalcRTL
System.out.println("new = " + toString(newValue));
System.out.println("result = " + toString(resValue));
if (resValue != null) {
if ((!ValueComparer.equalValue(resValue, oldValue)) ||
(!resValue.equals(oldValue))) {
System.out.println("But it has changed.");
return true;
} else {
return false;
}
if (!ValueComparer.equalValue(resValue, oldValue)) {
System.out.println("But it has changed.");
return true;
} else {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment