Skip to content

Commit af98a9c

Browse files
committed
Bump java 25
1 parent 9a7d91f commit af98a9c

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

slides/css/meetup.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,17 @@ body {
174174
right: 0;
175175
}
176176

177-
.easter-egg {
178-
position: absolute;
179-
right: 380px;
180-
bottom: 110px;
181-
animation: easteregg 5s ease 0s 1 normal forwards;
182-
}
177+
section.present:has(.easter-egg) {
178+
.easter-egg {
179+
position: absolute;
180+
right: 380px;
181+
bottom: 110px;
182+
animation: easteregg 5s ease 0s 1 normal forwards;
183+
}
183184

184-
.easter-egg::after {
185-
content: "#dobbycestlemeilleur";
185+
.easter-egg::after {
186+
content: "#dobbycestlemeilleur";
187+
}
186188
}
187189
}
188190

toxic-library-remover/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<dependency>
2222
<groupId>org.openrewrite.recipe</groupId>
2323
<artifactId>rewrite-recipe-bom</artifactId>
24-
<version>3.14.1</version>
24+
<version>3.16.0</version>
2525
<type>pom</type>
2626
<scope>import</scope>
2727
</dependency>
@@ -82,7 +82,7 @@
8282
<dependency>
8383
<groupId>com.google.errorprone</groupId>
8484
<artifactId>error_prone_core</artifactId>
85-
<version>2.37.0</version>
85+
<version>2.42.0</version>
8686
<scope>provided</scope>
8787
<optional>true</optional>
8888
<exclusions>
@@ -127,7 +127,7 @@
127127
<artifactId>maven-compiler-plugin</artifactId>
128128
<version>3.13.0</version>
129129
<configuration>
130-
<release>21</release>
130+
<release>25</release>
131131
<compilerArgs>
132132
<arg>-parameters</arg>
133133
</compilerArgs>

toxic-library-remover/src/main/java/com/github/jtama/openrewrite/RemoveLogStartInvocations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private static class ReplaceCompareVisitor extends JavaIsoVisitor<ExecutionConte
3838

3939
private final MethodMatcher logStartInvocaMatcher = new MethodMatcher("com.github.jtama.toxic.Timer logStart()");
4040
private final MethodMatcher logEndInvocaMatcher = new MethodMatcher("com.github.jtama.toxic.Timer logEnd()");
41-
private final AnnotationMatcher logStartMatcher = new AnnotationMatcher("@io.micrometer.core.annotation.Timed");
41+
private final AnnotationMatcher timedMatcher = new AnnotationMatcher("@io.micrometer.core.annotation.Timed");
4242
private final JavaTemplate annotationTemplate = JavaTemplate.builder("@Timed")
4343
.imports("io.micrometer.core.annotation.Timed")
4444
.javaParser(JavaParser.fromJavaVersion().classpath(JavaParser.runtimeClasspath()))
@@ -54,7 +54,7 @@ public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, Ex
5454
Cursor cursor = getCursor();
5555
if (cursor.getMessage("appendAnnotation", false)) {
5656
if (md.getLeadingAnnotations().stream()
57-
.noneMatch(logStartMatcher::matches)) {
57+
.noneMatch(timedMatcher::matches)) {
5858
maybeAddImport("io.micrometer.core.annotation.Timed");
5959
md = annotationTemplate.apply(cursor, method.getCoordinates().addAnnotation(Comparator.comparing(J.Annotation::getSimpleName)));
6060
}

0 commit comments

Comments
 (0)