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

No need to check for non-null here

...as null values are handled just fine by compare()

Change-Id: Ifd17b96187ad3d13be99b107d3c3fa47e51b586e
üst 173fc95b
......@@ -406,17 +406,10 @@ public class MultiPropertyTest extends MultiMethodTest
log.println("\t The type seems to be an Any with value of NULL.");
log.println("\t Maybe the property should get its own test method.");
}
if (resValue != null)
if (!compare(resValue, oldValue))
{
if (!compare(resValue, oldValue))
{
log.println("But it has changed.");
tRes.tested(propName, true);
}
else
{
tRes.tested(propName, false);
}
log.println("But it has changed.");
tRes.tested(propName, true);
}
else
{
......
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