aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-05-12 10:42:31 +0200
committerDavid Gageot <david@gageot.net>2015-05-12 14:33:41 +0200
commit7d5701e0a327448484ccee968e12ae3d9162d407 (patch)
tree48765dedbd2125480a531d71e30801ee44d8bce9 /plugins
parent4bab89867b0484fa9d21d0d54e6d7687d2b2f5bf (diff)
downloadsonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.tar.gz
sonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.zip
Useless code
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/scm/XooBlameCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/scm/XooBlameCommand.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/scm/XooBlameCommand.java
index b78deb2812c..0d1c978e0de 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/scm/XooBlameCommand.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/scm/XooBlameCommand.java
@@ -54,7 +54,7 @@ public class XooBlameCommand extends BlameCommand {
try {
List<String> lines = FileUtils.readLines(scmDataFile, Charsets.UTF_8.name());
- List<BlameLine> blame = new ArrayList<BlameLine>(lines.size());
+ List<BlameLine> blame = new ArrayList<>(lines.size());
int lineNumber = 0;
for (String line : lines) {
lineNumber++;