From c0415d5f1e96304b0d528de92b6ba0cdf31b503b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 15 Aug 2014 16:38:03 +0200 Subject: 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 --- .../java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java | 6 ------ .../netbeans/modules/office/actions/MountDocumentAction.java | 4 ---- .../netbeans/modules/office/actions/MountParcelAction.java | 4 ---- .../netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java | 4 ---- .../netbeans/modules/office/wizard/ParcelPropertiesPanel.java | 4 ---- 5 files changed, 22 deletions(-) (limited to 'scripting/java/org') 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 -- cgit