summaryrefslogtreecommitdiff
path: root/javaunohelper/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-04 16:12:55 +0200
committerNoel Grandin <noel@peralex.com>2014-08-05 11:31:49 +0200
commitf124688cfdfbe96ff2be5ab44ea5023725548146 (patch)
tree4874bf2b2504979b9733f200e05b68034c7eaefe /javaunohelper/test
parent36a74fe54a0cd99372ea646af31ce41ac5ec5b08 (diff)
java: remove various unused variables
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
Diffstat (limited to 'javaunohelper/test')
-rw-r--r--javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java1
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java1
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/UnoUrlTest.java18
3 files changed, 9 insertions, 11 deletions
diff --git a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
index 3fd5f8cfc0fd..4a50617dff88 100644
--- a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
+++ b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
@@ -106,7 +106,6 @@ public class SharedLibraryLoader_Test {
static public boolean test_loadNativeSimpleRegistry()
throws java.lang.Exception
{
- boolean result = false;
System.out.println("*******************************************************************");
System.out.println("Test: <<< load native SimpleRegistry >>>");
if ( sharedLibraryLoader == null )
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
index 2d3e764aee72..3aaa764a037d 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
@@ -271,7 +271,6 @@ public class MultiTypeInterfaceContainer_Test
boolean r[]= new boolean[50];
int i= 0;
- int count= 0;
cont.clear();
Type[] types= cont.getContainedTypes();
r[i++]= types.length == 0;
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/UnoUrlTest.java b/javaunohelper/test/com/sun/star/lib/uno/helper/UnoUrlTest.java
index e71c6518b756..d12c5aee4e21 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/UnoUrlTest.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/UnoUrlTest.java
@@ -61,7 +61,7 @@ public class UnoUrlTest {
public void testStart2() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno1:x;y;z");
+ UnoUrl.parseUnoUrl("uno1:x;y;z");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -69,7 +69,7 @@ public class UnoUrlTest {
public void testStart3() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("un:x;y;z");
+ UnoUrl.parseUnoUrl("un:x;y;z");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -87,7 +87,7 @@ public class UnoUrlTest {
public void testParam1() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno:");
+ UnoUrl.parseUnoUrl("uno:");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -95,7 +95,7 @@ public class UnoUrlTest {
public void testParam2() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno:a;");
+ UnoUrl.parseUnoUrl("uno:a;");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -103,7 +103,7 @@ public class UnoUrlTest {
public void testPartName1() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno:abc!abc;b;c");
+ UnoUrl.parseUnoUrl("uno:abc!abc;b;c");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -111,7 +111,7 @@ public class UnoUrlTest {
public void testOID1() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno:x;y;ABC<ABC");
+ UnoUrl.parseUnoUrl("uno:x;y;ABC<ABC");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -143,7 +143,7 @@ public class UnoUrlTest {
public void testParams1() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno:x,abc!abc=val;y;ABC");
+ UnoUrl.parseUnoUrl("uno:x,abc!abc=val;y;ABC");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -151,7 +151,7 @@ public class UnoUrlTest {
public void testParams2() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno:x,abc=val<val;y;ABC");
+ UnoUrl.parseUnoUrl("uno:x,abc=val<val;y;ABC");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}
@@ -199,7 +199,7 @@ public class UnoUrlTest {
public void testUTF1() {
try {
- UnoUrl url = UnoUrl.parseUnoUrl("uno:x,abc=val%4t;y;ABC");
+ UnoUrl.parseUnoUrl("uno:x,abc=val%4t;y;ABC");
fail("Should throw an exception");
} catch (com.sun.star.lang.IllegalArgumentException e) {
}