diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-05-07 09:34:29 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-05-07 11:37:52 +0200 |
commit | 9688a077297d1f52c6bc3cec504d0d5dcf61d800 (patch) | |
tree | 8405a319473d2463d5eb44e0802985c8c2481129 | |
parent | 7267a0a579d72ba3e4d589faa1a7144812d8ed60 (diff) | |
download | sonarqube-9688a077297d1f52c6bc3cec504d0d5dcf61d800.tar.gz sonarqube-9688a077297d1f52c6bc3cec504d0d5dcf61d800.zip |
SONAR-5189 Remove Kryo
-rw-r--r-- | pom.xml | 5 | ||||
-rw-r--r-- | sonar-batch/pom.xml | 4 | ||||
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/index/Caches.java | 5 |
3 files changed, 0 insertions, 14 deletions
@@ -1106,11 +1106,6 @@ </exclusions> </dependency> <dependency> - <groupId>com.esotericsoftware.kryo</groupId> - <artifactId>kryo</artifactId> - <version>2.23.0</version> - </dependency> - <dependency> <groupId>com.github.kevinsawicki</groupId> <artifactId>http-request</artifactId> <version>5.4.1</version> diff --git a/sonar-batch/pom.xml b/sonar-batch/pom.xml index dae636cb3e7..8e527478c01 100644 --- a/sonar-batch/pom.xml +++ b/sonar-batch/pom.xml @@ -25,10 +25,6 @@ <artifactId>akiban-persistit</artifactId> </dependency> <dependency> - <groupId>com.esotericsoftware.kryo</groupId> - <artifactId>kryo</artifactId> - </dependency> - <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-core</artifactId> </dependency> diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/Caches.java b/sonar-batch/src/main/java/org/sonar/batch/index/Caches.java index eeb4909f291..087b323fbd7 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/index/Caches.java +++ b/sonar-batch/src/main/java/org/sonar/batch/index/Caches.java @@ -19,7 +19,6 @@ */ package org.sonar.batch.index; -import com.esotericsoftware.kryo.Kryo; import com.google.common.base.Preconditions; import com.google.common.collect.Sets; import com.persistit.Exchange; @@ -29,7 +28,6 @@ import com.persistit.Volume; import com.persistit.exception.PersistitException; import com.persistit.logging.Slf4jAdapter; import org.apache.commons.io.FileUtils; -import org.objenesis.strategy.SerializingInstantiatorStrategy; import org.picocontainer.Startable; import org.slf4j.LoggerFactory; import org.sonar.api.BatchComponent; @@ -53,7 +51,6 @@ public class Caches implements BatchComponent, Startable { private Persistit persistit; private Volume volume; private final TempFolder tempFolder; - private Kryo kryo; public Caches(TempFolder tempFolder) { this.tempFolder = tempFolder; @@ -65,8 +62,6 @@ public class Caches implements BatchComponent, Startable { tempDir = tempFolder.newDir("caches"); persistit = new Persistit(); persistit.setPersistitLogger(new Slf4jAdapter(LoggerFactory.getLogger("PERSISTIT"))); - kryo = new Kryo(); - kryo.setInstantiatorStrategy(new SerializingInstantiatorStrategy()); Properties props = new Properties(); props.setProperty("datapath", tempDir.getAbsolutePath()); props.setProperty("logpath", "${datapath}/log"); |