Adding fix for jdk11

This commit is contained in:
Martin Stockhammer 2021-08-28 23:58:22 +02:00
parent d925697678
commit 5b76e6d74f
2 changed files with 2 additions and 3 deletions

View File

@ -457,6 +457,7 @@
</systemPropertyVariables> </systemPropertyVariables>
<trimStackTrace>false</trimStackTrace> <trimStackTrace>false</trimStackTrace>
<skip>false</skip> <skip>false</skip>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration> </configuration>
<dependencies> <dependencies>
<dependency> <dependency>

View File

@ -40,10 +40,8 @@ import javax.annotation.PreDestroy;
import javax.inject.Inject; import javax.inject.Inject;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Comparator;
import java.util.List; import java.util.List;
import static com.datastax.oss.driver.api.querybuilder.QueryBuilder.literal;
import static com.datastax.oss.driver.api.querybuilder.SchemaBuilder.*; import static com.datastax.oss.driver.api.querybuilder.SchemaBuilder.*;
import static org.apache.archiva.metadata.repository.cassandra.model.ColumnNames.*; import static org.apache.archiva.metadata.repository.cassandra.model.ColumnNames.*;
@ -58,7 +56,7 @@ public class DefaultCassandraArchivaManager
implements CassandraArchivaManager implements CassandraArchivaManager
{ {
private Logger logger = LoggerFactory.getLogger( getClass( ) ); private static final Logger logger = LoggerFactory.getLogger( DefaultCassandraArchivaManager.class );
@Inject @Inject
private ApplicationContext applicationContext; private ApplicationContext applicationContext;