aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-colorizer/src/test
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-04-27 16:45:37 +0200
committerDavid Gageot <david@gageot.net>2012-04-27 16:48:58 +0200
commitbd90fa7d3ec17f825cac80eebd46cf1ee0412ee9 (patch)
tree92a3ff7db9b91d9afe4684cc90a7a0cc5c3e010c /sonar-colorizer/src/test
parent1a6a18a5c4e73987a72b8176f398477f13074d29 (diff)
downloadsonarqube-bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9.tar.gz
sonarqube-bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9.zip
Code cleaning : Remove unnecessary casts
Diffstat (limited to 'sonar-colorizer/src/test')
-rw-r--r--sonar-colorizer/src/test/java/org/sonar/colorizer/HtmlCodeBuilderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-colorizer/src/test/java/org/sonar/colorizer/HtmlCodeBuilderTest.java b/sonar-colorizer/src/test/java/org/sonar/colorizer/HtmlCodeBuilderTest.java
index e005260494e..1eef540e833 100644
--- a/sonar-colorizer/src/test/java/org/sonar/colorizer/HtmlCodeBuilderTest.java
+++ b/sonar-colorizer/src/test/java/org/sonar/colorizer/HtmlCodeBuilderTest.java
@@ -73,7 +73,7 @@ public class HtmlCodeBuilderTest {
assertThat((String) builder.getVariable("foo"), is("yyy"));
builder.setVariable("foo", null);
- assertThat((String) builder.getVariable("foo"), nullValue());
+ assertThat(builder.getVariable("foo"), nullValue());
assertThat((String) builder.getVariable("foo", "default"), is("default"));
}