Skip to content

Commit b756192

Browse files
pzygielomichael-o
authored andcommitted
Rename method, now that EA of JDK 16 is available
1 parent 74a3a16 commit b756192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ else if(extras.containsKey("-errorsAsWarnings"))
216216

217217
// Annotation processors defined?
218218
List<String> extraSourceDirs = new ArrayList<>();
219-
if(!isPreJava16(config)) {
219+
if(!isPreJava1_6(config)) {
220220
//now add jdk 1.6 annotation processing related parameters
221221
String[] annotationProcessors = config.getAnnotationProcessors();
222222
List<String> processorPathEntries = config.getProcessorPathEntries();
@@ -550,7 +550,7 @@ static private void append(StringBuilder warns, String s) {
550550
warns.append(s);
551551
}
552552

553-
private boolean isPreJava16(CompilerConfiguration config) {
553+
private boolean isPreJava1_6(CompilerConfiguration config) {
554554
String s = config.getSourceVersion();
555555
if ( s == null )
556556
{

0 commit comments

Comments
 (0)