summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-15 16:38:03 +0200
committerNoel Grandin <noel@peralex.com>2014-08-20 12:12:15 +0200
commitc0415d5f1e96304b0d528de92b6ba0cdf31b503b (patch)
tree0aa3cf4fe10d6bf47c8419eb121f8b7357f30f9f /qadevOOo
parent6884ef6317ddc29a713a342fb102e28ebc8fa5cc (diff)
java: remove unnecessary constructor declarations
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/complexlib/ShowTargets.java5
-rw-r--r--qadevOOo/runner/convwatch/DBHelper.java2
-rw-r--r--qadevOOo/runner/convwatch/PixelCounter.java8
-rw-r--r--qadevOOo/runner/graphical/PixelCounter.java10
-rw-r--r--qadevOOo/runner/graphical/TimeHelper.java3
-rw-r--r--qadevOOo/runner/helper/PropertyHandlerFactroy.java4
-rw-r--r--qadevOOo/runner/helper/PropertyHandlerImpl.java4
-rw-r--r--qadevOOo/runner/helper/UnoProvider.java4
-rw-r--r--qadevOOo/runner/org/openoffice/RunnerService.java7
-rw-r--r--qadevOOo/runner/util/AccessibilityTools.java4
-rw-r--r--qadevOOo/runner/util/XLayerImpl.java3
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java3
-rw-r--r--qadevOOo/tests/java/mod/_configmgr/ConfigurationProvider.java1
-rw-r--r--qadevOOo/tests/java/mod/_configmgr/DefaultProvider.java1
14 files changed, 0 insertions, 59 deletions
diff --git a/qadevOOo/runner/complexlib/ShowTargets.java b/qadevOOo/runner/complexlib/ShowTargets.java
index 7a8267409af5..210ad33851fe 100644
--- a/qadevOOo/runner/complexlib/ShowTargets.java
+++ b/qadevOOo/runner/complexlib/ShowTargets.java
@@ -22,11 +22,6 @@ import java.util.ArrayList;
public class ShowTargets
{
- /** Creates a new instance of ShowTargets */
- public ShowTargets()
- {
- }
-
public static void main( String[] args )
{
ArrayList<String> targets = new ArrayList<String>();
diff --git a/qadevOOo/runner/convwatch/DBHelper.java b/qadevOOo/runner/convwatch/DBHelper.java
index 00d08b45fae8..1a13fd071093 100644
--- a/qadevOOo/runner/convwatch/DBHelper.java
+++ b/qadevOOo/runner/convwatch/DBHelper.java
@@ -29,8 +29,6 @@ import java.util.StringTokenizer;
class ShareConnection
{
private Connection m_aConnection = null;
- public ShareConnection()
- {}
public Connection getConnection()
{
diff --git a/qadevOOo/runner/convwatch/PixelCounter.java b/qadevOOo/runner/convwatch/PixelCounter.java
index 240e973e3282..21b2632bbaa5 100644
--- a/qadevOOo/runner/convwatch/PixelCounter.java
+++ b/qadevOOo/runner/convwatch/PixelCounter.java
@@ -31,10 +31,6 @@ abstract class CountPixel
class CountNotWhite extends CountPixel
{
- public CountNotWhite()
- {
- }
-
@Override
public void count(int pixel)
{
@@ -53,10 +49,6 @@ class CountNotWhite extends CountPixel
class CountNotBlack extends CountPixel
{
- public CountNotBlack()
- {
- }
-
@Override
public void count(int pixel)
{
diff --git a/qadevOOo/runner/graphical/PixelCounter.java b/qadevOOo/runner/graphical/PixelCounter.java
index b0b9e41d7e66..e9220257a05c 100644
--- a/qadevOOo/runner/graphical/PixelCounter.java
+++ b/qadevOOo/runner/graphical/PixelCounter.java
@@ -30,11 +30,6 @@ abstract class CountPixel
class CountNotWhite extends CountPixel
{
- public CountNotWhite()
- {
- }
-
-
@Override
public void count(final int pixel)
{
@@ -63,11 +58,6 @@ class CountNotWhite extends CountPixel
class CountNotBlack extends CountPixel
{
- public CountNotBlack()
- {
- }
-
-
@Override
public void count(final int pixel)
{
diff --git a/qadevOOo/runner/graphical/TimeHelper.java b/qadevOOo/runner/graphical/TimeHelper.java
index 1905e6acf554..4d7e826848b5 100644
--- a/qadevOOo/runner/graphical/TimeHelper.java
+++ b/qadevOOo/runner/graphical/TimeHelper.java
@@ -39,9 +39,6 @@ public class TimeHelper
private int m_nMilliSeconds;
private long m_nRealMilliSeconds;
- public TimeHelper()
- {}
-
public void start()
{
Calendar cal = Calendar.getInstance();
diff --git a/qadevOOo/runner/helper/PropertyHandlerFactroy.java b/qadevOOo/runner/helper/PropertyHandlerFactroy.java
index fe8595e9b8d9..74f16d86783c 100644
--- a/qadevOOo/runner/helper/PropertyHandlerFactroy.java
+++ b/qadevOOo/runner/helper/PropertyHandlerFactroy.java
@@ -22,10 +22,6 @@ import com.sun.star.lang.XSingleComponentFactory;
public class PropertyHandlerFactroy implements XSingleComponentFactory{
- /** Creates a new instance of PropertyHandlerFactroy */
- public PropertyHandlerFactroy() {
- }
-
public Object createInstanceWithArgumentsAndContext(Object[] obj, com.sun.star.uno.XComponentContext xComponentContext)
throws com.sun.star.uno.Exception {
return new PropertyHandlerImpl();
diff --git a/qadevOOo/runner/helper/PropertyHandlerImpl.java b/qadevOOo/runner/helper/PropertyHandlerImpl.java
index 7fd2fb011e36..a00eee233940 100644
--- a/qadevOOo/runner/helper/PropertyHandlerImpl.java
+++ b/qadevOOo/runner/helper/PropertyHandlerImpl.java
@@ -27,10 +27,6 @@ import com.sun.star.inspection.XPropertyHandler;
*/
public class PropertyHandlerImpl implements XPropertyHandler{
- /** Creates a new instance of PropertyHandlerImpl */
- public PropertyHandlerImpl() {
- }
-
/**
* This method currently does nothing
* @param ActuatingPropertyName the id of the actuating property.
diff --git a/qadevOOo/runner/helper/UnoProvider.java b/qadevOOo/runner/helper/UnoProvider.java
index 5c4ae5ac5b6c..78430d195bf3 100644
--- a/qadevOOo/runner/helper/UnoProvider.java
+++ b/qadevOOo/runner/helper/UnoProvider.java
@@ -49,10 +49,6 @@ import com.sun.star.uno.XComponentContext;
*/
public class UnoProvider implements AppProvider {
- public UnoProvider(){
-
- }
-
/**
* Close existing office: calls disposeManager()
* @param param The test parameters.
diff --git a/qadevOOo/runner/org/openoffice/RunnerService.java b/qadevOOo/runner/org/openoffice/RunnerService.java
index 3f50ccffb19c..fcd425617fcf 100644
--- a/qadevOOo/runner/org/openoffice/RunnerService.java
+++ b/qadevOOo/runner/org/openoffice/RunnerService.java
@@ -56,13 +56,6 @@ public class RunnerService implements XJob, XServiceInfo,
static public final String __implName = "org.openoffice.RunnerService";
static private XMultiServiceFactory xMSF = null;
- /**
- * ct'tor
- * Construct an own office provider for tests
- */
- public RunnerService() {
- }
-
public Object execute(NamedValue[] args) {
// construct valid arguments from the given stuff
int arg_length=args.length;
diff --git a/qadevOOo/runner/util/AccessibilityTools.java b/qadevOOo/runner/util/AccessibilityTools.java
index 5ca0b9bbead4..c700000d7d8f 100644
--- a/qadevOOo/runner/util/AccessibilityTools.java
+++ b/qadevOOo/runner/util/AccessibilityTools.java
@@ -34,10 +34,6 @@ public class AccessibilityTools {
public static XAccessible SearchedAccessible = null;
private static boolean debug = false;
- public AccessibilityTools() {
- //done = false;
- }
-
public static XAccessible getAccessibleObject(XInterface xObject) {
return UnoRuntime.queryInterface(XAccessible.class, xObject);
}
diff --git a/qadevOOo/runner/util/XLayerImpl.java b/qadevOOo/runner/util/XLayerImpl.java
index 351450292536..3b2ac9ca4fd8 100644
--- a/qadevOOo/runner/util/XLayerImpl.java
+++ b/qadevOOo/runner/util/XLayerImpl.java
@@ -22,9 +22,6 @@ public class XLayerImpl implements com.sun.star.configuration.backend.XLayer {
private boolean wasCalled = false;
- public XLayerImpl() {
- }
-
public void readData(com.sun.star.configuration.backend.XLayerHandler xLayerHandler) throws com.sun.star.lang.NullPointerException, com.sun.star.lang.WrappedTargetException, com.sun.star.configuration.backend.MalformedDataException {
wasCalled = true;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
index 9b0ecd43c084..800d74514cb1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
+++ b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
@@ -45,9 +45,6 @@ public class _FunctionDescription extends MultiMethodTest {
public XPropertySet oObj = null; // oObj filled by MultiMethodTest
- public _FunctionDescription() {
- }
-
public void _Arguments() {
// check if Service is available
XServiceInfo xInfo = UnoRuntime.queryInterface(XServiceInfo.class, oObj );
diff --git a/qadevOOo/tests/java/mod/_configmgr/ConfigurationProvider.java b/qadevOOo/tests/java/mod/_configmgr/ConfigurationProvider.java
index c59edbfb8d0b..df544e398a1b 100644
--- a/qadevOOo/tests/java/mod/_configmgr/ConfigurationProvider.java
+++ b/qadevOOo/tests/java/mod/_configmgr/ConfigurationProvider.java
@@ -26,7 +26,6 @@ import lib.TestParameters;
import java.io.PrintWriter;
public final class ConfigurationProvider extends TestCase {
- public ConfigurationProvider() {}
@Override
protected TestEnvironment createTestEnvironment(
diff --git a/qadevOOo/tests/java/mod/_configmgr/DefaultProvider.java b/qadevOOo/tests/java/mod/_configmgr/DefaultProvider.java
index 44ae0f92bfb5..fb181d9715e6 100644
--- a/qadevOOo/tests/java/mod/_configmgr/DefaultProvider.java
+++ b/qadevOOo/tests/java/mod/_configmgr/DefaultProvider.java
@@ -27,7 +27,6 @@ import lib.TestParameters;
import java.io.PrintWriter;
public final class DefaultProvider extends TestCase {
- public DefaultProvider() {}
@Override
protected TestEnvironment createTestEnvironment(