Skip to content

Commit 8a30247

Browse files
refactor: Update documentation examples
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
1 parent a5431d5 commit 8a30247

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/resources/META-INF/rewrite/examples.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ examples:
583583
584584
class TrivialAppender extends AppenderBase<ILoggingEvent> {
585585
@Override
586-
protected void append(ILoggingEvent loggingEvent) {
587-
String s = this.layout.doLayout(loggingEvent);
586+
protected void append(ILoggingEvent iLoggingEvent) {
587+
String s = this.layout.doLayout(iLoggingEvent);
588588
System.out.println(s);
589589
}
590590
}
@@ -623,8 +623,8 @@ examples:
623623
class TrivialLayout extends LayoutBase<ILoggingEvent> {
624624
625625
@Override
626-
public String doLayout(ILoggingEvent loggingEvent) {
627-
return loggingEvent.getMessage();
626+
public String doLayout(ILoggingEvent iLoggingEvent) {
627+
return iLoggingEvent.getMessage();
628628
}
629629
}
630630
language: java

0 commit comments

Comments
 (0)