diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 16:22:54 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:01 +0200 |
commit | b707a707aae71f3e05dc096d8de14d2509e2b62f (patch) | |
tree | ea82bdb32f10a89fdd8c3c64596a179602c84466 /qadevOOo/runner/lib | |
parent | 8cd0fc50aa895d5c1588623a7675dd5679752379 (diff) |
Java cleanup - remove unused local variables
Change-Id: Ied9c8635cde96d2d00d66a68cd8387799455c2ec
Diffstat (limited to 'qadevOOo/runner/lib')
-rw-r--r-- | qadevOOo/runner/lib/MultiMethodTest.java | 5 | ||||
-rw-r--r-- | qadevOOo/runner/lib/MultiPropertyTest.java | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java index e2c695671a73..9756ccebfee8 100644 --- a/qadevOOo/runner/lib/MultiMethodTest.java +++ b/qadevOOo/runner/lib/MultiMethodTest.java @@ -153,7 +153,7 @@ public class MultiMethodTest // For normal test we must not be a "ifc.qadevooo._SelfTest" if (! ("ifc.qadevooo._SelfTest").equals(entry.entryName)) { - String ifcName = getInterfaceName(); + getInterfaceName(); // System.out.println("checking : " + ifcName); System.out.print("checking: [" + entry.longName + "]"); @@ -181,8 +181,7 @@ public class MultiMethodTest } System.out.println(" is iface: [" + testedClassName + "] testcode: [" + entry.entryName + "]"); - // quering the tested interface from the tested object - XInterface tCase = tEnv.getTestObject(); + tEnv.getTestObject(); Object oObj = UnoRuntime.queryInterface(testedClass, tEnv.getTestObject()); if (oObj == null) diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java index 403f9cb4037f..5935fb697c81 100644 --- a/qadevOOo/runner/lib/MultiPropertyTest.java +++ b/qadevOOo/runner/lib/MultiPropertyTest.java @@ -288,7 +288,6 @@ public class MultiPropertyTest extends MultiMethodTest } Property prop = info.getPropertyByName(propName); - short attr = prop.Attributes; boolean readOnly = (prop.Attributes & PropertyAttribute.READONLY) != 0; boolean maybeVoid = (prop.Attributes & PropertyAttribute.MAYBEVOID) != 0; //check get-set methods |