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>
<trimStackTrace>false</trimStackTrace>
<skip>false</skip>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration>
<dependencies>
<dependency>

View File

@ -40,10 +40,8 @@ import javax.annotation.PreDestroy;
import javax.inject.Inject;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
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 org.apache.archiva.metadata.repository.cassandra.model.ColumnNames.*;
@ -58,7 +56,7 @@ public class DefaultCassandraArchivaManager
implements CassandraArchivaManager
{
private Logger logger = LoggerFactory.getLogger( getClass( ) );
private static final Logger logger = LoggerFactory.getLogger( DefaultCassandraArchivaManager.class );
@Inject
private ApplicationContext applicationContext;