diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-15 16:38:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-20 12:12:15 +0200 |
commit | c0415d5f1e96304b0d528de92b6ba0cdf31b503b (patch) | |
tree | 0aa3cf4fe10d6bf47c8419eb121f8b7357f30f9f /odk | |
parent | 6884ef6317ddc29a713a342fb102e28ebc8fa5cc (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 'odk')
11 files changed, 1 insertions, 42 deletions
diff --git a/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java b/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java index 31b3cf888598..3698af7c01f3 100644 --- a/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java +++ b/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java @@ -69,8 +69,6 @@ public class JavaSampleChartAddIn extends WeakBase implements XServiceName, XServiceInfo { - public JavaSampleChartAddIn() - {} // __________ interface methods __________ diff --git a/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentA.java b/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentA.java index cdfa4afc1e66..3e28af5f797d 100644 --- a/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentA.java +++ b/odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentA.java @@ -41,9 +41,6 @@ public class TestComponentA extends WeakBase implements XServiceInfo, XSomething static byte[] _implementationId; - public TestComponentA() { - } - // XSomethingA public String methodOne(String val) { return val; diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java index 2272d1b4ea72..02ca5d9c02b0 100644 --- a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java +++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java @@ -53,11 +53,6 @@ public class LicenseTest { static private final String __serviceName = "org.openoffice.LicenseTest"; - /** The constructor of the inner class has a XMultiServiceFactory parameter. - */ - public _LicenseTest() { - } - /** This method returns an array of all supported service names. * @return Array of supported service names. */ diff --git a/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java b/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java index 684a95dfdb9e..86d587ea0039 100644 --- a/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java +++ b/odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java @@ -61,12 +61,7 @@ public class ImageShrink extends WeakBase boolean cancel = false; com.sun.star.awt.Size dimension = new com.sun.star.awt.Size(); - /** Creates a new instance of ImageShrink */ - public ImageShrink() { - } - - - // static __getServiceFactory() Implementation + // static __getServiceFactory() Implementation public static XSingleServiceFactory __getServiceFactory(String implName, XMultiServiceFactory multiFactory, com.sun.star.registry.XRegistryKey regKey) { diff --git a/odk/examples/DevelopersGuide/Database/OpenQuery.java b/odk/examples/DevelopersGuide/Database/OpenQuery.java index 77490f8dbf8f..48e291132691 100644 --- a/odk/examples/DevelopersGuide/Database/OpenQuery.java +++ b/odk/examples/DevelopersGuide/Database/OpenQuery.java @@ -50,10 +50,6 @@ public class OpenQuery { private XComponentContext xContext = null; private XMultiComponentFactory xMCF = null; - /** Creates a new instance of OpenQuery */ - public OpenQuery() { - } - /** * @param args the command line arguments */ diff --git a/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java b/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java index c98124d6ca09..b7d7e97c9ac3 100644 --- a/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java +++ b/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java @@ -54,10 +54,6 @@ import com.sun.star.uno.UnoRuntime; public class FirstLoadComponent { - /** Creates a new instance of FirstLoadComponent */ - public FirstLoadComponent() { - } - /** * @param args the command line arguments */ diff --git a/odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape.java b/odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape.java index 1818418d5766..1dcbb1e284a7 100644 --- a/odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape.java +++ b/odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape.java @@ -63,10 +63,6 @@ public class HelloTextTableShape { private XComponentContext xRemoteContext = null; private XMultiComponentFactory xRemoteServiceManager = null; - /** Creates a new instance of HelloTextTableShape */ - public HelloTextTableShape() { - } - /** * @param args the command line arguments */ diff --git a/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java b/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java index 5f0e975bdf78..1d73270fc62f 100644 --- a/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java +++ b/odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java @@ -34,7 +34,6 @@ class MyUnoObject implements com.sun.star.uno.XInterface { - public MyUnoObject() {} @Override protected void finalize() throws Throwable { diff --git a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java index 9b5962ebf65b..a68ba22bcb4b 100644 --- a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java +++ b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java @@ -53,10 +53,6 @@ public class ScriptSelector { private ScriptSelectorPanel selectorPanel; - public ScriptSelector() - { - } - public void show(final XScriptContext ctxt) { try { diff --git a/odk/examples/DevelopersGuide/Text/TextDocuments.java b/odk/examples/DevelopersGuide/Text/TextDocuments.java index ba78fc7e0255..de5b7c2093cb 100644 --- a/odk/examples/DevelopersGuide/Text/TextDocuments.java +++ b/odk/examples/DevelopersGuide/Text/TextDocuments.java @@ -123,10 +123,6 @@ public class TextDocuments { private XTextContent mxFishSection = null; private Random maRandom = null; - /** Creates a new instance of TextDocuments */ - public TextDocuments() { - } - /** * @param args the command line arguments */ diff --git a/odk/examples/java/NotesAccess/NotesAccess.java b/odk/examples/java/NotesAccess/NotesAccess.java index de6adbc313c2..2bc0a2c5cdbb 100644 --- a/odk/examples/java/NotesAccess/NotesAccess.java +++ b/odk/examples/java/NotesAccess/NotesAccess.java @@ -125,11 +125,6 @@ public class NotesAccess implements Runnable { thread.start(); } - /** This is the default constructor without arguments. - */ - public NotesAccess() { - } - /** Reading all documents from the given database and writing the data to * an OpenOffice.org Calc spreadsheet document. */ |