Skip to content

Commit

Permalink
Remove private modifiers from marker subtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Feb 20, 2024
1 parent f27e198 commit 04264fd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public J.Block visitBlock(J.Block block, ExecutionContext ctx) {

@Value
@With
private static class ToBeRemoved implements Marker {
static class ToBeRemoved implements Marker {
UUID id;
static <J2 extends J> J2 withMarker(J2 j) {
return j.withMarkers(j.getMarkers().addIfAbsent(new ToBeRemoved(randomId())));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ public TreeVisitor<?, ExecutionContext> getVisitor() {
new FindEnvironmentTestUtilsVisitor());
}

private static final class ReplaceEnvironmentUtilsMarker implements Marker {
static final class ReplaceEnvironmentUtilsMarker implements Marker {
private final String templateString;
private final List<Expression> parameters;
private final UUID id;

private ReplaceEnvironmentUtilsMarker(String templateString, List<Expression> parameters, UUID id) {
ReplaceEnvironmentUtilsMarker(String templateString, List<Expression> parameters, UUID id) {
this.templateString = templateString;
this.parameters = parameters;
this.id = id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static class JavaProjects {

@Value
@With
private static class CommentAdded implements Marker {
static class CommentAdded implements Marker {
UUID id;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public J.Block visitBlock(J.Block block, ExecutionContext ctx) {

@Value
@With
private static class ToBeRemoved implements Marker {
static class ToBeRemoved implements Marker {
UUID id;

static <J2 extends J> J2 withMarker(J2 j) {
Expand Down

0 comments on commit 04264fd

Please sign in to comment.