diff options
Diffstat (limited to 'sonar-duplications/src/main/java/org/sonar/duplications/statement/Statement.java')
-rw-r--r-- | sonar-duplications/src/main/java/org/sonar/duplications/statement/Statement.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/statement/Statement.java b/sonar-duplications/src/main/java/org/sonar/duplications/statement/Statement.java index 361c51cf112..49e9e90f743 100644 --- a/sonar-duplications/src/main/java/org/sonar/duplications/statement/Statement.java +++ b/sonar-duplications/src/main/java/org/sonar/duplications/statement/Statement.java @@ -54,10 +54,12 @@ public class Statement implements CodeFragment { this.endLine = tokens.get(tokens.size() - 1).getLine(); } + @Override public int getStartLine() { return startLine; } + @Override public int getEndLine() { return endLine; } |