Skip to content

Commit

Permalink
static import
Browse files Browse the repository at this point in the history
  • Loading branch information
pinguin3245678 committed Feb 7, 2025
1 parent a99ae40 commit b53e380
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@
import org.openrewrite.marker.Markers;

import java.time.Duration;
import java.util.Collections;
import java.util.Set;

import static java.time.Duration.ofMinutes;
import static java.util.Collections.singleton;
import static java.util.Collections.singletonList;
import static java.util.Objects.requireNonNull;

Expand All @@ -60,12 +61,12 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-S1132");
return singleton("RSPEC-S1132");
}

@Override
public Duration getEstimatedEffortPerOccurrence() {
return Duration.ofMinutes(10);
return ofMinutes(10);
}

@Override
Expand Down

0 comments on commit b53e380

Please sign in to comment.