Skip to content

Commit

Permalink
Remove redundant modifiers (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Jun 25, 2022
1 parent b672c3b commit 054bf16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/jvnet/hudson/reactor/Executable.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public interface Executable {
/**
* No-op implementation.
*/
public static final Executable NOOP = new Executable() {
Executable NOOP = new Executable() {
@Override
@SuppressFBWarnings(value = "THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION", justification = "TODO needs triage")
public void run(Reactor reactor) throws Exception {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/jvnet/hudson/reactor/ReactorListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ default void onAttained(Milestone milestone) {
// Do nothing by default
}

public static final ReactorListener NOOP = new ReactorListener() {
ReactorListener NOOP = new ReactorListener() {
// Default implementation for all handlers
};

/**
* Bundles multiple listeners into one.
*/
public static class Aggregator implements ReactorListener {
class Aggregator implements ReactorListener {
private final Collection<ReactorListener> listeners;

@SuppressFBWarnings("EI_EXPOSE_REP2")
Expand Down

0 comments on commit 054bf16

Please sign in to comment.