Skip to content

Commit 04264fd

Browse files
committed
Remove private modifiers from marker subtypes
1 parent f27e198 commit 04264fd

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/main/java/org/openrewrite/java/spring/RemoveMethodInvocationsVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public J.Block visitBlock(J.Block block, ExecutionContext ctx) {
239239

240240
@Value
241241
@With
242-
private static class ToBeRemoved implements Marker {
242+
static class ToBeRemoved implements Marker {
243243
UUID id;
244244
static <J2 extends J> J2 withMarker(J2 j) {
245245
return j.withMarkers(j.getMarkers().addIfAbsent(new ToBeRemoved(randomId())));

src/main/java/org/openrewrite/java/spring/boot2/ReplaceDeprecatedEnvironmentTestUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ public TreeVisitor<?, ExecutionContext> getVisitor() {
6060
new FindEnvironmentTestUtilsVisitor());
6161
}
6262

63-
private static final class ReplaceEnvironmentUtilsMarker implements Marker {
63+
static final class ReplaceEnvironmentUtilsMarker implements Marker {
6464
private final String templateString;
6565
private final List<Expression> parameters;
6666
private final UUID id;
6767

68-
private ReplaceEnvironmentUtilsMarker(String templateString, List<Expression> parameters, UUID id) {
68+
ReplaceEnvironmentUtilsMarker(String templateString, List<Expression> parameters, UUID id) {
6969
this.templateString = templateString;
7070
this.parameters = parameters;
7171
this.id = id;

src/main/java/org/openrewrite/java/spring/boot2/search/IntegrationSchedulerPoolRecipe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static class JavaProjects {
248248

249249
@Value
250250
@With
251-
private static class CommentAdded implements Marker {
251+
static class CommentAdded implements Marker {
252252
UUID id;
253253
}
254254
}

src/main/java/org/openrewrite/java/spring/security6/RequireExplicitSavingOfSecurityContextRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public J.Block visitBlock(J.Block block, ExecutionContext ctx) {
115115

116116
@Value
117117
@With
118-
private static class ToBeRemoved implements Marker {
118+
static class ToBeRemoved implements Marker {
119119
UUID id;
120120

121121
static <J2 extends J> J2 withMarker(J2 j) {

0 commit comments

Comments
 (0)