Skip to content

Commit 19f3b22

Browse files
committed
fix spotless
1 parent 5f190ef commit 19f3b22

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

plexus-compilers/plexus-compiler-aspectj/src/main/java/org/codehaus/plexus/compiler/ajc/AspectJCompiler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,8 @@ private static long versionStringToMajorMinor(String version) throws CompilerExc
551551
.replaceFirst("[.]0$", "");
552552

553553
switch (version) {
554-
// Java 1.6 as a default source/target seems to make sense. Maven Compiler should set its own default
555-
// anyway, so this probably never needs to be used. But not having a default feels bad, too.
554+
// Java 1.6 as a default source/target seems to make sense. Maven Compiler should set its own default
555+
// anyway, so this probably never needs to be used. But not having a default feels bad, too.
556556
case "":
557557
return ClassFileConstants.JDK1_6;
558558
case "1":

plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/JavaxToolsCompilerTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ public class JavaxToolsCompilerTest extends AbstractJavacCompilerTest {
2727
@Override
2828
protected int expectedWarnings() {
2929
String javaVersion = getJavaVersion();
30-
if (javaVersion.contains("21")
31-
|| javaVersion.contains("24")) {
30+
if (javaVersion.contains("21") || javaVersion.contains("24")) {
3231
return 1;
3332
} else {
3433
return super.expectedWarnings();

0 commit comments

Comments
 (0)