diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 15:04:44 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 15:27:19 +0200 |
commit | a963e93c19f6ab9aab5a3c7b3535aac28fc63117 (patch) | |
tree | 531a2fea3f47884318ab38bb0ad7ba1669f62436 /sonar-plugin-api | |
parent | eb75a35f191d7fde61f668fae6e0a3b6c69a078d (diff) | |
download | sonarqube-a963e93c19f6ab9aab5a3c7b3535aac28fc63117.tar.gz sonarqube-a963e93c19f6ab9aab5a3c7b3535aac28fc63117.zip |
SONAR-5007 remove org.sonar.api.batch.rules.QProfile from API
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/QProfile.java | 72 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/package-info.java | 21 |
2 files changed, 0 insertions, 93 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/QProfile.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/QProfile.java deleted file mode 100644 index 7a8d62152d7..00000000000 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/QProfile.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * SonarQube, open source software quality management tool. - * Copyright (C) 2008-2014 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.api.batch.rules; - -import com.google.common.base.Objects; - -public class QProfile { - - private final String key, name, language; - - public QProfile(String key, String name, String language) { - this.key = key; - this.name = name; - this.language = language; - } - - public String name() { - return name; - } - - public String language() { - return language; - } - - public String key() { - return key; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - - QProfile qProfile = (QProfile) o; - return key.equals(qProfile.key); - } - - @Override - public int hashCode() { - return key.hashCode(); - } - - @Override - public String toString() { - return Objects.toStringHelper(this) - .add("key", key) - .add("name", name) - .add("language", language) - .toString(); - } -} diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/package-info.java deleted file mode 100644 index ba4f7e46f29..00000000000 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/rules/package-info.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * SonarQube, open source software quality management tool. - * Copyright (C) 2008-2014 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. - */ -@javax.annotation.ParametersAreNonnullByDefault -package org.sonar.api.batch.rules;
\ No newline at end of file |