diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-06 08:38:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-11 12:33:02 +0200 |
commit | d5a31b221510a506a9c43d2c9f44c55405ce13fd (patch) | |
tree | 16c4444d46fb439a1601d2d4535e1770da318e05 /qadevOOo/tests | |
parent | 41709cc2688738f091a4b17839fe853caa5a0bfd (diff) |
java: remove unused parameters
Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa
Diffstat (limited to 'qadevOOo/tests')
5 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java index 0322f4abc7af..091be8f0f739 100644 --- a/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java +++ b/qadevOOo/tests/java/complex/unoapi/CheckModuleAPI.java @@ -292,7 +292,7 @@ public class CheckModuleAPI extends ComplexTestCase { // cws version: all added modules must be tested final String cws = version.substring(4, version.length()); - final CwsDataExchangeImpl cde = new CwsDataExchangeImpl(cws, param, log); + final CwsDataExchangeImpl cde = new CwsDataExchangeImpl(param, log); final ArrayList<String> addedModules = cde.getModules(); final ArrayList<String> moduleNames = new ArrayList<String>(); @@ -546,7 +546,7 @@ public class CheckModuleAPI extends ComplexTestCase // cws version: all added modules must be tested final String cws = version.substring(4, version.length()); - final CwsDataExchangeImpl cde = new CwsDataExchangeImpl(cws, param, log); + final CwsDataExchangeImpl cde = new CwsDataExchangeImpl(param, log); cde.setUnoApiCwsStatus(status); } catch (ParameterNotFoundException ex) diff --git a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java index 0e0d0e582872..b63b2491fd52 100644 --- a/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java +++ b/qadevOOo/tests/java/mod/_dbaccess/ORowSet.java @@ -165,7 +165,7 @@ public class ORowSet extends TestCase { origDB = util.utils.getFullTestDocName("TestDB/testDB.dbf"); - dbTools = new DBTools( m_orb, _log ); + dbTools = new DBTools( m_orb ); // creating DataSource and registering it in DatabaseContext String dbURL = (String) Param.get("test.db.url"); diff --git a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java index 8109ae63cee0..5ace649a9690 100644 --- a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java +++ b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java @@ -397,7 +397,7 @@ public class GenericModelTest extends TestCase { log.println("copy '"+sourceTestDB + "' -> '" + destTestDB + "'"); utils.copyFile(xMSF, sourceTestDB, destTestDB); - m_dbTools = new DBTools( xMSF, log ); + m_dbTools = new DBTools( xMSF ); String tmpDir = utils.getOfficeTemp((xMSF)); m_srcInf = m_dbTools.newDataSourceInfo(); diff --git a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java index 8f42343a2b4a..26be61c77b0c 100644 --- a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java +++ b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java @@ -233,7 +233,7 @@ public class ODatabaseForm extends TestCase { origDB = util.utils.getFullTestDocName("TestDB/testDB.dbf"); - dbTools = new DBTools( tParam.getMSF(), log ); + dbTools = new DBTools( tParam.getMSF() ); // creating DataSource and registering it in DatabaseContext String dbURL = (String) tParam.get("test.db.url"); diff --git a/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java b/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java index cfd35362d233..9855b6b2991c 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java +++ b/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java @@ -329,7 +329,7 @@ public class SwXMailMerge extends TestCase { xSrcProp.setPropertyValue("URL", tmpDatabaseUrl) ; - DBTools dbt = new DBTools( Param.getMSF(), log ); + DBTools dbt = new DBTools( Param.getMSF() ); // registering source in DatabaseContext log.println("register database '"+tmpDatabaseUrl+"' as '"+databaseName+"'" ); dbt.reRegisterDB(databaseName, newSource) ; @@ -388,7 +388,7 @@ public class SwXMailMerge extends TestCase { protected void cleanup(TestParameters Param, PrintWriter log) { log.println("closing connections..."); XMultiServiceFactory xMsf = Param.getMSF(); - DBTools dbt = new DBTools( xMsf, log ); + DBTools dbt = new DBTools( xMsf ); if (Param.containsKey("uniqueSuffix")){ int uniqueSuffix = Param.getInt("uniqueSuffix"); |