aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-colorizer
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-07-31 10:30:54 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-08-01 10:43:03 +0200
commitc2b40be7f722bfd9c96c0639f4650bca60c859f8 (patch)
treed34336b5a13fd1084769638a12fa6220065b0cd7 /sonar-colorizer
parent102fcaa285b796f70f1c422267360118dec3dd05 (diff)
downloadsonarqube-c2b40be7f722bfd9c96c0639f4650bca60c859f8.tar.gz
sonarqube-c2b40be7f722bfd9c96c0639f4650bca60c859f8.zip
Fix minor quality flaws
Diffstat (limited to 'sonar-colorizer')
-rw-r--r--sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlCodeBuilder.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlCodeBuilder.java b/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlCodeBuilder.java
index 6c99ca65fd4..6b9f37291c0 100644
--- a/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlCodeBuilder.java
+++ b/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlCodeBuilder.java
@@ -41,8 +41,7 @@ public class HtmlCodeBuilder implements Appendable {
colorizedCode.append("&gt;");
} else if (c == '&') {
colorizedCode.append("&amp;");
- }
- else {
+ } else {
colorizedCode.append(c);
}
return this;