Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 21, 2024
1 parent 7703ab9 commit ddf1532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
package org.apache.maven.plugins.checkstyle;

import javax.inject.Named;

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
Expand Down Expand Up @@ -455,9 +453,7 @@ public abstract class AbstractCheckstyleReport extends AbstractMavenReport {
protected ByteArrayOutputStream stringOutputStream;

public AbstractCheckstyleReport(
final ResourceManager locator,
final @Named("default") CheckstyleExecutor checkstyleExecutor,
final I18N i18n) {
final ResourceManager locator, final CheckstyleExecutor checkstyleExecutor, final I18N i18n) {
this.locator = locator;
this.checkstyleExecutor = checkstyleExecutor;
this.i18n = i18n;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
* @author Olivier Lamy
* @since 2.5
*/
@Named("default")
@Named
@Typed(CheckstyleExecutor.class)
public class DefaultCheckstyleExecutor extends AbstractLogEnabled implements CheckstyleExecutor {
private final ResourceManager locator;
Expand Down

0 comments on commit ddf1532

Please sign in to comment.