bridges/test/java_remote/StopMessageDispatcherTest.java | 1 connectivity/qa/complex/connectivity/FlatFileAccess.java | 5 - dbaccess/qa/complex/dbaccess/ApplicationController.java | 6 - dbaccess/qa/complex/dbaccess/Beamer.java | 6 - dbaccess/qa/complex/dbaccess/CopyTableWizard.java | 7 - desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java | 2 extensions/qa/complex/extensions/OfficeResourceLoader.java | 5 - extensions/qa/integration/extensions/ObjectInspector.java | 5 - extensions/qa/integration/extensions/TestSkeleton.java | 5 - forms/qa/integration/forms/CellBinding.java | 5 - forms/qa/integration/forms/ControlValidation.java | 5 - forms/qa/integration/forms/ControlValidator.java | 5 - forms/qa/integration/forms/DateValidator.java | 5 - forms/qa/integration/forms/ListSelectionValidator.java | 5 - forms/qa/integration/forms/MasterDetailForms.java | 5 - forms/qa/integration/forms/NumericValidator.java | 5 - forms/qa/integration/forms/RadioButtons.java | 5 - forms/qa/integration/forms/TextValidator.java | 5 - forms/qa/integration/forms/TimeValidator.java | 5 - forms/qa/integration/forms/XMLFormSettings.java | 5 - framework/qa/complex/dispatches/Interceptor.java | 9 -- javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java | 5 - javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java | 4 javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java | 5 - javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java | 4 javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java | 5 - jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory.java | 1 jurt/com/sun/star/lib/uno/protocols/urp/PendingRequests.java | 1 nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java | 2 nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java | 5 - odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java | 2 odk/examples/DevelopersGuide/Components/JavaComponent/TestComponentA.java | 3 odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java | 5 - odk/examples/DevelopersGuide/Components/Thumbs/org/openoffice/comp/test/ImageShrink.java | 7 - odk/examples/DevelopersGuide/Database/OpenQuery.java | 4 odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent.java | 4 odk/examples/DevelopersGuide/FirstSteps/HelloTextTableShape.java | 4 odk/examples/DevelopersGuide/ProfUNO/Lifetime/MyUnoObject.java | 1 odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java | 4 odk/examples/DevelopersGuide/Text/TextDocuments.java | 4 odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java | 19 ---- odk/examples/java/NotesAccess/NotesAccess.java | 5 - qadevOOo/runner/complexlib/ShowTargets.java | 5 - qadevOOo/runner/convwatch/DBHelper.java | 2 qadevOOo/runner/convwatch/PixelCounter.java | 8 - qadevOOo/runner/graphical/PixelCounter.java | 10 -- qadevOOo/runner/graphical/TimeHelper.java | 3 qadevOOo/runner/helper/PropertyHandlerFactroy.java | 4 qadevOOo/runner/helper/PropertyHandlerImpl.java | 4 qadevOOo/runner/helper/UnoProvider.java | 4 qadevOOo/runner/org/openoffice/RunnerService.java | 7 - qadevOOo/runner/util/AccessibilityTools.java | 4 qadevOOo/runner/util/XLayerImpl.java | 3 qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java | 3 qadevOOo/tests/java/mod/_configmgr/ConfigurationProvider.java | 1 qadevOOo/tests/java/mod/_configmgr/DefaultProvider.java | 1 reportbuilder/java/org/libreoffice/report/function/metadata/TitleFunction.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportAddIn.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/expressions/SumExpression.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ObjectOleLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeDetailLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficePageSectionLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeReportLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesDeclarationLayoutController.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/DataStyle.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/FontFaceElement.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/FormattedTextElement.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/ImageElement.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDetailSection.java | 3 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDocument.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroup.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupInstanceSection.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupSection.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeMasterPage.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeReport.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeTableSection.java | 3 reportbuilder/java/org/libreoffice/report/pentaho/model/PageSection.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/model/TableCellElement.java | 3 reportbuilder/java/org/libreoffice/report/pentaho/parser/ElementReadHandler.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeDocumentXmlResourceFactory.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeStylesXmlResourceFactory.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/StarStyleXmlFactoryModule.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/StarXmlFactoryModule.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/office/DocumentContentReadHandler.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/ColorMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontSizeMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontStyleMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyGenericMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontNameMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontReliefMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextEmphasizeMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextUnderlineColorMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/RowHeightMapper.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/parser/xlink/XLinkReadHandler.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/styles/LengthCalculator.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlFactoryModule.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlResourceFactory.java | 4 reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMappingReadHandler.java | 4 ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java | 2 scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java | 4 scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java | 6 - scripting/java/org/openoffice/netbeans/modules/office/actions/MountDocumentAction.java | 4 scripting/java/org/openoffice/netbeans/modules/office/actions/MountParcelAction.java | 4 scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java | 4 scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesPanel.java | 4 smoketest/com/sun/star/comp/smoketest/TestExtension.java | 5 - smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java | 3 swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java | 5 - swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java | 43 ++++------ swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java | 5 - testtools/com/sun/star/comp/bridge/CurrentContextChecker.java | 2 testtools/com/sun/star/comp/bridge/TestComponent.java | 13 --- toolkit/qa/complex/toolkit/awtgrid/DummyColumn.java | 4 toolkit/qa/complex/toolkit/awtgrid/GridDataListener.java | 4 toolkit/test/accessibility/AccessibleUNOHandler.java | 4 toolkit/test/accessibility/FrameActionListener.java | 4 toolkit/test/accessibility/InformationWriter.java | 4 unotest/source/java/org/openoffice/test/FileHelper.java | 3 wizards/com/sun/star/wizards/common/Desktop.java | 5 - wizards/com/sun/star/wizards/common/Helper.java | 5 - wizards/com/sun/star/wizards/common/JavaTools.java | 11 -- wizards/com/sun/star/wizards/document/OfficeDocument.java | 7 - wizards/com/sun/star/wizards/ui/ImageList.java | 2 wizards/com/sun/star/wizards/ui/event/AbstractListener.java | 5 - wizards/com/sun/star/wizards/ui/event/CommonListener.java | 5 - xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/EmbeddedXMLObject.java | 6 - 139 files changed, 27 insertions(+), 622 deletions(-)
New commits: commit 0ce1267ae27c840a417ee1758aa016da033405fa Author: Noel Grandin <n...@peralex.com> Date: Fri Aug 15 16:51:21 2014 +0200 remove more unnecessary constructor declarations Change-Id: Ie5a243006b112c2e6daf12992f3dba8baf12748d diff --git a/connectivity/qa/complex/connectivity/FlatFileAccess.java b/connectivity/qa/complex/connectivity/FlatFileAccess.java index 533bfa4..aa2eed4 100644 --- a/connectivity/qa/complex/connectivity/FlatFileAccess.java +++ b/connectivity/qa/complex/connectivity/FlatFileAccess.java @@ -33,11 +33,6 @@ import java.util.List; public class FlatFileAccess extends ComplexTestCase { - public FlatFileAccess() - { - super(); - } - @Override public String[] getTestMethodNames() { diff --git a/forms/qa/integration/forms/ControlValidation.java b/forms/qa/integration/forms/ControlValidation.java index c4994c0..f28031a 100644 --- a/forms/qa/integration/forms/ControlValidation.java +++ b/forms/qa/integration/forms/ControlValidation.java @@ -34,11 +34,6 @@ public class ControlValidation extends complexlib.ComplexTestCase implements com private DocumentHelper m_document; /// our current test document private XMultiServiceFactory m_orb; /// our service factory - /** Creates a new instance of ControlValidation */ - public ControlValidation() - { - } - @Override public String[] getTestMethodNames() { diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java index bdbf51b..81612dc 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/encode/EvalElement.java @@ -42,8 +42,6 @@ public class EvalElement { */ public BasicBound targetBound = new BasicBound(); - public EvalElement() {} - public boolean isOptType() { return ((targetBound.minValue==BasicBound.MINDOUBLE&&targetBound.maxValue==BasicBound.MINDOUBLE)|| (targetBound.minValue==BasicBound.MAXDOUBLE&&targetBound.maxValue==BasicBound.MAXDOUBLE)); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java index c12d6aa..5dd9385 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java @@ -29,10 +29,6 @@ import org.jfree.layouting.input.style.keys.box.BoxStyleKeys; public class ColumnWidthMapper implements StyleMapper { - public ColumnWidthMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, diff --git a/testtools/com/sun/star/comp/bridge/CurrentContextChecker.java b/testtools/com/sun/star/comp/bridge/CurrentContextChecker.java index ee7f3b1..6841f77 100644 --- a/testtools/com/sun/star/comp/bridge/CurrentContextChecker.java +++ b/testtools/com/sun/star/comp/bridge/CurrentContextChecker.java @@ -25,7 +25,7 @@ import com.sun.star.uno.XCurrentContext; import test.testtools.bridgetest.XCurrentContextChecker; final class CurrentContextChecker implements XCurrentContextChecker { - public CurrentContextChecker() {} + public boolean perform( XCurrentContextChecker other, int setSteps, int checkSteps) commit 609f7b85030eb9fa85a87fd591dcf53fa1143950 Author: Noel Grandin <n...@peralex.com> Date: Fri Aug 15 16:40:24 2014 +0200 remove do-nothing code Change-Id: I101cc3be44f029f7353e8d40823c0d6b2bd761b3 diff --git a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java index 71d0ed2..38ceaa6 100644 --- a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java +++ b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java @@ -90,10 +90,6 @@ public class ScriptMetaData extends ScriptEntry { } } - @Override - public Object clone() throws CloneNotSupportedException { - return super.clone(); - } public boolean equals(ScriptMetaData other) { if (super.equals(other) && commit c0415d5f1e96304b0d528de92b6ba0cdf31b503b Author: Noel Grandin <n...@peralex.com> Date: Fri Aug 15 16:38:03 2014 +0200 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 diff --git a/bridges/test/java_remote/StopMessageDispatcherTest.java b/bridges/test/java_remote/StopMessageDispatcherTest.java index 4d62fa2..ed7999e 100644 --- a/bridges/test/java_remote/StopMessageDispatcherTest.java +++ b/bridges/test/java_remote/StopMessageDispatcherTest.java @@ -33,7 +33,6 @@ import test.lib.TestBed; * the process hanging if it has not terminated by then. */ public final class StopMessageDispatcherTest extends ComplexTestCase { - public StopMessageDispatcherTest() {} @Override public String[] getTestMethodNames() { diff --git a/dbaccess/qa/complex/dbaccess/ApplicationController.java b/dbaccess/qa/complex/dbaccess/ApplicationController.java index 674115e..eafc32d 100644 --- a/dbaccess/qa/complex/dbaccess/ApplicationController.java +++ b/dbaccess/qa/complex/dbaccess/ApplicationController.java @@ -51,12 +51,6 @@ public class ApplicationController extends TestCase private XOfficeDatabaseDocument m_databaseDocument; private XDatabaseDocumentUI m_documentUI; - public ApplicationController() - { - super(); - } - - public String getTestObjectName() { return getClass().getName(); diff --git a/dbaccess/qa/complex/dbaccess/Beamer.java b/dbaccess/qa/complex/dbaccess/Beamer.java index f7e0a66..3342c70 100644 --- a/dbaccess/qa/complex/dbaccess/Beamer.java +++ b/dbaccess/qa/complex/dbaccess/Beamer.java @@ -51,12 +51,6 @@ public class Beamer extends TestCase private XModel docModel; - public Beamer() - { - super(); - } - - @Before @Override public void before() throws Exception, java.lang.Exception diff --git a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java index 0d36096..7b7e2fd 100644 --- a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java +++ b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java @@ -53,13 +53,6 @@ public class CopyTableWizard extends CRMBasedTestCase private DbaseDatabase destinationDB = null; private DatabaseApplication dest; - public CopyTableWizard() - { - super(); - } - - - @After @Override public void after() diff --git a/extensions/qa/complex/extensions/OfficeResourceLoader.java b/extensions/qa/complex/extensions/OfficeResourceLoader.java index 0c2c02c..8f89562 100644 --- a/extensions/qa/complex/extensions/OfficeResourceLoader.java +++ b/extensions/qa/complex/extensions/OfficeResourceLoader.java @@ -39,11 +39,6 @@ public class OfficeResourceLoader XResourceBundleLoader m_loader; XResourceBundle m_bundle; - /** Creates a new instance of ValueBinding */ - public OfficeResourceLoader() - { - } - /* ------------------------------------------------------------------ */ @Before public void before() throws com.sun.star.uno.Exception, java.lang.Exception { diff --git a/extensions/qa/integration/extensions/ObjectInspector.java b/extensions/qa/integration/extensions/ObjectInspector.java index 84fcf0e..197f746 100644 --- a/extensions/qa/integration/extensions/ObjectInspector.java +++ b/extensions/qa/integration/extensions/ObjectInspector.java @@ -36,11 +36,6 @@ public class ObjectInspector extends complexlib.ComplexTestCase final private String m_inspectorFrameName = "ObjectInspector"; - /** Creates a new instance of ValueBinding */ - public ObjectInspector() - { - } - /* ------------------------------------------------------------------ */ @Override public String[] getTestMethodNames() diff --git a/extensions/qa/integration/extensions/TestSkeleton.java b/extensions/qa/integration/extensions/TestSkeleton.java index 6d4ab7a..ca77d20 100644 --- a/extensions/qa/integration/extensions/TestSkeleton.java +++ b/extensions/qa/integration/extensions/TestSkeleton.java @@ -24,11 +24,6 @@ public class TestSkeleton extends complexlib.ComplexTestCase { private XMultiServiceFactory m_orb; - /** Creates a new instance of ValueBinding */ - public TestSkeleton() - { - } - /* ------------------------------------------------------------------ */ @Override public String[] getTestMethodNames() diff --git a/forms/qa/integration/forms/CellBinding.java b/forms/qa/integration/forms/CellBinding.java index 388ee81..ff57b48 100644 --- a/forms/qa/integration/forms/CellBinding.java +++ b/forms/qa/integration/forms/CellBinding.java @@ -46,11 +46,6 @@ public class CellBinding extends complexlib.ComplexTestCase /** our service factory */ private XMultiServiceFactory m_orb; - /** Creates a new instance of CellBinding */ - public CellBinding() - { - } - @Override public String[] getTestMethodNames() { diff --git a/forms/qa/integration/forms/ControlValidator.java b/forms/qa/integration/forms/ControlValidator.java index f0ac697..fca013a 100644 --- a/forms/qa/integration/forms/ControlValidator.java +++ b/forms/qa/integration/forms/ControlValidator.java @@ -22,11 +22,6 @@ package integration.forms; public abstract class ControlValidator implements com.sun.star.form.validation.XValidator { - /** Creates a new instance of ControlValidator */ - public ControlValidator() - { - } - public void addValidityConstraintListener(com.sun.star.form.validation.XValidityConstraintListener xValidityConstraintListener) { } diff --git a/forms/qa/integration/forms/DateValidator.java b/forms/qa/integration/forms/DateValidator.java index 976510b..0264642 100644 --- a/forms/qa/integration/forms/DateValidator.java +++ b/forms/qa/integration/forms/DateValidator.java @@ -20,11 +20,6 @@ package integration.forms; public class DateValidator extends integration.forms.ControlValidator { - /** Creates a new instance of NumericValidator */ - public DateValidator( ) - { - } - public String explainInvalid( Object Value ) { try diff --git a/forms/qa/integration/forms/ListSelectionValidator.java b/forms/qa/integration/forms/ListSelectionValidator.java index 69646a5..ce94a1e 100644 --- a/forms/qa/integration/forms/ListSelectionValidator.java +++ b/forms/qa/integration/forms/ListSelectionValidator.java @@ -20,11 +20,6 @@ package integration.forms; public class ListSelectionValidator extends integration.forms.ControlValidator { - /** Creates a new instance of ListSelectionValidator */ - public ListSelectionValidator() - { - } - public String explainInvalid( Object Value ) { try diff --git a/forms/qa/integration/forms/MasterDetailForms.java b/forms/qa/integration/forms/MasterDetailForms.java index 7619539..e13da5d 100644 --- a/forms/qa/integration/forms/MasterDetailForms.java +++ b/forms/qa/integration/forms/MasterDetailForms.java @@ -58,11 +58,6 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com final private Object m_waitForLoad = new Object(); private boolean m_loaded = false; - /** Creates a new instance of MasterDetailForms */ - public MasterDetailForms() - { - } - /* ------------------------------------------------------------------ */ @Override public String[] getTestMethodNames() diff --git a/forms/qa/integration/forms/NumericValidator.java b/forms/qa/integration/forms/NumericValidator.java index 0be2369..25b3ea8 100644 --- a/forms/qa/integration/forms/NumericValidator.java +++ b/forms/qa/integration/forms/NumericValidator.java @@ -20,11 +20,6 @@ package integration.forms; public class NumericValidator extends integration.forms.ControlValidator { - /** Creates a new instance of NumericValidator */ - public NumericValidator( ) - { - } - public String explainInvalid( Object Value ) { try diff --git a/forms/qa/integration/forms/RadioButtons.java b/forms/qa/integration/forms/RadioButtons.java index 0aff6e7..9d6691a 100644 --- a/forms/qa/integration/forms/RadioButtons.java +++ b/forms/qa/integration/forms/RadioButtons.java @@ -37,11 +37,6 @@ public class RadioButtons extends complexlib.ComplexTestCase private XPropertySet m_secondaryForm; /// the secondary form, to be used in the second page of spreadsheets /* ------------------------------------------------------------------ */ - public RadioButtons() - { - } - - /* ------------------------------------------------------------------ */ @Override public String[] getTestMethodNames() { diff --git a/forms/qa/integration/forms/TextValidator.java b/forms/qa/integration/forms/TextValidator.java index 32b76b4..d60c102 100644 --- a/forms/qa/integration/forms/TextValidator.java +++ b/forms/qa/integration/forms/TextValidator.java @@ -20,11 +20,6 @@ package integration.forms; public class TextValidator extends integration.forms.ControlValidator { - /** Creates a new instance of NumericValidator */ - public TextValidator( ) - { - } - public String explainInvalid( Object Value ) { try diff --git a/forms/qa/integration/forms/TimeValidator.java b/forms/qa/integration/forms/TimeValidator.java index 36d1ae8..673cf67 100644 --- a/forms/qa/integration/forms/TimeValidator.java +++ b/forms/qa/integration/forms/TimeValidator.java @@ -20,11 +20,6 @@ package integration.forms; public class TimeValidator extends integration.forms.ControlValidator { - /** Creates a new instance of NumericValidator */ - public TimeValidator( ) - { - } - public String explainInvalid( Object Value ) { try diff --git a/forms/qa/integration/forms/XMLFormSettings.java b/forms/qa/integration/forms/XMLFormSettings.java index c23e648..ae8f99d 100644 --- a/forms/qa/integration/forms/XMLFormSettings.java +++ b/forms/qa/integration/forms/XMLFormSettings.java @@ -46,11 +46,6 @@ public class XMLFormSettings extends complexlib.ComplexTestCase private XPropertySet m_booleanBinding; private XPropertySet m_dateBinding; - /** Creates a new instance of XMLFormSettings */ - public XMLFormSettings() - { - } - /* ------------------------------------------------------------------ */ @Override public String[] getTestMethodNames() diff --git a/framework/qa/complex/dispatches/Interceptor.java b/framework/qa/complex/dispatches/Interceptor.java index 2bf1ed0..0dfc9f1 100644 --- a/framework/qa/complex/dispatches/Interceptor.java +++ b/framework/qa/complex/dispatches/Interceptor.java @@ -96,15 +96,6 @@ public class Interceptor implements XDispatch, - /** ctor - * It's initialize an object of this class with default values. - */ - public Interceptor() - { - } - - - /** XInterceptorInfo */ public synchronized String[] getInterceptedURLs() { diff --git a/javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java index 6ebc687..2437f36 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java @@ -28,11 +28,6 @@ public class MultiTypeInterfaceContainer private Map<Object,InterfaceContainer> map= new HashMap<Object,InterfaceContainer>(); - /** Creates a new instance of MultiTypeInterfaceContainer */ - public MultiTypeInterfaceContainer() - { - } - /** only returns types which have at least one value in InterfaceContainer * return value can contain an element null, if someone called * addInterface (null, interf) diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java index e66167f..067033a 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java @@ -525,10 +525,6 @@ public final class PropertySetMixin { @see #prepareSet(String, Object, Object, PropertySetMixin.BoundListeners) */ public static final class BoundListeners { - /** - The constructor. - */ - public BoundListeners() {} /** Notifies any diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java index 8653af4..6893bd1 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java @@ -37,11 +37,6 @@ import com.sun.star.beans.XPropertiesChangeListener; public class PropertySet_Test { - /** Creates a new instance of PropertySet_Test */ - public PropertySet_Test() - { - } - public boolean convertPropertyValue() { System.out.println("PropertySet.convertPropertyValue"); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java index f5b5872..9a67b20 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java @@ -29,10 +29,6 @@ public class ProxyProvider { static java_environment env= new java_environment(null); - /** Creates a new instance of ProxyProvider */ - public ProxyProvider() - { - } /** returns Holder proxy objects for the specified interface. If the method is called * several times with the same arguments then each time a new HolderProxy is returned. * Then all HolderProxy s refer to the same Proxy object. diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java index 81806f6..3d36c76 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java @@ -27,11 +27,6 @@ import com.sun.star.uno.XAdapter; public class WeakBase_Test { - /** Creates a new instance of WeakBase_Test */ - public WeakBase_Test() - { - } - public boolean getTypes() { System.out.println("Testing WeakBase.getTypes"); diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory.java b/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory.java index 9d5fc2c..9422742 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory.java @@ -23,7 +23,6 @@ import java.util.HashMap; import java.util.WeakHashMap; final class JavaThreadPoolFactory { - public JavaThreadPoolFactory() {} public IThreadPool createThreadPool() { return new JavaThreadPool(this); diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/PendingRequests.java b/jurt/com/sun/star/lib/uno/protocols/urp/PendingRequests.java index 18005bd..2492644 100644 --- a/jurt/com/sun/star/lib/uno/protocols/urp/PendingRequests.java +++ b/jurt/com/sun/star/lib/uno/protocols/urp/PendingRequests.java @@ -24,7 +24,6 @@ import java.util.HashMap; import java.util.Stack; final class PendingRequests { - public PendingRequests() {} public synchronized void push(ThreadId tid, Item item) { Stack<Item> s = map.get(tid); diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java index 666a8a0..7debc6f6 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/OutputMethods.java @@ -25,11 +25,6 @@ package net.adaptivebox.global; public class OutputMethods { - public OutputMethods() { - } - - - public static void outputVector(double[] vector){ for(int i=0;i<vector.length;i++){ System.out.print(vector[i]+" \t"); diff --git a/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java b/odk/examples/DevelopersGuide/Charts/JavaSampleChartAddIn.java index 31b3cf8..3698af7 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 cdfa4af..3e28af5 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 2272d1b..02ca5d9 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 684a95d..86d587e 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 77490f8..48e2911 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 c98124d..b7d7e97 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 1818418..1dcbb1e 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 5f0e975..1d73270 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 9b5962e..a68ba22 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 ba78fc7..de5b7c2 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 de6adbc..2bc0a2c 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. */ diff --git a/qadevOOo/runner/complexlib/ShowTargets.java b/qadevOOo/runner/complexlib/ShowTargets.java index 7a82674..210ad33 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 00d08b4..1a13fd0 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 240e973..21b2632 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 b0b9e41..e922025 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 1905e6a..4d7e826 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 fe8595e9..74f16d8 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 7fd2fb0..a00eee2 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 5c4ae5a..78430d1 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 3f50ccf..fcd4256 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 5ca0b9b..c700000 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 3514502..3b2ac9c 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 9b0ecd4..800d745 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 c59edbf..df544e3 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 44ae0f9..fb181d9 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( diff --git a/reportbuilder/java/org/libreoffice/report/function/metadata/TitleFunction.java b/reportbuilder/java/org/libreoffice/report/function/metadata/TitleFunction.java index fdc7ed0..c4cd953 100644 --- a/reportbuilder/java/org/libreoffice/report/function/metadata/TitleFunction.java +++ b/reportbuilder/java/org/libreoffice/report/function/metadata/TitleFunction.java @@ -30,10 +30,6 @@ import org.pentaho.reporting.libraries.formula.typing.coretypes.TextType; public class TitleFunction implements Function { - public TitleFunction() - { - } - public String getCanonicalName() { return "TITLE"; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportAddIn.java b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportAddIn.java index fc4e689..0be9967 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportAddIn.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportAddIn.java @@ -27,10 +27,6 @@ import org.libreoffice.report.pentaho.expressions.SumExpression; public class PentahoReportAddIn { - public PentahoReportAddIn() - { - } - public SumExpression createExpression(final int expression) { return (expression == 0) ? new SumExpression() : null; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/expressions/SumExpression.java b/reportbuilder/java/org/libreoffice/report/pentaho/expressions/SumExpression.java index 9158ce1..1ded228 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/expressions/SumExpression.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/expressions/SumExpression.java @@ -24,10 +24,6 @@ public class SumExpression private Object[] parameters; - public SumExpression() - { - } - public Object getParameters() { return parameters; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java index d7d4e10..edc19e6 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java @@ -45,10 +45,6 @@ public class FixedTextLayoutController extends AbstractReportElementLayoutController { - public FixedTextLayoutController() - { - } - @Override public boolean isValueChanged() { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java index a3c0241..7f1470e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormattedTextLayoutController.java @@ -47,10 +47,6 @@ public class FormattedTextLayoutController private static final Log LOGGER = LogFactory.getLog(FormattedTextLayoutController.class); - public FormattedTextLayoutController() - { - } - @Override public boolean isValueChanged() { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java index 31dda96..55dcff3 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java @@ -62,10 +62,6 @@ public class ImageElementLayoutController private static final Log LOGGER = LogFactory.getLog(ImageElementLayoutController.class); private ImageElementContext context; - public ImageElementLayoutController() - { - } - @Override protected LayoutController delegateContentGeneration(final ReportTarget target) throws ReportProcessingException, ReportDataFactoryException, diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ObjectOleLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ObjectOleLayoutController.java index 58c9468..a7e4d4d 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ObjectOleLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ObjectOleLayoutController.java @@ -40,10 +40,6 @@ import org.jfree.report.structure.Element; public class ObjectOleLayoutController extends AbstractReportElementLayoutController { - public ObjectOleLayoutController() - { - } - @Override public boolean isValueChanged() { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeDetailLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeDetailLayoutController.java index 6c9d5ab..659417c 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeDetailLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeDetailLayoutController.java @@ -44,10 +44,6 @@ public class OfficeDetailLayoutController extends SectionLayoutController private boolean waitForJoin; private int state; - public OfficeDetailLayoutController() - { - } - /** * Initializes the layout controller. This method is called exactly once. It * is the creators responsibility to call this method. diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java index 42c81a0..b8fc777 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController.java @@ -50,10 +50,6 @@ public class OfficeGroupInstanceSectionLayoutController extends SectionLayoutCon private int state; private boolean waitForJoin; - public OfficeGroupInstanceSectionLayoutController() - { - } - @Override public void initialize(final Object node, final FlowController flowController, final LayoutController parent) throws DataSourceException, ReportDataFactoryException, ReportProcessingException diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupLayoutController.java index ca877c3..17b488e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupLayoutController.java @@ -51,10 +51,6 @@ public class OfficeGroupLayoutController extends SectionLayoutController private boolean repeatHeader; private boolean repeatFooter; - public OfficeGroupLayoutController() - { - } - /** * Initializes the layout controller. This method is called exactly once. It * is the creators responsibility to call this method. diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java index 4cc7b16..38cd53f 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java @@ -44,10 +44,6 @@ import org.jfree.report.structure.Element; public class OfficeGroupSectionLayoutController extends SectionLayoutController { - public OfficeGroupSectionLayoutController() - { - } - @Override protected LayoutController startElement(final ReportTarget target) throws DataSourceException, ReportProcessingException, ReportDataFactoryException diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficePageSectionLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficePageSectionLayoutController.java index 5442c4d..187c170 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficePageSectionLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficePageSectionLayoutController.java @@ -33,10 +33,6 @@ import org.jfree.report.structure.Element; public class OfficePageSectionLayoutController extends SectionLayoutController { - public OfficePageSectionLayoutController() - { - } - @Override protected AttributeMap computeAttributes(final FlowController flowController, final Element element, final ReportTarget reportTarget) throws DataSourceException { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeReportLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeReportLayoutController.java index 7e25833..dbd63d2 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeReportLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeReportLayoutController.java @@ -56,10 +56,6 @@ public class OfficeReportLayoutController extends ElementLayoutController private int state; private VariablesCollection variablesCollection; - public OfficeReportLayoutController() - { - } - /** * Initializes the layout controller. This method is called exactly once. It * is the creators responsibility to call this method. diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableLayoutController.java index b217e22..e2c2b5f 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableLayoutController.java @@ -38,10 +38,6 @@ import org.jfree.report.util.IntegerCache; public class OfficeTableLayoutController extends SectionLayoutController { - public OfficeTableLayoutController() - { - } - @Override protected AttributeMap computeAttributes(final FlowController fc, final Element element, final ReportTarget target) throws DataSourceException diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java index 48180b1..e31375e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java @@ -45,10 +45,6 @@ public class OfficeTableTemplateLayoutController extends SectionLayoutController private Node[] nodes; - public OfficeTableTemplateLayoutController() - { - } - /** * Initializes the layout controller. This method is called exactly once. It is the creators responsibility to call * this method. diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java index 5cd4470..937dec8 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java @@ -52,10 +52,6 @@ import org.pentaho.reporting.libraries.base.util.ObjectUtilities; public class TableCellLayoutController extends SectionLayoutController { - public TableCellLayoutController() - { - } - @Override protected AttributeMap computeAttributes(final FlowController fc, final Element element, diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesDeclarationLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesDeclarationLayoutController.java index 7edacec..beb02c2 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesDeclarationLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/VariablesDeclarationLayoutController.java @@ -48,10 +48,6 @@ public class VariablesDeclarationLayoutController private boolean processed; - public VariablesDeclarationLayoutController() - { - } - private OfficeRepeatingStructureLayoutController getRepeatingParent() { LayoutController parent = getParent(); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/DataStyle.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/DataStyle.java index 2a2155b..1158cca 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/DataStyle.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/DataStyle.java @@ -29,10 +29,6 @@ import org.jfree.report.structure.Section; public class DataStyle extends Section { - public DataStyle() - { - } - public String getStyleName() { return (String) getAttribute(OfficeNamespaces.STYLE_NS, "name"); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/FontFaceElement.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/FontFaceElement.java index 6ea79a3..0f58ef3 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/FontFaceElement.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/FontFaceElement.java @@ -29,10 +29,6 @@ import org.jfree.report.structure.Section; public class FontFaceElement extends Section { - public FontFaceElement() - { - } - public String getStyleName() { return (String) getAttribute(OfficeNamespaces.STYLE_NS, "name"); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/FormattedTextElement.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/FormattedTextElement.java index dd1b273..30262fd 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/FormattedTextElement.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/FormattedTextElement.java @@ -32,10 +32,6 @@ public class FormattedTextElement extends ReportElement private FormulaExpression valueExpression; - public FormattedTextElement() - { - } - public FormulaExpression getValueExpression() { return valueExpression; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/ImageElement.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/ImageElement.java index e15f66d..46462f8 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/ImageElement.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/ImageElement.java @@ -32,10 +32,6 @@ public class ImageElement extends ReportElement private FormulaExpression formula; - public ImageElement() - { - } - public FormulaExpression getFormula() { return formula; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDetailSection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDetailSection.java index 2307d1d..aaf8f7d 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDetailSection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDetailSection.java @@ -27,7 +27,4 @@ import org.jfree.report.structure.DetailSection; public class OfficeDetailSection extends DetailSection { - public OfficeDetailSection() - { - } } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDocument.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDocument.java index 8e8e475..e7da215 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDocument.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeDocument.java @@ -43,10 +43,6 @@ public class OfficeDocument extends JFreeReport this.jobProperties = jobProperties; } - public OfficeDocument() - { - } - public OfficeStylesCollection getStylesCollection() { return stylesCollection; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroup.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroup.java index 79ea585..201381d 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroup.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroup.java @@ -33,10 +33,6 @@ import org.jfree.report.structure.Section; public class OfficeGroup extends Section { - public OfficeGroup() - { - } - public boolean isStartNewColumn() { return OfficeToken.TRUE.equals(getAttribute(OfficeNamespaces.OOREPORT_NS, "start-new-column")); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupInstanceSection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupInstanceSection.java index d4c30ea..cf8728f 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupInstanceSection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupInstanceSection.java @@ -29,10 +29,6 @@ public class OfficeGroupInstanceSection extends Group private String sortingExpression; - public OfficeGroupInstanceSection() - { - } - public void setSortingExpression(String s) { sortingExpression=s; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupSection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupSection.java index d4e7818..d49c960 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupSection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeGroupSection.java @@ -31,10 +31,6 @@ import org.jfree.report.structure.Section; public class OfficeGroupSection extends Section { - public OfficeGroupSection() - { - } - public boolean isRepeatSection() { final Object repeatFlag = diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeMasterPage.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeMasterPage.java index 8cdb508..43216f6 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeMasterPage.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeMasterPage.java @@ -30,10 +30,6 @@ import org.jfree.report.structure.Section; public class OfficeMasterPage extends Section { - public OfficeMasterPage() - { - } - public String getStyleName() { return (String) getAttribute(OfficeNamespaces.STYLE_NS, "name"); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeReport.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeReport.java index 589d748..c292f1f 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeReport.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeReport.java @@ -62,10 +62,6 @@ public class OfficeReport extends Element this.preBodySection = preBodySection; } - public OfficeReport() - { - } - public Node getPageHeader() { return pageHeader; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeTableSection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeTableSection.java index 5ebc138..821fb3b 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeTableSection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeTableSection.java @@ -26,7 +26,4 @@ import org.jfree.report.structure.Section; public class OfficeTableSection extends Section { - public OfficeTableSection() - { - } } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/PageSection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/PageSection.java index f9997e2..7323397 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/PageSection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/PageSection.java @@ -32,10 +32,6 @@ public class PageSection extends Section private static final String NOT_WITH_REPORT_HEADER_NOR_FOOTER = "not-with-report-header-nor-footer"; - public PageSection() - { - } - public static boolean isPrintWithReportHeader(final AttributeMap attrs) { final String pagePrintOption = (String) attrs.getAttribute(OfficeNamespaces.OOREPORT_NS, "page-print-option"); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/TableCellElement.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/TableCellElement.java index 7d9bc19..4acc89f 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/TableCellElement.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/TableCellElement.java @@ -27,7 +27,4 @@ import org.jfree.report.structure.Section; public class TableCellElement extends Section { - public TableCellElement() - { - } } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/ElementReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/ElementReadHandler.java index 012daff..fdec734 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/ElementReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/ElementReadHandler.java @@ -31,10 +31,6 @@ import org.xml.sax.SAXException; public abstract class ElementReadHandler extends AbstractXmlReadHandler { - public ElementReadHandler() - { - } - /** * Starts parsing. * diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeDocumentXmlResourceFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeDocumentXmlResourceFactory.java index c7f04ea..55f8cf3 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeDocumentXmlResourceFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeDocumentXmlResourceFactory.java @@ -30,10 +30,6 @@ import org.jfree.report.modules.factories.report.base.JFreeReportXmlResourceFact public class OfficeDocumentXmlResourceFactory extends JFreeReportXmlResourceFactory { - public OfficeDocumentXmlResourceFactory() - { - } - @Override public Class getFactoryType() { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeStylesXmlResourceFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeStylesXmlResourceFactory.java index 36ab76e..ae05cff 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeStylesXmlResourceFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/OfficeStylesXmlResourceFactory.java @@ -33,10 +33,6 @@ import org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory; public class OfficeStylesXmlResourceFactory extends AbstractXmlResourceFactory { - public OfficeStylesXmlResourceFactory() - { - } - @Override protected Configuration getConfiguration() { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarStyleXmlFactoryModule.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarStyleXmlFactoryModule.java index bf793e1..be7ef7a 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarStyleXmlFactoryModule.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarStyleXmlFactoryModule.java @@ -27,10 +27,6 @@ import org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler; public class StarStyleXmlFactoryModule implements XmlFactoryModule { - public StarStyleXmlFactoryModule() - { - } - public XmlReadHandler createReadHandler(final XmlDocumentInfo documentInfo) { return new DocumentStylesReadHandler(); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarXmlFactoryModule.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarXmlFactoryModule.java index 78f0633..f3a7114 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarXmlFactoryModule.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/StarXmlFactoryModule.java @@ -27,10 +27,6 @@ import org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler; public class StarXmlFactoryModule implements XmlFactoryModule { - public StarXmlFactoryModule() - { - } - public XmlReadHandler createReadHandler(final XmlDocumentInfo documentInfo) { return new DocumentContentReadHandler(); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/office/DocumentContentReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/office/DocumentContentReadHandler.java index d9b2d09..3af24d3 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/office/DocumentContentReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/office/DocumentContentReadHandler.java @@ -55,10 +55,6 @@ public class DocumentContentReadHandler extends AbstractXmlReadHandler private BodyReadHandler bodyReadHandler; private OfficeStylesCollection officeStylesCollection; - public DocumentContentReadHandler() - { - } - /** * Starts parsing. * diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java index 86194d5..6b2f54f 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FunctionReadHandler.java @@ -40,10 +40,6 @@ public class FunctionReadHandler extends AbstractXmlReadHandler private Expression expression; - public FunctionReadHandler() - { - } - /** * Starts parsing. * diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/ColorMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/ColorMapper.java index 9e19b8e..71fa5e6 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/ColorMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/ColorMapper.java @@ -27,10 +27,6 @@ import org.jfree.layouting.util.ColorUtil; public class ColorMapper implements StyleMapper { - public ColorMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontSizeMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontSizeMapper.java index 683a79f..ec8129b 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontSizeMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontSizeMapper.java @@ -25,10 +25,6 @@ import org.jfree.layouting.input.style.keys.font.FontStyleKeys; public class FontSizeMapper implements StyleMapper { - public FontSizeMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontStyleMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontStyleMapper.java index ebe7cb6..2404432 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontStyleMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontStyleMapper.java @@ -25,10 +25,6 @@ import org.jfree.layouting.input.style.keys.font.FontStyleKeys; public class FontStyleMapper implements StyleMapper { - public FontStyleMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java index d9a5edc..cc3ff1e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java @@ -25,10 +25,6 @@ import org.jfree.layouting.input.style.keys.font.FontStyleKeys; public class FontWeightMapper implements StyleMapper { - public FontWeightMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyGenericMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyGenericMapper.java index fd9f3f7..fa61ee0 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyGenericMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyGenericMapper.java @@ -29,10 +29,6 @@ import org.jfree.layouting.input.style.values.CSSValueList; public class FontFamilyGenericMapper implements StyleMapper { - public FontFamilyGenericMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyMapper.java index 7268b29..74fc88e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontFamilyMapper.java @@ -29,10 +29,6 @@ import org.jfree.layouting.input.style.values.CSSValueList; public class FontFamilyMapper implements StyleMapper { - public FontFamilyMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontNameMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontNameMapper.java index fbf0aa2..93f564e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontNameMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontNameMapper.java @@ -27,10 +27,6 @@ import org.jfree.layouting.input.style.values.CSSStringValue; public class FontNameMapper implements StyleMapper { - public FontNameMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontReliefMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontReliefMapper.java index c8f397e..5929f35 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontReliefMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/FontReliefMapper.java @@ -25,10 +25,6 @@ import org.jfree.layouting.input.style.keys.font.FontStyleKeys; public class FontReliefMapper implements StyleMapper { - public FontReliefMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextEmphasizeMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextEmphasizeMapper.java index f3cdb77..e9e6e46 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextEmphasizeMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextEmphasizeMapper.java @@ -24,10 +24,6 @@ import org.jfree.layouting.input.style.CSSDeclarationRule; public class TextEmphasizeMapper implements StyleMapper { - public TextEmphasizeMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, final CSSDeclarationRule targetRule) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextUnderlineColorMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextUnderlineColorMapper.java index 2be734d..68598d2 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextUnderlineColorMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/style/TextUnderlineColorMapper.java @@ -27,10 +27,6 @@ import org.jfree.layouting.util.ColorUtil; public class TextUnderlineColorMapper implements StyleMapper { - public TextUnderlineColorMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/RowHeightMapper.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/RowHeightMapper.java index 1d48b69..238b216 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/RowHeightMapper.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/stylemapper/table/RowHeightMapper.java @@ -29,10 +29,6 @@ import org.jfree.layouting.input.style.keys.box.BoxStyleKeys; public class RowHeightMapper implements StyleMapper { - public RowHeightMapper() - { - } - public void updateStyle(final String uri, final String attrName, final String attrValue, diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/xlink/XLinkReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/xlink/XLinkReadHandler.java index 5c9050f..00a5b5e 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/xlink/XLinkReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/xlink/XLinkReadHandler.java @@ -36,10 +36,6 @@ public class XLinkReadHandler extends AbstractXmlReadHandler private String show; private String actuate; - public XLinkReadHandler() - { - } - /** * Starts parsing. * diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/styles/LengthCalculator.java b/reportbuilder/java/org/libreoffice/report/pentaho/styles/LengthCalculator.java index da263ee..bfc34a8 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/styles/LengthCalculator.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/styles/LengthCalculator.java @@ -36,10 +36,6 @@ public class LengthCalculator private double point; private double pixel; - public LengthCalculator() - { - } - public void add(final CSSNumericValue value) { if (value == null) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlFactoryModule.java b/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlFactoryModule.java index 979b4c1..fd19968 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlFactoryModule.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlFactoryModule.java @@ -32,10 +32,6 @@ public class StyleMapperXmlFactoryModule implements XmlFactoryModule public static final String NAMESPACE = "http://jfreereport.sourceforge.net/namespaces/engine/openoffice/stylemapper"; - public StyleMapperXmlFactoryModule() - { - } - public XmlReadHandler createReadHandler(final XmlDocumentInfo documentInfo) { return new StyleMappingDocumentReadHandler(); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlResourceFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlResourceFactory.java index 03ce26f..b3d28c5 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlResourceFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMapperXmlResourceFactory.java @@ -30,10 +30,6 @@ import org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory; public class StyleMapperXmlResourceFactory extends AbstractXmlResourceFactory { - public StyleMapperXmlResourceFactory() - { - } - @Override protected Configuration getConfiguration() { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMappingReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMappingReadHandler.java index 09a1b13..3360f61 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMappingReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/styles/StyleMappingReadHandler.java @@ -33,10 +33,6 @@ public class StyleMappingReadHandler extends AbstractXmlReadHandler private StyleMappingRule rule; - public StyleMappingReadHandler() - { - } - /** * Starts parsing. * diff --git a/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java b/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java index fef19cf..b31c040 100644 --- a/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java +++ b/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java @@ -637,7 +637,6 @@ public final class TypeDescription implements ITypeDescription { } private static final class List { - public List() {} public void add(TypeDescription desc) { if (!list.contains(desc)) { @@ -654,7 +653,6 @@ public final class TypeDescription implements ITypeDescription { } private static final class Cache { - public Cache() {} public TypeDescription get(String typeName) { synchronized (map) { diff --git a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java index 5f598d5..35a9958 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 adde646..7fa5fa7 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 ba1ca95..c579dac 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 5d7a655..e86f5e0 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 91d9638..e0355ed 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 diff --git a/smoketest/com/sun/star/comp/smoketest/TestExtension.java b/smoketest/com/sun/star/comp/smoketest/TestExtension.java index 44be2a7..5e4d797 100644 --- a/smoketest/com/sun/star/comp/smoketest/TestExtension.java +++ b/smoketest/com/sun/star/comp/smoketest/TestExtension.java @@ -40,11 +40,6 @@ public class TestExtension { static private final String __serviceName = "com.sun.star.comp.smoketest.TestExtension"; - /** The constructor of the inner class has a XMultiServiceFactory parameter. - */ - public _TestExtension() { - } - /** This method returns an array of all supported service names. * @return Array of supported service names. */ diff --git a/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java b/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java index fe4f346..7cdd647 100644 --- a/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java +++ b/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java @@ -33,9 +33,6 @@ public class SmoketestCommandEnvironment extends WeakBase static private final String __serviceName = "com.sun.star.deployment.test.SmoketestCommandEnvironment"; - public SmoketestCommandEnvironment() { - } - public static String[] getServiceNames() { String[] sSupportedServiceNames = { __serviceName}; return sSupportedServiceNames; diff --git a/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java b/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java index 8f82364..fb55817 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java +++ b/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java @@ -39,11 +39,6 @@ public class EditPageParser extends HTMLEditorKit.ParserCallback protected int m_nNoArticleInd = -1; protected int m_nErrorInd = -1; - /** Creates a new instance of WikiHTMLParser */ - public EditPageParser() - { - } - @Override public void handleComment( char[] data,int pos ) { diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java index f86d838..c5f6a43 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java @@ -39,11 +39,6 @@ class WikiProtocolSocketFactory implements SecureProtocolSocketFactory { private SSLContext m_aSSLContext; - public WikiProtocolSocketFactory() - { - super(); - } - private synchronized SSLContext GetNotSoSecureSSLContext() { if ( m_aSSLContext == null ) diff --git a/toolkit/qa/complex/toolkit/awtgrid/DummyColumn.java b/toolkit/qa/complex/toolkit/awtgrid/DummyColumn.java index 4cfbe3f..d86df3f 100644 --- a/toolkit/qa/complex/toolkit/awtgrid/DummyColumn.java +++ b/toolkit/qa/complex/toolkit/awtgrid/DummyColumn.java @@ -30,10 +30,6 @@ import com.sun.star.util.XCloneable; */ public class DummyColumn implements XGridColumn { - public DummyColumn() - { - } - public Object getIdentifier() { throw new UnsupportedOperationException( "Not supported yet." ); diff --git a/toolkit/qa/complex/toolkit/awtgrid/GridDataListener.java b/toolkit/qa/complex/toolkit/awtgrid/GridDataListener.java index c10171e..6ff0975 100644 --- a/toolkit/qa/complex/toolkit/awtgrid/GridDataListener.java +++ b/toolkit/qa/complex/toolkit/awtgrid/GridDataListener.java @@ -25,10 +25,6 @@ import static org.junit.Assert.*; final public class GridDataListener implements XGridDataListener { - public GridDataListener() - { - } - public void rowsInserted( GridDataEvent i_event ) { assertNull( m_rowInsertionEvent ); diff --git a/toolkit/test/accessibility/AccessibleUNOHandler.java b/toolkit/test/accessibility/AccessibleUNOHandler.java index 353cca4..9f09492 100644 --- a/toolkit/test/accessibility/AccessibleUNOHandler.java +++ b/toolkit/test/accessibility/AccessibleUNOHandler.java @@ -42,10 +42,6 @@ class AccessibleUNOHandler } } - public AccessibleUNOHandler() - { - } - private XServiceInfo GetServiceInfo (AccessibleTreeNode aNode) { XServiceInfo xServiceInfo = null; diff --git a/toolkit/test/accessibility/FrameActionListener.java b/toolkit/test/accessibility/FrameActionListener.java index c031e09..55b734e 100644 --- a/toolkit/test/accessibility/FrameActionListener.java +++ b/toolkit/test/accessibility/FrameActionListener.java @@ -21,10 +21,6 @@ import com.sun.star.frame.XFrameActionListener; public class FrameActionListener implements XFrameActionListener { - public FrameActionListener () - { - } - public void frameAction (com.sun.star.frame.FrameActionEvent aEvent) { System.out.println ("frame action"); diff --git a/toolkit/test/accessibility/InformationWriter.java b/toolkit/test/accessibility/InformationWriter.java index 90e7f73..8b1a373 100644 --- a/toolkit/test/accessibility/InformationWriter.java +++ b/toolkit/test/accessibility/InformationWriter.java @@ -42,10 +42,6 @@ import com.sun.star.accessibility.XAccessibleStateSet; public class InformationWriter { - public InformationWriter () - { - } - public void drawPageTest (XInterface xPage) { try diff --git a/unotest/source/java/org/openoffice/test/FileHelper.java b/unotest/source/java/org/openoffice/test/FileHelper.java index 6fd4630..8b3d704 100644 --- a/unotest/source/java/org/openoffice/test/FileHelper.java +++ b/unotest/source/java/org/openoffice/test/FileHelper.java @@ -23,9 +23,6 @@ package org.openoffice.test; */ public class FileHelper { - public FileHelper() - { - } /** * Concat a _sRelativePathToAdd to a _sPath and append a '/' to the _sPath only if need. * diff --git a/wizards/com/sun/star/wizards/common/Desktop.java b/wizards/com/sun/star/wizards/common/Desktop.java index a9f0293..5d71d92 100644 --- a/wizards/com/sun/star/wizards/common/Desktop.java +++ b/wizards/com/sun/star/wizards/common/Desktop.java @@ -36,11 +36,6 @@ import com.sun.star.i18n.XCharacterClassification; public class Desktop { - /** Creates a new instance of Desktop */ - public Desktop() - { - } - public static XDesktop getDesktop(XMultiServiceFactory xMSF) { com.sun.star.uno.XInterface xInterface = null; diff --git a/wizards/com/sun/star/wizards/common/Helper.java b/wizards/com/sun/star/wizards/common/Helper.java index e5e009d..cc5c243 100644 --- a/wizards/com/sun/star/wizards/common/Helper.java +++ b/wizards/com/sun/star/wizards/common/Helper.java @@ -35,11 +35,6 @@ import com.sun.star.util.XNumberFormatter; public class Helper { - /** Creates a new instance of Helper */ - public Helper() - { - } - public static long convertUnoDatetoInteger(com.sun.star.util.Date DateValue) { java.util.Calendar oCal = java.util.Calendar.getInstance(); diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java index 940b17d..f4bb359 100644 --- a/wizards/com/sun/star/wizards/common/JavaTools.java +++ b/wizards/com/sun/star/wizards/common/JavaTools.java @@ -28,17 +28,6 @@ import java.net.URL; public class JavaTools { - /** Creates a new instance of JavaTools */ - public JavaTools() - { - } - - - - - - - public static String[] ArrayOutOfMultiDimArray(String _sMultiDimArray[][], int _index) { String[] sRetArray = null; diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java index 890a373..f78ae3c 100644 --- a/wizards/com/sun/star/wizards/document/OfficeDocument.java +++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java @@ -52,13 +52,6 @@ public class OfficeDocument private XWindowPeer xWindowPeer; - /** Creates a new instance of OfficeDocument */ - public OfficeDocument() - { - } - - - public static void dispose(XMultiServiceFactory xMSF, XComponent xComponent) { try diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java index f77a284..78c19ea 100644 --- a/wizards/com/sun/star/wizards/ui/ImageList.java +++ b/wizards/com/sun/star/wizards/ui/ImageList.java @@ -101,8 +101,6 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener private class OMouseListener implements XMouseListener { - public OMouseListener() - {} public void mousePressed(MouseEvent arg0) { focus(getImageIndexFor(getSelected())); diff --git a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java index 295bcab..0a20583 100644 --- a/wizards/com/sun/star/wizards/ui/event/AbstractListener.java +++ b/wizards/com/sun/star/wizards/ui/event/AbstractListener.java @@ -43,11 +43,6 @@ public class AbstractListener private HashMap<String,MethodInvocation> mHashtable = new HashMap<String,MethodInvocation>(); - /** Creates a new instance of AbstractListener */ - public AbstractListener() - { - } - public void add(String componentName, String eventName, String methodName, Object target) { try diff --git a/wizards/com/sun/star/wizards/ui/event/CommonListener.java b/wizards/com/sun/star/wizards/ui/event/CommonListener.java index d0387f7..8b455b5 100644 --- a/wizards/com/sun/star/wizards/ui/event/CommonListener.java +++ b/wizards/com/sun/star/wizards/ui/event/CommonListener.java @@ -23,11 +23,6 @@ import com.sun.star.lang.EventObject; public class CommonListener extends AbstractListener implements XActionListener, XItemListener, XTextListener, EventNames, XWindowListener, XMouseListener, XFocusListener, XKeyListener { - /** Creates a new instance of CommonListener */ - public CommonListener() - { - } - /** * Implementation of com.sun.star.awt.XActionListener */ commit 6884ef6317ddc29a713a342fb102e28ebc8fa5cc Author: Noel Grandin <n...@peralex.com> Date: Fri Aug 15 16:28:22 2014 +0200 java: don't catch and then just rethrow an exception without doing anything else useful Change-Id: I5803d84d46e0a70e1759f2202e2c2273087f8723 diff --git a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java index f2d8e4f..559fbd8 100644 --- a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java +++ b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java @@ -134,8 +134,6 @@ public class OptionsEventHandler { if (sMethod.equals("external_event") ){ try { return handleExternalEvent(aWindow, aEventObject); - } catch (com.sun.star.uno.RuntimeException re) { - throw re; } catch (com.sun.star.uno.Exception e) { throw new WrappedTargetException(sMethod, this, e); } diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java index 89d08bb..e51ed23 100644 --- a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java +++ b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java @@ -32,6 +32,7 @@ import com.sun.star.io.XTruncate; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lib.uno.helper.WeakBase; +import com.sun.star.lib.util.ExceptionHelper; import com.sun.star.uno.AnyConverter; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XComponentContext; @@ -109,17 +110,13 @@ public final class OwnEmbeddedObject extends WeakBase XStorage xOwnStorage = xParentStorage.openStorageElement( aEntryName, com.sun.star.embed.ElementModes.READWRITE ); SwitchOwnPersistence( xParentStorage, xOwnStorage, aEntryName ); } - catch( com.sun.star.uno.RuntimeException e ) - { - throw e; - } catch( com.sun.star.io.IOException e ) { throw e; } catch( com.sun.star.uno.Exception e ) { - throw new com.sun.star.io.IOException( "Error while switching object storage!" ); + throw ExceptionHelper.initCause(new com.sun.star.io.IOException( "Error while switching object storage!" ), e); } } } @@ -170,17 +167,13 @@ public final class OwnEmbeddedObject extends WeakBase xStreamComp.dispose(); } - catch( com.sun.star.uno.RuntimeException e ) - { - throw e; - } catch( com.sun.star.io.IOException e ) { throw e; } catch( com.sun.star.uno.Exception e ) { - throw new com.sun.star.io.IOException( "Error while switching object storage!" ); + throw ExceptionHelper.initCause(new com.sun.star.io.IOException( "Error while switching object storage!" ), e); } } @@ -266,17 +259,13 @@ public final class OwnEmbeddedObject extends WeakBase return aResult; } - catch( com.sun.star.uno.RuntimeException e ) - { - throw e; - } catch( com.sun.star.io.IOException e ) { throw e; } catch( com.sun.star.uno.Exception e ) { - throw new com.sun.star.io.IOException( "Error while reading one of object streams!" ); + throw ExceptionHelper.initCause(new com.sun.star.io.IOException( "Error while reading one of object streams!" ), e); } } diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java index c88633b..9c7ff79 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java @@ -218,38 +218,31 @@ public final class WikiOptionsEventHandlerImpl extends WeakBase { if ( sMethod.equals( sExternalEvent ) ) { - try + String sEvent = AnyConverter.toString( aEventObject ); + if ( sEvent != null ) { - String sEvent = AnyConverter.toString( aEventObject ); - if ( sEvent != null ) + if ( sEvent.equals( sOk ) ) + { + if ( m_aSettings != null ) + m_aSettings.storeConfiguration(); + } + else if ( sEvent.equals( sInitialize ) || sEvent.equals( sBack ) ) { - if ( sEvent.equals( sOk ) ) + if ( sEvent.equals( sInitialize ) ) { - if ( m_aSettings != null ) - m_aSettings.storeConfiguration(); + m_xDialog = UnoRuntime.queryInterface( XDialog.class, xWindow ); + m_xControlContainer = UnoRuntime.queryInterface( XControlContainer.class, m_xDialog ); + m_aSettings = Settings.getSettings( m_xContext ); + m_aSettings.loadConfiguration(); // throw away all the noncommited changes + InitStrings(); } - else if ( sEvent.equals( sInitialize ) || sEvent.equals( sBack ) ) - { - if ( sEvent.equals( sInitialize ) ) - { - m_xDialog = UnoRuntime.queryInterface( XDialog.class, xWindow ); - m_xControlContainer = UnoRuntime.queryInterface( XControlContainer.class, m_xDialog ); - m_aSettings = Settings.getSettings( m_xContext ); - m_aSettings.loadConfiguration(); // throw away all the noncommited changes - InitStrings(); - } - else if ( m_aSettings != null ) - m_aSettings.loadConfiguration(); // throw away all the noncommited changes + else if ( m_aSettings != null ) + m_aSettings.loadConfiguration(); // throw away all the noncommited changes - RefreshView(); - CheckButtonState(); - } + RefreshView(); + CheckButtonState(); } } - catch ( com.sun.star.uno.RuntimeException r ) - { - throw r; - } } else if ( sMethod.equals( sAdd ) ) { diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java index 9876c18..89af4ba 100644 --- a/testtools/com/sun/star/comp/bridge/TestComponent.java +++ b/testtools/com/sun/star/comp/bridge/TestComponent.java @@ -917,16 +917,9 @@ public class TestComponent { public int getRuntimeException() throws com.sun.star.uno.RuntimeException { - try - { - dothrow( new com.sun.star.uno.RuntimeException( - _string, _xInterface ) ); - return 0; // dummy - } - catch (com.sun.star.uno.RuntimeException t) - { - throw t; - } + dothrow( new com.sun.star.uno.RuntimeException( + _string, _xInterface ) ); + return 0; // dummy } public void setRuntimeException(int _runtimeexception) throws com.sun.star.uno.RuntimeException { diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/EmbeddedXMLObject.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/EmbeddedXMLObject.java index db6c9e0..bbf0128 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/EmbeddedXMLObject.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/EmbeddedXMLObject.java @@ -200,12 +200,6 @@ public class EmbeddedXMLObject extends EmbeddedObject { } } - catch (SAXException se) { - throw se; - } - catch (IOException ioe) { - throw ioe; - } catch (ParserConfigurationException pce) { throw new SAXException(pce); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits