aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-surefire-plugin
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-02-10 00:08:27 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-02-10 00:08:27 +0100
commit70e645356d78d7b90f63bad4f40a343562d84d07 (patch)
tree441999668293390ab36ba76a496321338b4fe895 /plugins/sonar-surefire-plugin
parentbd8e08f07709d404d40c5c06096824669bca3ac7 (diff)
downloadsonarqube-70e645356d78d7b90f63bad4f40a343562d84d07.tar.gz
sonarqube-70e645356d78d7b90f63bad4f40a343562d84d07.zip
Fix some violations
Diffstat (limited to 'plugins/sonar-surefire-plugin')
-rw-r--r--plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/TestSuiteParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/TestSuiteParser.java b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/TestSuiteParser.java
index 3e8e326300c..d701a7407fb 100644
--- a/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/TestSuiteParser.java
+++ b/plugins/sonar-surefire-plugin/src/main/java/org/sonar/plugins/surefire/TestSuiteParser.java
@@ -119,8 +119,8 @@ public class TestSuiteParser implements XmlStreamHandler {
setStackAndMessage(detail, childNode);
}
}
- // make sure we loop till the end of the elements cursor
while (childNode.getNext() != null) {
+ // make sure we loop till the end of the elements cursor
}
detail.setTimeMS(time.intValue());
detail.setStatus(status);