diff options
author | David Gageot <david@gageot.net> | 2015-05-12 10:42:31 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-05-12 14:33:41 +0200 |
commit | 7d5701e0a327448484ccee968e12ae3d9162d407 (patch) | |
tree | 48765dedbd2125480a531d71e30801ee44d8bce9 /sonar-duplications/src/test/java/org/sonar/duplications/detector | |
parent | 4bab89867b0484fa9d21d0d54e6d7687d2b2f5bf (diff) | |
download | sonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.tar.gz sonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.zip |
Useless code
Diffstat (limited to 'sonar-duplications/src/test/java/org/sonar/duplications/detector')
-rw-r--r-- | sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/StringSuffixTree.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/StringSuffixTree.java b/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/StringSuffixTree.java index b3074712146..346c5fba01c 100644 --- a/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/StringSuffixTree.java +++ b/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/StringSuffixTree.java @@ -38,7 +38,7 @@ public class StringSuffixTree { private StringSuffixTree(String text) { suffixTree = SuffixTree.create(new StringText(text)); - Queue<Node> queue = new LinkedList<Node>(); + Queue<Node> queue = new LinkedList<>(); queue.add(suffixTree.getRootNode()); while (!queue.isEmpty()) { Node node = queue.remove(); |