Search in sources :

Example 1 with JavaTokenizer

use of net.sourceforge.pmd.cpd.JavaTokenizer in project sonarqube by SonarSource.

the class PmdBridgeTest method setUp.

@Before
public void setUp() {
    index = new PackedMemoryCloneIndex();
    bridge = new TokenizerBridge(new JavaTokenizer(), "UTF-8", 10);
}
Also used : JavaTokenizer(net.sourceforge.pmd.cpd.JavaTokenizer) PackedMemoryCloneIndex(org.sonar.duplications.index.PackedMemoryCloneIndex) Before(org.junit.Before)

Aggregations

JavaTokenizer (net.sourceforge.pmd.cpd.JavaTokenizer)1 Before (org.junit.Before)1 PackedMemoryCloneIndex (org.sonar.duplications.index.PackedMemoryCloneIndex)1