diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-14 10:37:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-14 10:39:16 +0200 |
commit | 8e3f72141625898c01e39e94d3fdaefd66c885ff (patch) | |
tree | 8f753b30eb2eab403d2761a6d55b588ee7956886 /qadevOOo/runner | |
parent | db4870bc2fa7ccb1be30706cb53b2f73ece772bf (diff) |
casting before calling getClass() is a waste of time
Change-Id: Id88aa9e43b736e6fdeaf098a952dae5421468f83
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/lib/MultiPropertyTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java index 918d5e6f372e..9946710bd7d7 100644 --- a/qadevOOo/runner/lib/MultiPropertyTest.java +++ b/qadevOOo/runner/lib/MultiPropertyTest.java @@ -359,7 +359,7 @@ public class MultiPropertyTest extends MultiMethodTest { if (!util.utils.isVoid(oldValue) && oldValue instanceof Any) { - oldValue = AnyConverter.toObject(new Type(((Any) oldValue).getClass()), oldValue); + oldValue = AnyConverter.toObject(new Type(oldValue.getClass()), oldValue); } log.println("result = " + toString(resValue)); } @@ -393,7 +393,7 @@ public class MultiPropertyTest extends MultiMethodTest { if (!util.utils.isVoid(oldValue) && oldValue instanceof Any) { - oldValue = AnyConverter.toObject(new Type(((Any) oldValue).getClass()), oldValue); + oldValue = AnyConverter.toObject(new Type(oldValue.getClass()), oldValue); } log.println("result = " + toString(resValue)); } @@ -427,7 +427,7 @@ public class MultiPropertyTest extends MultiMethodTest { if (!util.utils.isVoid(oldValue) && oldValue instanceof Any) { - oldValue = AnyConverter.toObject(new Type(((Any) oldValue).getClass()), oldValue); + oldValue = AnyConverter.toObject(new Type(oldValue.getClass()), oldValue); } log.println("result = " + toString(resValue)); } |