From ea76fb4fad33713bb4308be4025fb293b455ed8a Mon Sep 17 00:00:00 2001 From: rnveach Date: Thu, 26 Jan 2023 20:31:29 -0500 Subject: [PATCH] Issue #440: resolves EmptyPublicCtorInClassCheck --- .../core/transformer/CheckstyleSetting.java | 6 ------ .../transformer/FormatterConfiguration.java | 18 ++++++------------ 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/CheckstyleSetting.java b/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/CheckstyleSetting.java index ffeec4b2e..bbb6d8a84 100644 --- a/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/CheckstyleSetting.java +++ b/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/CheckstyleSetting.java @@ -36,12 +36,6 @@ public class CheckstyleSetting { /** Map which holds all treewalker-modules of the configuration. */ private final HashMap> mTreeWalkerModules = new HashMap<>(); - /** - * Creates new instance of class CheckstyleSetting. - */ - public CheckstyleSetting() { - } - /** * Method for adding a new treewalker-module. * diff --git a/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/FormatterConfiguration.java b/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/FormatterConfiguration.java index 576b553c6..6c8e3b1d1 100644 --- a/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/FormatterConfiguration.java +++ b/net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/transformer/FormatterConfiguration.java @@ -27,7 +27,7 @@ /** * Class containing all configurations for a eclipse-formatter-profile. - * + * * @author Lukas Frena */ public class FormatterConfiguration { @@ -37,15 +37,9 @@ public class FormatterConfiguration { /** Map containing all eclipse formatter-settings. */ private final Map mFormatterSettings = new HashMap<>(); - /** - * Creates new instance of class FormatterConfiguration. - */ - public FormatterConfiguration() { - } - /** * Method for adding a new global setting. - * + * * @param setting * The global setting. * @param val @@ -57,7 +51,7 @@ public void addCleanupSetting(final String setting, final String val) { /** * Method for adding a new local setting. - * + * * @param setting * The local setting. * @param val @@ -69,7 +63,7 @@ public void addFormatterSetting(final String setting, final String val) { /** * Method for returning the stored global Settings. - * + * * @return Returns the global settings. */ public Map getCleanupSettings() { @@ -78,7 +72,7 @@ public Map getCleanupSettings() { /** * Method for returning the stored local Settings. - * + * * @return Returns the local settings. */ public Map getFormatterSettings() { @@ -87,7 +81,7 @@ public Map getFormatterSettings() { /** * Method for adding new configuration parameters. - * + * * @param settings * A eclipse-formatter-configuration. */