Skip to content

Commit

Permalink
Issue checkstyle#440: resolves UselessSuperCtorCallCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach committed Jan 27, 2023
1 parent 84f1b61 commit cfec9ac
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public class CheckstylePlugin extends Plugin {
* The constructor.
*/
public CheckstylePlugin() {
super();
sPlugin = this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ public void windowDeactivated(IWorkbenchWindow window) {
* The constructor.
*/
public CheckstyleUIPlugin() {
super();
sPlugin = this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ public class CheckstylePreferencePage extends PreferencePage implements IWorkben
* Constructor.
*/
public CheckstylePreferencePage() {
super();
setDescription(NLS.bind(Messages.CheckstylePreferencePage_version, getCheckstyleVersion()));
setPreferenceStore(CheckstyleUIPlugin.getDefault().getPreferenceStore());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public class MarkerStat implements Comparable<MarkerStat> {
* : le message du marqueur Checkstyle
*/
public MarkerStat(String identifiant) {
super();
this.mIdentifiant = identifiant;
mMarkers = new ArrayList<>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Classe qui véhicule les statistiques Checkstyle. Elle contient notamment la
* liste des différentes erreurs avec leur comptage.
*
*
* @author Fabrice BELLINGARD
*/
public class Stats {
Expand All @@ -43,7 +43,7 @@ public class Stats {

/**
* Constructeur.
*
*
* @param markerStats
* la liste des MarkerStats
* @param markerCount
Expand All @@ -52,15 +52,14 @@ public class Stats {
* the number of all checkstyle markers in the workspace
*/
public Stats(Collection<MarkerStat> markerStats, int markerCount, int markerCountWhole) {
super();
this.mMarkerStats = markerStats;
this.mMarkerCount = markerCount;
this.mMarkerCountWhole = markerCountWhole;
}

/**
* Returns the markerStats.
*
*
* @return Returns the markerStats.
*/
public Collection<MarkerStat> getMarkerStats() {
Expand All @@ -69,7 +68,7 @@ public Collection<MarkerStat> getMarkerStats() {

/**
* Returns the markerCount.
*
*
* @return Returns the markerCount.
*/
public int getMarkerCount() {
Expand All @@ -78,7 +77,7 @@ public int getMarkerCount() {

/**
* Returns the number of all Checkstyle markers in the workspace.
*
*
* @return the number of all Checkstyle markers
*/
public int getMarkerCountAll() {
Expand Down

0 comments on commit cfec9ac

Please sign in to comment.