Skip to content

Commit

Permalink
Issue #440: resolves EmptyPublicCtorInClassCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach authored and Calixte committed Jan 28, 2023
1 parent c432cf0 commit 68d0a22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ public class CheckstyleSetting {
/** Map which holds all treewalker-modules of the configuration. */
private final HashMap<String, HashMap<String, String>> mTreeWalkerModules = new HashMap<>();

/**
* Creates new instance of class CheckstyleSetting.
*/
public CheckstyleSetting() {
}

/**
* Method for adding a new treewalker-module.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* Class containing all configurations for a eclipse-formatter-profile.
*
*
* @author Lukas Frena
*/
public class FormatterConfiguration {
Expand All @@ -37,15 +37,9 @@ public class FormatterConfiguration {
/** Map containing all eclipse formatter-settings. */
private final Map<String, String> 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
Expand All @@ -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
Expand All @@ -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<String, String> getCleanupSettings() {
Expand All @@ -78,7 +72,7 @@ public Map<String, String> getCleanupSettings() {

/**
* Method for returning the stored local Settings.
*
*
* @return Returns the local settings.
*/
public Map<String, String> getFormatterSettings() {
Expand All @@ -87,7 +81,7 @@ public Map<String, String> getFormatterSettings() {

/**
* Method for adding new configuration parameters.
*
*
* @param settings
* A eclipse-formatter-configuration.
*/
Expand Down

0 comments on commit 68d0a22

Please sign in to comment.