aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-29 15:23:05 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-29 15:23:05 +0200
commit52fec9954c6d5225d6ea4ee61a3ae71721fd3881 (patch)
tree8527d7a83a0523cdd5fcd2efefcbeced8e26e400 /sonar-plugin-api
parenta8e2ff5ad049dc21a9922dca08ef3c2825605c1b (diff)
downloadsonarqube-52fec9954c6d5225d6ea4ee61a3ae71721fd3881.tar.gz
sonarqube-52fec9954c6d5225d6ea4ee61a3ae71721fd3881.zip
Replace references to jira.codehaus.org by jira.sonarsource.com
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java20
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/TimeMachine.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/i18n/RuleI18n.java10
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java20
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/Measure.java4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java16
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java10
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java6
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java4
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/rules/ViolationTest.java2
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/server/rule/RulesDefinitionTest.java2
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/utils/WildcardPatternTest.java2
15 files changed, 54 insertions, 54 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
index 4b60af8f368..4df29867109 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
@@ -77,7 +77,7 @@ public interface CoreProperties {
/**
* @see #SUBCATEGORY_DUPLICATIONS
* @since 2.11
- * @deprecated since 4.0. See http://jira.codehaus.org/browse/SONAR-4660. Do not forget to remove the properties from core bundles
+ * @deprecated since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
*/
@Deprecated
String CATEGORY_DUPLICATIONS = "duplications";
@@ -90,7 +90,7 @@ public interface CoreProperties {
/**
* @see #SUBCATEGORY_L10N
* @since 2.11
- * @deprecated since 4.0. See http://jira.codehaus.org/browse/SONAR-4660. Do not forget to remove the properties from core bundles
+ * @deprecated since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
*/
@Deprecated
String CATEGORY_L10N = "localization";
@@ -103,7 +103,7 @@ public interface CoreProperties {
/**
* @see #SUBCATEGORY_DIFFERENTIAL_VIEWS
* @since 2.11
- * @deprecated since 4.0. See http://jira.codehaus.org/browse/SONAR-4660. Do not forget to remove the properties from core bundles
+ * @deprecated since 4.0. See http://jira.sonarsource.com/browse/SONAR-4660. Do not forget to remove the properties from core bundles
*/
@Deprecated
String CATEGORY_DIFFERENTIAL_VIEWS = "differentialViews";
@@ -177,7 +177,7 @@ public interface CoreProperties {
String PROJECT_LANGUAGE_PROPERTY = "sonar.language";
/**
- * @deprecated since 4.3. See http://jira.codehaus.org/browse/SONAR-5185
+ * @deprecated since 4.3. See http://jira.sonarsource.com/browse/SONAR-5185
*/
@Deprecated
String DYNAMIC_ANALYSIS_PROPERTY = "sonar.dynamicAnalysis";
@@ -200,7 +200,7 @@ public interface CoreProperties {
/* Sonar Core */
/**
- * @deprecated since 4.1. See http://jira.codehaus.org/browse/SONAR-4875
+ * @deprecated since 4.1. See http://jira.sonarsource.com/browse/SONAR-4875
*/
@Deprecated
String CORE_VIOLATION_LOCALE_PROPERTY = "sonar.violationLocale";
@@ -208,14 +208,14 @@ public interface CoreProperties {
String CORE_VIOLATION_LOCALE_DEFAULT_VALUE = "en";
/**
- * @deprecated since 4.3. See http://jira.codehaus.org/browse/SONAR-5109
+ * @deprecated since 4.3. See http://jira.sonarsource.com/browse/SONAR-5109
*/
@Deprecated
String CORE_SKIPPED_MODULES_PROPERTY = "sonar.skippedModules";
/**
* @since 4.0
- * @deprecated since 4.3. See http://jira.codehaus.org/browse/SONAR-5109
+ * @deprecated since 4.3. See http://jira.sonarsource.com/browse/SONAR-5109
*/
@Deprecated
String CORE_INCLUDED_MODULES_PROPERTY = "sonar.includedModules";
@@ -228,7 +228,7 @@ public interface CoreProperties {
boolean CORE_ALLOW_USERS_TO_SIGNUP_DEAULT_VALUE = false;
/**
- * @deprecated since 2.14. See http://jira.codehaus.org/browse/SONAR-3153. Replaced by {@link #CORE_AUTHENTICATOR_REALM}.
+ * @deprecated since 2.14. See http://jira.sonarsource.com/browse/SONAR-3153. Replaced by {@link #CORE_AUTHENTICATOR_REALM}.
*/
@Deprecated
String CORE_AUTHENTICATOR_CLASS = "sonar.authenticator.class";
@@ -274,7 +274,7 @@ public interface CoreProperties {
/**
* @deprecated in 5.0
- * @see <a href="https://jira.codehaus.org/browse/SONAR-5339">SONAR-5339</a>
+ * @see <a href="https://jira.sonarsource.com/browse/SONAR-5339">SONAR-5339</a>
*/
@Deprecated
String CPD_SKIP_PROPERTY = "sonar.cpd.skip";
@@ -408,7 +408,7 @@ public interface CoreProperties {
/**
* @deprecated replaced in v3.4 by properties specific to languages, for example sonar.java.coveragePlugin
- * See http://jira.codehaus.org/browse/SONARJAVA-39 for more details.
+ * See http://jira.sonarsource.com/browse/SONARJAVA-39 for more details.
*/
@Deprecated
String CORE_COVERAGE_PLUGIN_PROPERTY = "sonar.core.codeCoveragePlugin";
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/TimeMachine.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/TimeMachine.java
index 9fbd6fc0b72..4183d18fd95 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/TimeMachine.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/TimeMachine.java
@@ -42,7 +42,7 @@ public interface TimeMachine {
List<Measure> getMeasures(TimeMachineQuery query);
/**
- * Return an empty list since 5.2. See https://jira.codehaus.org/browse/SONAR-6392
+ * Return an empty list since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
*/
List<Object[]> getMeasuresFields(TimeMachineQuery query);
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java
index 4d9a29db93f..c2924048691 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java
@@ -213,7 +213,7 @@ public class MeasureModel implements Cloneable {
/**
* Concept of measure trend is dropped. This method always returns {@code null} since version 5.2.
- * @deprecated since 5.2. See https://jira.codehaus.org/browse/SONAR-6392
+ * @deprecated since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
* @return null
*/
@CheckForNull
@@ -224,7 +224,7 @@ public class MeasureModel implements Cloneable {
/**
* Concept of measure trend is dropped. This method does nothing.
- * @deprecated since 5.2. See https://jira.codehaus.org/browse/SONAR-6392
+ * @deprecated since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
*/
@Deprecated
public MeasureModel setTendency(Integer tendency) {
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/i18n/RuleI18n.java b/sonar-plugin-api/src/main/java/org/sonar/api/i18n/RuleI18n.java
index fcfb5369dcc..6f2deeca942 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/i18n/RuleI18n.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/i18n/RuleI18n.java
@@ -31,7 +31,7 @@ import java.util.Locale;
* {@link I18n}-companion component that provides translation facilities for rule names, descriptions and parameter names.
*
* @since 3.2
- * @deprecated in 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
+ * @deprecated in 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
*/
@Deprecated
@BatchSide
@@ -48,7 +48,7 @@ public interface RuleI18n {
* @param ruleKey the rule key
* @param locale not used
* @return the translated name of the rule, or the default English one if the given locale is not supported, or null
- * @deprecated since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
+ * @deprecated since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
*/
@Deprecated
@CheckForNull
@@ -76,7 +76,7 @@ public interface RuleI18n {
* @param rule the rule
* @param locale the locale to translate into
* @return the translated name of the rule, or the default English one if the given locale is not supported, or the rule name.
- * @deprecated since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
+ * @deprecated since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
*/
@Deprecated
@CheckForNull
@@ -104,7 +104,7 @@ public interface RuleI18n {
* @param ruleKey the rule key
* @param locale the locale to translate into
* @return the translated description of the rule, or the default English one if the given locale is not supported
- * @deprecated since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
+ * @deprecated since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
*/
@Deprecated
String getDescription(String repositoryKey, String ruleKey, Locale locale);
@@ -133,7 +133,7 @@ public interface RuleI18n {
* @param locale the locale to translate into
* @return the translated name of the rule parameter, or the default English one if the given locale is not supported, or null if
* no translation can be found.
- * @deprecated since 4.1. Rules are not localized anymore. See http://jira.codehaus.org/browse/SONAR-4885
+ * @deprecated since 4.1. Rules are not localized anymore. See http://jira.sonarsource.com/browse/SONAR-4885
*/
@Deprecated
@CheckForNull
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
index 227a27d7d73..874c873ae25 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
@@ -169,14 +169,14 @@ public final class CoreMetrics {
/**
* @deprecated since 5.0.
- * @see <a href="https://jira.codehaus.org/browse/SONAR-5224">SONAR-5224</a>
+ * @see <a href="https://jira.sonarsource.com/browse/SONAR-5224">SONAR-5224</a>
*/
@Deprecated
public static final String ACCESSORS_KEY = "accessors";
/**
* @deprecated since 5.0.
- * @see <a href="https://jira.codehaus.org/browse/SONAR-5224">SONAR-5224</a>
+ * @see <a href="https://jira.sonarsource.com/browse/SONAR-5224">SONAR-5224</a>
*/
@Deprecated
public static final Metric<Integer> ACCESSORS = new Metric.Builder(ACCESSORS_KEY, "Accessors", Metric.ValueType.INT)
@@ -1668,13 +1668,13 @@ public final class CoreMetrics {
.create();
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final String LCOM4_KEY = "lcom4";
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final transient Metric<Double> LCOM4 = new Metric.Builder(LCOM4_KEY, "LCOM4", Metric.ValueType.FLOAT)
@@ -1687,13 +1687,13 @@ public final class CoreMetrics {
.create();
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final String LCOM4_BLOCKS_KEY = "lcom4_blocks";
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final transient Metric<String> LCOM4_BLOCKS = new Metric.Builder(LCOM4_BLOCKS_KEY, "LCOM4 blocks", Metric.ValueType.DATA)
@@ -1706,13 +1706,13 @@ public final class CoreMetrics {
.create();
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final String LCOM4_DISTRIBUTION_KEY = "lcom4_distribution";
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final transient Metric<String> LCOM4_DISTRIBUTION = new Metric.Builder(LCOM4_DISTRIBUTION_KEY, "Class distribution /LCOM4", Metric.ValueType.DISTRIB)
@@ -1725,13 +1725,13 @@ public final class CoreMetrics {
.create();
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final String SUSPECT_LCOM4_DENSITY_KEY = "suspect_lcom4_density";
/**
- * @deprecated in 4.1. See http://jira.codehaus.org/browse/SONAR-4853
+ * @deprecated in 4.1. See http://jira.sonarsource.com/browse/SONAR-4853
*/
@Deprecated
public static final transient Metric<Double> SUSPECT_LCOM4_DENSITY = new Metric.Builder(SUSPECT_LCOM4_DENSITY_KEY, "Suspect LCOM4 density", Metric.ValueType.PERCENT)
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/Measure.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/Measure.java
index 0d041a25890..2acf8a09af3 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/Measure.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/Measure.java
@@ -438,7 +438,7 @@ public class Measure<G extends Serializable> implements Serializable {
/**
* Concept of measure trend is dropped.
- * @deprecated since 5.2. See https://jira.codehaus.org/browse/SONAR-6392
+ * @deprecated since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
* @return {@code null} since version 5.2
*/
@Deprecated
@@ -449,7 +449,7 @@ public class Measure<G extends Serializable> implements Serializable {
/**
* Concept of measure trend is dropped. This method does nothing.
- * @deprecated since 5.2. See https://jira.codehaus.org/browse/SONAR-6392
+ * @deprecated since 5.2. See https://jira.sonarsource.com/browse/SONAR-6392
* @return the measure object instance
*/
@Deprecated
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
index 14549bd4433..4063ed47712 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java
@@ -132,7 +132,7 @@ public class Project extends Resource implements Component {
/**
* @return the project's packaging
- * @deprecated in 2.8. See http://jira.codehaus.org/browse/SONAR-2341
+ * @deprecated in 2.8. See http://jira.sonarsource.com/browse/SONAR-2341
*/
@Deprecated
public String getPackaging() {
@@ -173,7 +173,7 @@ public class Project extends Resource implements Component {
/**
* For internal use only.
*
- * @deprecated in 2.8. See http://jira.codehaus.org/browse/SONAR-2341
+ * @deprecated in 2.8. See http://jira.sonarsource.com/browse/SONAR-2341
*/
@Deprecated
public Project setPackaging(String packaging) {
@@ -220,7 +220,7 @@ public class Project extends Resource implements Component {
* whether it's the latest analysis done on this project (displayed in sonar dashboard) or an analysis on a past revision.
*
* @since 2.0
- * @deprecated in 3.6. The analysis is now always the latest one (past analysis must be done in a chronological order). See http://jira.codehaus.org/browse/SONAR-4334
+ * @deprecated in 3.6. The analysis is now always the latest one (past analysis must be done in a chronological order). See http://jira.sonarsource.com/browse/SONAR-4334
*/
@Deprecated
public boolean isLatestAnalysis() {
@@ -231,7 +231,7 @@ public class Project extends Resource implements Component {
* For internal use only.
*
* @deprecated in 3.6. It's not possible to analyze a project before the latest known quality snapshot.
- * See http://jira.codehaus.org/browse/SONAR-4334
+ * See http://jira.sonarsource.com/browse/SONAR-4334
*/
@Deprecated
public Project setLatestAnalysis(boolean b) {
@@ -385,7 +385,7 @@ public class Project extends Resource implements Component {
/**
* For internal use only.
*
- * @deprecated since 2.6. See http://jira.codehaus.org/browse/SONAR-2126
+ * @deprecated since 2.6. See http://jira.sonarsource.com/browse/SONAR-2126
*/
@Deprecated
public Project setFileSystem(ProjectFileSystem fs) {
@@ -394,7 +394,7 @@ public class Project extends Resource implements Component {
}
/**
- * @deprecated since 2.5. See http://jira.codehaus.org/browse/SONAR-2011
+ * @deprecated since 2.5. See http://jira.sonarsource.com/browse/SONAR-2011
*/
@Deprecated
public String getGroupId() {
@@ -402,7 +402,7 @@ public class Project extends Resource implements Component {
}
/**
- * @deprecated since 2.5. See http://jira.codehaus.org/browse/SONAR-2011
+ * @deprecated since 2.5. See http://jira.sonarsource.com/browse/SONAR-2011
*/
@Deprecated
public String getArtifactId() {
@@ -411,7 +411,7 @@ public class Project extends Resource implements Component {
/**
* @return the underlying Maven project
- * @deprecated since 2.5. See http://jira.codehaus.org/browse/SONAR-2011 ,
+ * @deprecated since 2.5. See http://jira.sonarsource.com/browse/SONAR-2011 ,
* MavenProject can be retrieved as an IoC dependency
*/
@Deprecated
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java
index 3aad72f7531..3780adc4a13 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectFileSystem.java
@@ -65,7 +65,7 @@ public interface ProjectFileSystem extends BatchComponent {
*
* @return the current object
* @deprecated since 2.6 - ProjectFileSystem should be immutable
- * See http://jira.codehaus.org/browse/SONAR-2126
+ * See http://jira.sonarsource.com/browse/SONAR-2126
*/
@Deprecated
ProjectFileSystem addSourceDir(File dir);
@@ -80,7 +80,7 @@ public interface ProjectFileSystem extends BatchComponent {
*
* @return the current object
* @deprecated since 2.6 - ProjectFileSystem should be immutable
- * See http://jira.codehaus.org/browse/SONAR-2126
+ * See http://jira.sonarsource.com/browse/SONAR-2126
*/
@Deprecated
ProjectFileSystem addTestDir(File dir);
@@ -107,7 +107,7 @@ public interface ProjectFileSystem extends BatchComponent {
*
* @param langs language filter. Check all files, whatever their language, if null or empty.
* @deprecated since 2.6 use {@link #mainFiles(String...)} instead.
- * See http://jira.codehaus.org/browse/SONAR-2126
+ * See http://jira.sonarsource.com/browse/SONAR-2126
*/
@Deprecated
List<File> getSourceFiles(Language... langs);
@@ -116,7 +116,7 @@ public interface ProjectFileSystem extends BatchComponent {
* Java source files, excluding unit tests and files matching project exclusion patterns. Shortcut for getSourceFiles(Java.INSTANCE)
*
* @deprecated since 2.6 use {@link #mainFiles(String...)} instead.
- * See http://jira.codehaus.org/browse/SONAR-2126
+ * See http://jira.sonarsource.com/browse/SONAR-2126
*/
@Deprecated
List<File> getJavaSourceFiles();
@@ -133,7 +133,7 @@ public interface ProjectFileSystem extends BatchComponent {
* Unit test files, excluding files matching project exclusion patterns.
*
* @deprecated since 2.6 use {@link #testFiles(String...)} instead.
- * See http://jira.codehaus.org/browse/SONAR-2126
+ * See http://jira.sonarsource.com/browse/SONAR-2126
*/
@Deprecated
List<File> getTestFiles(Language... langs);
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java
index d9bc510c1fa..86f207d9c93 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java
@@ -130,7 +130,7 @@ public class ActiveRule implements Cloneable {
}
/**
- * @deprecated since 2.5 use {@link #getSeverity()} instead. See http://jira.codehaus.org/browse/SONAR-1829
+ * @deprecated since 2.5 use {@link #getSeverity()} instead. See http://jira.sonarsource.com/browse/SONAR-1829
*/
@Deprecated
public RulePriority getPriority() {
@@ -138,7 +138,7 @@ public class ActiveRule implements Cloneable {
}
/**
- * @deprecated since 2.5 use {@link #setSeverity(RulePriority)} instead. See http://jira.codehaus.org/browse/SONAR-1829
+ * @deprecated since 2.5 use {@link #setSeverity(RulePriority)} instead. See http://jira.sonarsource.com/browse/SONAR-1829
*/
@Deprecated
public void setPriority(RulePriority priority) {
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java
index 7f19e8214cd..39b7ddfc940 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Violation.java
@@ -127,7 +127,7 @@ public class Violation {
*/
public Violation setLineId(Integer lineId) {
if (lineId != null && lineId < 1) {
- // TODO this normalization was added in 2.8, throw exception in future versions - see http://jira.codehaus.org/browse/SONAR-2386
+ // TODO this normalization was added in 2.8, throw exception in future versions - see http://jira.sonarsource.com/browse/SONAR-2386
Loggers.get(getClass()).warn("line must not be less than 1 - in future versions this will cause IllegalArgumentException");
this.lineId = null;
} else {
@@ -162,7 +162,7 @@ public class Violation {
}
/**
- * @deprecated since 2.5 use {@link #getSeverity()} instead. See http://jira.codehaus.org/browse/SONAR-1829
+ * @deprecated since 2.5 use {@link #getSeverity()} instead. See http://jira.sonarsource.com/browse/SONAR-1829
*/
@Deprecated
public RulePriority getPriority() {
@@ -172,7 +172,7 @@ public class Violation {
/**
* For internal use only
*
- * @deprecated since 2.5 use {@link #setSeverity(RulePriority)} instead. See http://jira.codehaus.org/browse/SONAR-1829
+ * @deprecated since 2.5 use {@link #setSeverity(RulePriority)} instead. See http://jira.sonarsource.com/browse/SONAR-1829
*/
@Deprecated
public Violation setPriority(RulePriority priority) {
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java
index cd884949aeb..1c1aab3f78a 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java
@@ -456,7 +456,7 @@ public interface RulesDefinition {
if (newRules.containsKey(ruleKey)) {
// Should fail in a perfect world, but at the time being the Findbugs plugin
// defines several times the rule EC_INCOMPATIBLE_ARRAY_COMPARE
- // See http://jira.codehaus.org/browse/SONARJAVA-428
+ // See http://jira.sonarsource.com/browse/SONARJAVA-428
Loggers.get(getClass()).warn(String.format("The rule '%s' of repository '%s' is declared several times", ruleKey, key));
}
NewRule newRule = new NewRule(key, ruleKey);
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java
index 349862d1874..d9a57ec6705 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java
@@ -37,9 +37,9 @@ public @interface NavigationSection {
String RESOURCE = "resource";
/**
- * Support removed in 5.1. See https://jira.codehaus.org/browse/SONAR-6016.
+ * Support removed in 5.1. See https://jira.sonarsource.com/browse/SONAR-6016.
* @deprecated in 4.5, as it costs too much to maintain and update.
- * @see <a href="https://jira.codehaus.org/browse/SONAR-5321">SONAR-5321</a>
+ * @see <a href="https://jira.sonarsource.com/browse/SONAR-5321">SONAR-5321</a>
*/
@Deprecated
String RESOURCE_TAB = "resource_tab";
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/rules/ViolationTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/ViolationTest.java
index 029fcc9d9f6..6cfba7e385c 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/rules/ViolationTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/ViolationTest.java
@@ -35,7 +35,7 @@ public class ViolationTest {
}
/**
- * See http://jira.codehaus.org/browse/SONAR-2386
+ * See http://jira.sonarsource.com/browse/SONAR-2386
*/
@Test
public void testLineIdContract() {
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/server/rule/RulesDefinitionTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/server/rule/RulesDefinitionTest.java
index e3ee4f76be9..b4158ce60ba 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/server/rule/RulesDefinitionTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/server/rule/RulesDefinitionTest.java
@@ -243,7 +243,7 @@ public class RulesDefinitionTest {
RulesDefinition.NewRepository findbugs = context.createRepository("findbugs", "java");
findbugs.createRule("NPE");
findbugs.createRule("NPE");
- // do not fail as long as http://jira.codehaus.org/browse/SONARJAVA-428 is not fixed
+ // do not fail as long as http://jira.sonarsource.com/browse/SONARJAVA-428 is not fixed
}
@Test
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/WildcardPatternTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/utils/WildcardPatternTest.java
index 6e3001795d8..ae4aadd8aa3 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/utils/WildcardPatternTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/utils/WildcardPatternTest.java
@@ -123,7 +123,7 @@ public class WildcardPatternTest {
}
/**
- * See http://jira.codehaus.org/browse/SONAR-2193
+ * See http://jira.sonarsource.com/browse/SONAR-2193
*/
@Test
public void issue2193() {