From 501289ca85e1c8dd21d5e0ba5f457b40ee62f5ef Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 29 Jun 2015 15:53:56 +0200 Subject: Quality flaws - do not declare multiple variables on same line - fix imports --- .../java/org/sonar/duplications/detector/ContainsInComparator.java | 3 ++- .../src/main/java/org/sonar/duplications/detector/suffixtree/Node.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sonar-duplications/src/main') diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/detector/ContainsInComparator.java b/sonar-duplications/src/main/java/org/sonar/duplications/detector/ContainsInComparator.java index 9d93f9f0958..31440cf98c9 100644 --- a/sonar-duplications/src/main/java/org/sonar/duplications/detector/ContainsInComparator.java +++ b/sonar-duplications/src/main/java/org/sonar/duplications/detector/ContainsInComparator.java @@ -55,7 +55,8 @@ public final class ContainsInComparator implements Comparator { } }; - private final int l1, l2; + private final int l1; + private final int l2; /** * Constructs new comparator for two parts with lengths {@code l1} and {@code l2} respectively. diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/Node.java b/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/Node.java index c6a95c9cae1..ac7cff51e8c 100644 --- a/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/Node.java +++ b/sonar-duplications/src/main/java/org/sonar/duplications/detector/suffixtree/Node.java @@ -45,7 +45,8 @@ public final class Node { */ int depth; - int startSize, endSize; + int startSize; + int endSize; public Node(Node node, Node suffixNode) { this(node.suffixTree, suffixNode); -- cgit v1.2.3