diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 09:22:28 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 09:22:28 +0200 |
commit | 5b06f60c16dc8eb52d0d02b38b64aafd9c4d0b2e (patch) | |
tree | a9695a94be9c9231ca63295b5f76202d80653aa4 /sonar-ws-client/src/test/java/org | |
parent | 867d184f3f44f87a1f2941621d0fd4cd891b3bb5 (diff) | |
download | sonarqube-5b06f60c16dc8eb52d0d02b38b64aafd9c4d0b2e.tar.gz sonarqube-5b06f60c16dc8eb52d0d02b38b64aafd9c4d0b2e.zip |
Fic compatibility of hamcrest with java 6
Diffstat (limited to 'sonar-ws-client/src/test/java/org')
-rw-r--r-- | sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ProfileUnmarshallerTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ProfileUnmarshallerTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ProfileUnmarshallerTest.java index 2037a5295b4..15ef01d1e24 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ProfileUnmarshallerTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ProfileUnmarshallerTest.java @@ -19,7 +19,6 @@ */ package org.sonar.wsclient.unmarshallers; -import org.hamcrest.CoreMatchers; import org.junit.Test; import org.sonar.wsclient.services.Profile; @@ -47,7 +46,7 @@ public class ProfileUnmarshallerTest extends UnmarshallerTestCase { Profile.Rule rule1 = profile.getRules().get(0); assertThat(rule1.getKey(), is("com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck")); assertThat(rule1.getRepository(), is("checkstyle")); - assertThat(rule1.getInheritance(), CoreMatchers.<Object>nullValue()); + assertThat(rule1.getInheritance(), nullValue()); assertThat(rule1.getSeverity(), is("MAJOR")); assertThat(rule1.getParameters().size(), is(0)); assertThat(rule1.getParameter("foo"), nullValue()); |