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 /scripting/java | |
parent | java: don't catch and then just rethrow an exception (diff) | |
download | core-c0415d5f1e96304b0d528de92b6ba0cdf31b503b.tar.gz core-c0415d5f1e96304b0d528de92b6ba0cdf31b503b.zip |
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 'scripting/java')
5 files changed, 0 insertions, 22 deletions
diff --git a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java index 5f598d500046..35a995819b83 100644 --- a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java +++ b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java @@ -47,12 +47,6 @@ public final class LocalOfficeImpl private transient XMultiComponentFactory mComponentFactory; private transient XComponentContext mComponentContext; - /** - * Constructor. - */ - public LocalOfficeImpl() - { - } /** * Connects to the running office. diff --git a/scripting/java/org/openoffice/netbeans/modules/office/actions/MountDocumentAction.java b/scripting/java/org/openoffice/netbeans/modules/office/actions/MountDocumentAction.java index adde6466ce74..7fa5fa7e0292 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/actions/MountDocumentAction.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/actions/MountDocumentAction.java @@ -28,10 +28,6 @@ import org.openide.util.actions.CookieAction; */ public class MountDocumentAction extends CookieAction { - public MountDocumentAction() - { - } - public String getName() { return "Mount Document"; //NOI18N diff --git a/scripting/java/org/openoffice/netbeans/modules/office/actions/MountParcelAction.java b/scripting/java/org/openoffice/netbeans/modules/office/actions/MountParcelAction.java index ba1ca9503319..c579dacc2e53 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/actions/MountParcelAction.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/actions/MountParcelAction.java @@ -28,10 +28,6 @@ import org.openide.util.actions.CookieAction; */ public class MountParcelAction extends CookieAction { - public MountParcelAction() - { - } - public String getName() { return "Mount Parcel"; //NOI18N diff --git a/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java b/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java index 5d7a65559dfd..e86f5e03ae3c 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java @@ -816,10 +816,6 @@ System.out.println(" exception: " + ioe.getMessage()); private String parent; private Collection children = new HashSet(); - public ChildrenStrategy() - { - } - public void setParent(String name) { parent = (name.length() > 0)? (name + SEPARATOR): ""; diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesPanel.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesPanel.java index 91d963896bc6..e0355ed391c6 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesPanel.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesPanel.java @@ -43,10 +43,6 @@ public class ParcelPropertiesPanel implements WizardDescriptor.FinishPanel { */ private ParcelPropertiesVisualPanel component; - /** Create the wizard panel descriptor. */ - public ParcelPropertiesPanel() { - } - // Get the visual component for the panel. In this template, the component // is kept separate. This can be more efficient: if the wizard is created // but never displayed, or not all panels are displayed, it is better to |