aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-05-07 09:34:29 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-05-07 11:37:52 +0200
commit9688a077297d1f52c6bc3cec504d0d5dcf61d800 (patch)
tree8405a319473d2463d5eb44e0802985c8c2481129
parent7267a0a579d72ba3e4d589faa1a7144812d8ed60 (diff)
downloadsonarqube-9688a077297d1f52c6bc3cec504d0d5dcf61d800.tar.gz
sonarqube-9688a077297d1f52c6bc3cec504d0d5dcf61d800.zip
SONAR-5189 Remove Kryo
-rw-r--r--pom.xml5
-rw-r--r--sonar-batch/pom.xml4
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/index/Caches.java5
3 files changed, 0 insertions, 14 deletions
diff --git a/pom.xml b/pom.xml
index c2208839170..b1053d36b2f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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");