diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-18 11:43:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 09:59:03 +0200 |
commit | 10039462dfebdf6727529ca38b4105fcd7dd5727 (patch) | |
tree | dae25c3bdfa24dac171b10a2ac095f169b883fe5 /connectivity/qa | |
parent | 82257e9087dc405fdc45cba7d6867be53b5ec9b3 (diff) |
java: remove more dead code
found by looking for unused parameters (in Eclipse)
Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
Diffstat (limited to 'connectivity/qa')
-rw-r--r-- | connectivity/qa/complex/connectivity/HsqlDriverTest.java | 4 | ||||
-rw-r--r-- | connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/qa/complex/connectivity/HsqlDriverTest.java b/connectivity/qa/complex/connectivity/HsqlDriverTest.java index 747b2ac870b8..aba01fad939b 100644 --- a/connectivity/qa/complex/connectivity/HsqlDriverTest.java +++ b/connectivity/qa/complex/connectivity/HsqlDriverTest.java @@ -99,7 +99,7 @@ public class HsqlDriverTest extends ComplexTestCase { XDriver drv = UnoRuntime.queryInterface(XDriver.class,param.getMSF().createInstance("com.sun.star.sdbcx.comp.hsqldb.Driver")); - TestCacheSize test = new TestCacheSize((param.getMSF()),info,drv); + TestCacheSize test = new TestCacheSize(info,drv); StopWatch sw = new StopWatch(); @@ -127,7 +127,7 @@ public class HsqlDriverTest extends ComplexTestCase { ,new com.sun.star.beans.PropertyValue("ParameterNameSubstitution",0, false,PropertyState.DIRECT_VALUE) }; XDriver drv = UnoRuntime.queryInterface(XDriver.class,param.getMSF().createInstance("com.sun.star.comp.sdbc.JDBCDriver")); - TestCacheSize test = new TestCacheSize((param.getMSF()),info,drv); + TestCacheSize test = new TestCacheSize(info,drv); test.setURL("jdbc:hsqldb:g:\\hsql\\db"); diff --git a/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java b/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java index b2b5944f0fa9..d3c802e15a40 100644 --- a/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java +++ b/connectivity/qa/complex/connectivity/hsqldb/TestCacheSize.java @@ -39,7 +39,6 @@ package complex.connectivity.hsqldb; import org.hsqldb.lib.StopWatch; import java.util.Random; -import com.sun.star.lang.*; import com.sun.star.uno.UnoRuntime; import com.sun.star.sdbc.*; @@ -111,7 +110,7 @@ public class TestCacheSize { private XDriver drv; private com.sun.star.beans.PropertyValue[] info; - public TestCacheSize(XMultiServiceFactory _xmulti,com.sun.star.beans.PropertyValue[] _info,XDriver _drv){ + public TestCacheSize(com.sun.star.beans.PropertyValue[] _info,XDriver _drv){ drv = _drv; info = _info; } |