]> source.dussan.org Git - sonarqube.git/commitdiff
Drop org.sonar.api.check.IsoCategory
authorSimon Brandhof <simon.brandhof@gmail.com>
Sat, 4 May 2013 08:33:45 +0000 (10:33 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Sat, 4 May 2013 08:33:45 +0000 (10:33 +0200)
sonar-check-api/src/main/java/org/sonar/check/IsoCategory.java [deleted file]
sonar-check-api/src/main/java/org/sonar/check/Rule.java
sonar-ws-client/src/test/java/org/sonar/wsclient/issue/IssueQueryTest.java

diff --git a/sonar-check-api/src/main/java/org/sonar/check/IsoCategory.java b/sonar-check-api/src/main/java/org/sonar/check/IsoCategory.java
deleted file mode 100644 (file)
index 23defd0..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * SonarQube, open source software quality management tool.
- * Copyright (C) 2008-2013 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * SonarQube is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * SonarQube is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- */
-package org.sonar.check;
-
-/**
- * @deprecated since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
- */
-@Deprecated
-public enum IsoCategory {
-
-  Reliability, Efficiency, Portability, Usability, Maintainability, NONE
-  
-}
index c87d93863798f1e7ac9e2726ae3ca07722e92cab..5da530f5aa8e970fac04e8330d85b88a3dd8cb80 100644 (file)
@@ -51,14 +51,6 @@ public @interface Rule {
    */
   Priority priority() default Priority.MAJOR;
 
-  /**
-   * Will probably be deprecated and replaced by tags
-   * 
-   * @deprecated since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
-   */
-  @Deprecated
-  IsoCategory isoCategory() default IsoCategory.NONE;
-
   Cardinality cardinality() default Cardinality.SINGLE;
 
   /**
index cffe192920d6675102ba17d3061335e00041ad12..f6dbdf3d84fb6c24c617f9816e21faee9c26d38f 100644 (file)
@@ -44,7 +44,7 @@ public class IssueQueryTest {
       .statuses("OPEN", "CLOSED")
       .severities("BLOCKER", "INFO")
       .userLogins("login1", "login2")
-      .sort("assignee")
+      .sort("ASSIGNEE")
       .asc(false)
       .pageSize(5)
       .pageIndex(4);
@@ -59,7 +59,7 @@ public class IssueQueryTest {
     assertThat(query.urlParams()).includes(entry("statuses", "OPEN,CLOSED"));
     assertThat(query.urlParams()).includes(entry("severities", "BLOCKER,INFO"));
     assertThat(query.urlParams()).includes(entry("userLogins", "login1,login2"));
-    assertThat(query.urlParams()).includes(entry("sort", "assignee"));
+    assertThat(query.urlParams()).includes(entry("sort", "ASSIGNEE"));
     assertThat(query.urlParams()).includes(entry("asc", false));
     assertThat(query.urlParams()).includes(entry("pageSize", 5));
     assertThat(query.urlParams()).includes(entry("pageIndex", 4));