From e51cb49945d4f3a1d39f74234de49be8ca925fff Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Thu, 19 Jul 2018 11:42:54 +0200 Subject: Revert "SONAR-10541, SONAR-10331 Drop compatibility mode and clean plugin classloader" This reverts commit 4dcb5245f1147048d122ff2d335a6b5b7364c565. --- .../org/sonar/duplications/internal/pmd/PmdBlockChunkerTest.java | 6 +++--- .../org/sonar/duplications/internal/pmd/TokenizerBridgeTest.java | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sonar-duplications/src/test/java') diff --git a/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/PmdBlockChunkerTest.java b/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/PmdBlockChunkerTest.java index 99d895c0b9b..4335be00567 100644 --- a/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/PmdBlockChunkerTest.java +++ b/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/PmdBlockChunkerTest.java @@ -19,13 +19,13 @@ */ package org.sonar.duplications.internal.pmd; -import java.util.Arrays; -import java.util.List; import org.junit.Test; -import org.sonar.api.batch.sensor.cpd.internal.TokensLine; import org.sonar.duplications.block.Block; import org.sonar.duplications.block.ByteArray; +import java.util.Arrays; +import java.util.List; + import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; diff --git a/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/TokenizerBridgeTest.java b/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/TokenizerBridgeTest.java index 12f58bd8c9a..7ff5dbe30d4 100644 --- a/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/TokenizerBridgeTest.java +++ b/sonar-duplications/src/test/java/org/sonar/duplications/internal/pmd/TokenizerBridgeTest.java @@ -30,7 +30,6 @@ import net.sourceforge.pmd.cpd.Tokenizer; import net.sourceforge.pmd.cpd.Tokens; import org.junit.Before; import org.junit.Test; -import org.sonar.api.batch.sensor.cpd.internal.TokensLine; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; -- cgit v1.2.3