@@ -5,7 +5,7 @@ Copyright 2008-2015 SonarSource. | |||
Licensed under the GNU Lesser General Public License, Version 3.0: http://www.gnu.org/licenses/lgpl.txt | |||
[1]: http://www.sonarqube.org/ | |||
[2]: http://jira.codehaus.org/browse/SONAR | |||
[2]: http://jira.sonarsource.com/browse/SONAR | |||
[3]: http://docs.sonarqube.org/display/SONAR | |||
### Build status |
@@ -40,7 +40,7 @@ | |||
<issueManagement> | |||
<system>jira</system> | |||
<url>http://jira.codehaus.org/browse/SONAR</url> | |||
<url>http://jira.sonarsource.com/browse/SONAR</url> | |||
</issueManagement> | |||
<distributionManagement> |
@@ -46,14 +46,14 @@ sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar | |||
# - It's recommended to use the latest version of the JDBC driver (ojdbc6.jar). | |||
# Download it in http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html | |||
# - Copy the driver to the directory extensions/jdbc-driver/oracle/ | |||
# - If you need to set the schema, please refer to http://jira.codehaus.org/browse/SONAR-5000 | |||
# - If you need to set the schema, please refer to http://jira.sonarsource.com/browse/SONAR-5000 | |||
# - Comment the embedded database and uncomment the following line: | |||
#sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE | |||
#----- PostgreSQL 8.x/9.x | |||
# Comment the embedded database and uncomment the following property to use PostgreSQL. | |||
# If you don't use the schema named "public", please refer to http://jira.codehaus.org/browse/SONAR-5000 | |||
# If you don't use the schema named "public", please refer to http://jira.sonarsource.com/browse/SONAR-5000 | |||
#sonar.jdbc.url=jdbc:postgresql://localhost/sonar | |||
@@ -74,7 +74,7 @@ public class ProcessProperties { | |||
public static final String ES_PLUGIN_LISTUPDATE_VALUE = "value"; | |||
public static final String WEB_ENFORCED_JVM_ARGS = "-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false " + | |||
// jruby is slow with java 8: https://jira.codehaus.org/browse/SONAR-6115 | |||
// jruby is slow with java 8: https://jira.sonarsource.com/browse/SONAR-6115 | |||
"-Djruby.compile.invokedynamic=false"; | |||
private ProcessProperties() { |
@@ -46,14 +46,14 @@ sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar | |||
# - It's recommended to use the latest version of the JDBC driver (ojdbc6.jar). | |||
# Download it in http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html | |||
# - Copy the driver to the directory extensions/jdbc-driver/oracle/ | |||
# - If you need to set the schema, please refer to http://jira.codehaus.org/browse/SONAR-5000 | |||
# - If you need to set the schema, please refer to http://jira.sonarsource.com/browse/SONAR-5000 | |||
# - Comment the embedded database and uncomment the following line: | |||
#sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE | |||
#----- PostgreSQL 8.x/9.x | |||
# Comment the embedded database and uncomment the following property to use PostgreSQL. | |||
# If you don't use the schema named "public", please refer to http://jira.codehaus.org/browse/SONAR-5000 | |||
# If you don't use the schema named "public", please refer to http://jira.sonarsource.com/browse/SONAR-5000 | |||
#sonar.jdbc.url=jdbc:postgresql://localhost/sonar | |||
@@ -120,7 +120,7 @@ class TomcatConnectors { | |||
setConnectorAttribute(connector, "clientAuth", props.value("sonar.web.https.clientAuth", "false")); | |||
setConnectorAttribute(connector, "ciphers", props.value(PROP_HTTPS_CIPHERS)); | |||
// SSLv3 must not be enable because of Poodle vulnerability | |||
// See https://jira.codehaus.org/browse/SONAR-5860 | |||
// See https://jira.sonarsource.com/browse/SONAR-5860 | |||
setConnectorAttribute(connector, "sslEnabledProtocols", "TLSv1,TLSv1.1,TLSv1.2"); | |||
setConnectorAttribute(connector, "sslProtocol", "TLS"); | |||
setConnectorAttribute(connector, "SSLEnabled", true); |
@@ -79,7 +79,7 @@ public class PersistIssuesStep implements ComputationStep { | |||
int updateCount = mapper.updateIfBeforeSelectedDate(dto); | |||
if (updateCount == 0) { | |||
// End-user and scan changed the issue at the same time. | |||
// See https://jira.codehaus.org/browse/SONAR-4309 | |||
// See https://jira.sonarsource.com/browse/SONAR-4309 | |||
conflictResolver.resolve(issue, mapper); | |||
} | |||
} |
@@ -66,7 +66,7 @@ public class DatabaseChecker implements Startable { | |||
Connection connection = db.getDataSource().getConnection(); | |||
try { | |||
// check version of db | |||
// See http://jira.codehaus.org/browse/SONAR-6434 | |||
// See http://jira.sonarsource.com/browse/SONAR-6434 | |||
int majorVersion = connection.getMetaData().getDatabaseMajorVersion(); | |||
if (majorVersion < ORACLE_MIN_MAJOR_VERSION) { | |||
throw MessageException.of(String.format( |
@@ -54,7 +54,7 @@ public class ConvertIssueDebtToMinutesMigrationStep extends BaseDataChange { | |||
final Date now = new Date(system2.now()); | |||
MassUpdate massUpdate = context.prepareMassUpdate(); | |||
// See https://jira.codehaus.org/browse/SONAR-5394 | |||
// See https://jira.sonarsource.com/browse/SONAR-5394 | |||
// The SQL request should not set the filter on technical_debt is not null. There's no index | |||
// on this column, so filtering is done programmatically. | |||
massUpdate.select("select id, technical_debt from issues"); |
@@ -27,7 +27,7 @@ import org.sonar.server.db.migrations.MigrationStep; | |||
import org.sonar.server.db.migrations.v44.ConvertProfileMeasuresMigrationStep; | |||
/** | |||
* See http://jira.codehaus.org/browse/SONAR-5580 | |||
* See http://jira.sonarsource.com/browse/SONAR-5580 | |||
* {@link ConvertProfileMeasuresMigrationStep} | |||
* introduced a regression in 4.4. Measures on orphan profiles were kept | |||
* in old format (no JSON data but numeric value of profile id) |
@@ -42,7 +42,7 @@ import com.google.common.collect.Iterables; | |||
import com.google.common.collect.Multimap; | |||
/** | |||
* See http://jira.codehaus.org/browse/SONAR-5575 | |||
* See http://jira.sonarsource.com/browse/SONAR-5575 | |||
* | |||
* Add missing parameters (with no value) on each custom rules | |||
* |
@@ -31,7 +31,7 @@ import org.sonar.server.db.migrations.Select; | |||
import org.sonar.server.db.migrations.SqlStatement; | |||
/** | |||
* See http://jira.codehaus.org/browse/SONAR-5758 | |||
* See http://jira.sonarsource.com/browse/SONAR-5758 | |||
* | |||
* @since 4.5.1 | |||
*/ |
@@ -38,7 +38,7 @@ import com.google.common.base.Predicate; | |||
import com.google.common.collect.Iterables; | |||
/** | |||
* See http://jira.codehaus.org/browse/SONAR-6187 | |||
* See http://jira.sonarsource.com/browse/SONAR-6187 | |||
* | |||
* Add a new Characteristic 'Usability' with 2 sub-characteristics 'Accessibility' and 'Ease of Use' | |||
* and add a new sub-characteristic 'Compliance' for all characteristics. |
@@ -29,7 +29,7 @@ import org.sonar.server.db.migrations.Select; | |||
import org.sonar.server.db.migrations.SqlStatement; | |||
/** | |||
* See http://jira.codehaus.org/browse/SONAR-5596 | |||
* See http://jira.sonarsource.com/browse/SONAR-5596 | |||
* | |||
* It's no possible to set permission on a module or a sub-view, but the batch was setting default permission on it on their creation. | |||
* As now it's no more the case, we need to purge this useless data. |
@@ -111,7 +111,7 @@ public class NotificationService implements Startable { | |||
LOG.error("Error in NotificationService", e); | |||
} finally { | |||
// Free Hibernate session | |||
// See https://jira.codehaus.org/browse/SONAR-6566 | |||
// See https://jira.sonarsource.com/browse/SONAR-6566 | |||
databaseSessionFactory.clear(); | |||
} | |||
} |
@@ -128,7 +128,7 @@ public class QProfileService { | |||
} | |||
public void backup(String profileKey, Writer writer) { | |||
// Allowed to non-admin users (see http://jira.codehaus.org/browse/SONAR-2039) | |||
// Allowed to non-admin users (see http://jira.sonarsource.com/browse/SONAR-2039) | |||
backuper.backup(profileKey, writer); | |||
} | |||
@@ -223,7 +223,7 @@ public abstract class BaseIndex<DOMAIN, DTO extends Dto<KEY>, KEY extends Serial | |||
// In case there is a replication factor set by the index, | |||
// it is removed since we're using global cluster state | |||
// see https://jira.codehaus.org/browse/SONAR-5687 | |||
// see https://jira.sonarsource.com/browse/SONAR-5687 | |||
settings.remove("index.number_of_replicas"); | |||
return settings.build(); |
@@ -44,7 +44,7 @@ public class RegisterServletFilters { | |||
if (MasterServletFilter.INSTANCE != null) { | |||
// Probably a database upgrade. MasterSlaveFilter was instantiated by the servlet container | |||
// while picocontainer was not completely up. | |||
// See https://jira.codehaus.org/browse/SONAR-3612 | |||
// See https://jira.sonarsource.com/browse/SONAR-3612 | |||
MasterServletFilter.INSTANCE.initFilters(Arrays.asList(filters)); | |||
} | |||
} |
@@ -4,7 +4,7 @@ | |||
"version": "5.1", | |||
"description": "New overall layout, merge Issues Drilldown [...]", | |||
"releaseDate": "2015-04-02", | |||
"changeLogUrl": "http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11694&version=20666", | |||
"changeLogUrl": "http://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=11694&version=20666", | |||
"downloadUrl": "http://dist.sonar.codehaus.org/sonarqube-5.1.zip", | |||
"plugins": { | |||
"requireUpdate": [ |
@@ -9,7 +9,7 @@ | |||
"organizationName": "SonarSource", | |||
"organizationUrl": "http://www.sonarsource.com", | |||
"homepageUrl": "http://redirect.sonarsource.com/plugins/scmgit.html", | |||
"issueTrackerUrl": "http://jira.codehaus.org/browse/SONARSCGIT", | |||
"issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARSCGIT", | |||
"implementationBuild": "9ce9d330c313c296fab051317cc5ad4b26319e07" | |||
}, | |||
{ | |||
@@ -21,7 +21,7 @@ | |||
"organizationName": "SonarSource", | |||
"organizationUrl": "http://www.sonarsource.com", | |||
"homepageUrl": "http://redirect.sonarsource.com/plugins/java.html", | |||
"issueTrackerUrl": "http://jira.codehaus.org/browse/SONARJAVA", | |||
"issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARJAVA", | |||
"implementationBuild": "65396a609ddface8b311a6a665aca92a7da694f1" | |||
}, | |||
{ | |||
@@ -33,7 +33,7 @@ | |||
"organizationName": "SonarSource", | |||
"organizationUrl": "http://www.sonarsource.com", | |||
"homepageUrl": "http://redirect.sonarsource.com/plugins/scmsvn.html", | |||
"issueTrackerUrl": "http://jira.codehaus.org/browse/SONARSCSVN", | |||
"issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARSCSVN", | |||
"implementationBuild": "213fc8a8b582ff530b12dd4a59a6512be1071234" | |||
} | |||
] |
@@ -9,7 +9,7 @@ | |||
"organizationName": "SonarSource", | |||
"organizationUrl": "http://www.sonarsource.com", | |||
"homepageUrl": "http://redirect.sonarsource.com/plugins/scmgit.html", | |||
"issueTrackerUrl": "http://jira.codehaus.org/browse/SONARSCGIT", | |||
"issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARSCGIT", | |||
"implementationBuild": "9ce9d330c313c296fab051317cc5ad4b26319e07" | |||
}, | |||
{ | |||
@@ -21,7 +21,7 @@ | |||
"organizationName": "SonarSource", | |||
"organizationUrl": "http://www.sonarsource.com", | |||
"homepageUrl": "http://redirect.sonarsource.com/plugins/java.html", | |||
"issueTrackerUrl": "http://jira.codehaus.org/browse/SONARJAVA", | |||
"issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARJAVA", | |||
"implementationBuild": "65396a609ddface8b311a6a665aca92a7da694f1" | |||
} | |||
], | |||
@@ -35,7 +35,7 @@ | |||
"organizationName": "SonarSource", | |||
"organizationUrl": "http://www.sonarsource.com", | |||
"homepageUrl": "http://redirect.sonarsource.com/plugins/scmsvn.html", | |||
"issueTrackerUrl": "http://jira.codehaus.org/browse/SONARSCSVN", | |||
"issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARSCSVN", | |||
"implementationBuild": "213fc8a8b582ff530b12dd4a59a6512be1071234" | |||
} | |||
] |
@@ -46,7 +46,7 @@ | |||
"version": "1.0", | |||
"date": "2014-03-31", | |||
"description": "Makes the plugin compatible with multi-language analysis introduced in SonarQube 4.2 and adds support of Emma 2.0 reports", | |||
"changeLogUrl": "http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=13235&version=20187" | |||
"changeLogUrl": "http://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=13235&version=20187" | |||
}, | |||
"status": "COMPATIBLE", | |||
"requires": [ |
@@ -12,7 +12,7 @@ ltsVersion=3.7.1 | |||
# Describe each version listed in "publicVersions" and "privateVersions" : release date, URL to release notes, plain-text description, URL to ZIP distribution | |||
3.7.1.date=2012-05-20 | |||
3.7.1.changelogUrl=http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11694&version=232323 | |||
3.7.1.changelogUrl=http://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=11694&version=232323 | |||
3.7.1.description=Fix regressions | |||
3.7.1.downloadUrl=http://dist.sonar.codehaus.org/sonar-3.7.1.zip | |||
@@ -35,13 +35,13 @@ decoy.1.0.date=2012-03-18 | |||
decoy.1.0.sqVersions=${project.version} | |||
decoy.1.0.description=Surprise | |||
decoy.1.0.downloadUrl=[[decoy.10.jar]] | |||
decoy.1.0.changelogUrl=http://jira.codehaus.org/foo | |||
decoy.1.0.changelogUrl=http://jira.sonarsource.com/foo | |||
decoy.1.1.date=2012-03-18 | |||
decoy.1.1.sqVersions=${project.version} | |||
decoy.1.1.description=Surprise | |||
decoy.1.1.downloadUrl=[[decoy.11.jar]] | |||
decoy.1.1.changelogUrl=http://jira.codehaus.org/foo | |||
decoy.1.1.changelogUrl=http://jira.sonarsource.com/foo | |||
# =============== decoy plugin | |||
# Releases. Note that no need for "privateVersions" for now. | |||
@@ -59,4 +59,4 @@ foo.1.0.date=2012-03-18 | |||
foo.1.0.sqVersions=${project.version} | |||
foo.1.0.description=Surprise | |||
foo.1.0.downloadUrl=[[foo.10.jar]] | |||
foo.1.0.changelogUrl=http://jira.codehaus.org/foo | |||
foo.1.0.changelogUrl=http://jira.sonarsource.com/foo |
@@ -66,7 +66,7 @@ public class ConvertProfileMeasuresMigrationTest { | |||
} | |||
/** | |||
* http://jira.codehaus.org/browse/SONAR-5515 | |||
* http://jira.sonarsource.com/browse/SONAR-5515 | |||
* Version of quality profile was introduced in SQ 2.9. Migration must not fail | |||
* when there are still some projects which last analysis was done with SQ <= 2.8. | |||
*/ | |||
@@ -91,7 +91,7 @@ public class ConvertProfileMeasuresMigrationTest { | |||
} | |||
/** | |||
* http://jira.codehaus.org/browse/SONAR-5580 | |||
* http://jira.sonarsource.com/browse/SONAR-5580 | |||
*/ | |||
@Test | |||
public void delete_measure_when_profile_does_not_exist() throws Exception { |
@@ -107,7 +107,7 @@ public class UpgradesActionTest { | |||
.setLicense("GNU LGPL 3") | |||
.setOrganization("SonarSource") | |||
.setOrganizationUrl("http://www.sonarsource.com") | |||
.setIssueTrackerUrl("http://jira.codehaus.org/browse/SONARPLUGINS/component/14663") | |||
.setIssueTrackerUrl("http://jira.sonarsource.com/browse/SONARPLUGINS/component/14663") | |||
.setSourcesUrl("https://github.com/SonarCommunity/sonar-branding"); | |||
Plugin viewsPlugin = new Plugin("views") | |||
.setName("Views") | |||
@@ -125,7 +125,7 @@ public class UpgradesActionTest { | |||
.setDate(DateUtils.parseDate("2015-04-02")) | |||
.setDescription("New overall layout, merge Issues Drilldown [...]") | |||
.setDownloadUrl("http://dist.sonar.codehaus.org/sonarqube-5.1.zip") | |||
.setChangelogUrl("http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11694&version=20666") | |||
.setChangelogUrl("http://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=11694&version=20666") | |||
); | |||
sonarUpdate.addIncompatiblePlugin(brandingPlugin); |
@@ -92,7 +92,7 @@ public class PendingActionTest { | |||
" \"organizationName\": \"SonarSource\"," + | |||
" \"organizationUrl\": \"http://www.sonarsource.com\"," + | |||
" \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," + | |||
" \"issueTrackerUrl\": \"http://jira.codehaus.org/browse/SONARSCGIT\"," + | |||
" \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"," + | |||
" \"implementationBuild\": \"9ce9d330c313c296fab051317cc5ad4b26319e07\"" + | |||
" }" + | |||
" ]," + | |||
@@ -121,7 +121,7 @@ public class PendingActionTest { | |||
" \"organizationName\": \"SonarSource\"," + | |||
" \"organizationUrl\": \"http://www.sonarsource.com\"," + | |||
" \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," + | |||
" \"issueTrackerUrl\": \"http://jira.codehaus.org/browse/SONARSCGIT\"," + | |||
" \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"," + | |||
" \"implementationBuild\": \"9ce9d330c313c296fab051317cc5ad4b26319e07\"" + | |||
" }" + | |||
" ]" + | |||
@@ -202,7 +202,7 @@ public class PendingActionTest { | |||
.setOrganizationName("SonarSource") | |||
.setOrganizationUrl("http://www.sonarsource.com") | |||
.setHomepageUrl("http://redirect.sonarsource.com/plugins/scmgit.html") | |||
.setIssueTrackerUrl("http://jira.codehaus.org/browse/SONARSCGIT") | |||
.setIssueTrackerUrl("http://jira.sonarsource.com/browse/SONARSCGIT") | |||
.setImplementationBuild("9ce9d330c313c296fab051317cc5ad4b26319e07"); | |||
} | |||
@@ -57,7 +57,7 @@ public class PluginWSCommonsTest { | |||
" \"organizationName\": \"SonarSource\"," + | |||
" \"organizationUrl\": \"http://www.sonarsource.com\"," + | |||
" \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," + | |||
" \"issueTrackerUrl\": \"http://jira.codehaus.org/browse/SONARSCGIT\"" + | |||
" \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"" + | |||
"}"); | |||
} | |||
@@ -77,7 +77,7 @@ public class PluginWSCommonsTest { | |||
" \"organizationName\": \"SonarSource\"," + | |||
" \"organizationUrl\": \"http://www.sonarsource.com\"," + | |||
" \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," + | |||
" \"issueTrackerUrl\": \"http://jira.codehaus.org/browse/SONARSCGIT\"," + | |||
" \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"," + | |||
"}"); | |||
} | |||
@@ -215,7 +215,7 @@ public class PluginWSCommonsTest { | |||
.setOrganizationName("SonarSource") | |||
.setOrganizationUrl("http://www.sonarsource.com") | |||
.setHomepageUrl("http://redirect.sonarsource.com/plugins/scmgit.html") | |||
.setIssueTrackerUrl("http://jira.codehaus.org/browse/SONARSCGIT"); | |||
.setIssueTrackerUrl("http://jira.sonarsource.com/browse/SONARSCGIT"); | |||
} | |||
private Plugin newPlugin() { |
@@ -66,7 +66,7 @@ public class UpdatesActionTest extends AbstractUpdateCenterBasedPluginsWsActionT | |||
.setDate(DateUtils.parseDate("2014-03-31")) | |||
.setDescription("Makes the plugin compatible with multi-language analysis introduced in SonarQube 4.2 and adds support of Emma 2.0 reports") | |||
.setDownloadUrl("http://repository.codehaus.org/org/codehaus/sonar-plugins/android/sonar-android-plugin/1.0/sonar-android-plugin-1.0.jar") | |||
.setChangelogUrl("http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=13235&version=20187") | |||
.setChangelogUrl("http://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=13235&version=20187") | |||
.addOutgoingDependency(release(JAVA_PLUGIN, "1.0")); | |||
@@ -121,16 +121,16 @@ class Api::Utils | |||
# Splits a string into an array of lines | |||
# For history reference: | |||
# - http://jira.codehaus.org/browse/SONAR-2282 first modified the behaviour to keep the trailing lines | |||
# - then http://jira.codehaus.org/browse/SONAR-3003 reverted this modification to remove potential last empty line | |||
# - then http://jira.codehaus.org/browse/SONAR-3896 reactivate this modification to display last empty line | |||
# - http://jira.sonarsource.com/browse/SONAR-2282 first modified the behaviour to keep the trailing lines | |||
# - then http://jira.sonarsource.com/browse/SONAR-3003 reverted this modification to remove potential last empty line | |||
# - then http://jira.sonarsource.com/browse/SONAR-3896 reactivate this modification to display last empty line | |||
def self.split_newlines(input) | |||
input.split(/\r?\n|\r/, -1) | |||
end | |||
def self.convert_string_to_unix_newlines(input) | |||
# Don't use '\n' here | |||
# See http://jira.codehaus.org/browse/SONAR-2571 | |||
# See http://jira.sonarsource.com/browse/SONAR-2571 | |||
split_newlines(input).join("\n") | |||
end | |||
@@ -58,7 +58,7 @@ class Event < ActiveRecord::Base | |||
end | |||
# Use this method to display event description, as missing descriptions are not stored in the same way | |||
# on different DBs (see https://jira.codehaus.org/browse/SONAR-3326) | |||
# on different DBs (see https://jira.sonarsource.com/browse/SONAR-3326) | |||
def description_text | |||
description || '' | |||
end |
@@ -71,7 +71,7 @@ class Snapshot < ActiveRecord::Base | |||
end | |||
def self.for_timemachine_matrix(resource) | |||
# http://jira.codehaus.org/browse/SONAR-1850 | |||
# http://jira.sonarsource.com/browse/SONAR-1850 | |||
# Conditions on scope and qualifier are required to exclude library snapshots. | |||
# Use-case : | |||
# 1. project A 2.0 is analyzed -> new snapshot A with qualifier TRK |
@@ -208,7 +208,7 @@ | |||
}) | |||
.on('keypress', 'form', function (e) { | |||
if (e.which == 13 && e.target.nodeName != "TEXTAREA") { | |||
/* See https://jira.codehaus.org/browse/SONAR-4363 */ | |||
/* See https://jira.sonarsource.com/browse/SONAR-4363 */ | |||
submit_settings.click(); | |||
return false; | |||
} |
@@ -1,7 +1,7 @@ | |||
RAILS_GEM_VERSION = '2.3.15' | |||
# Avoid conflict with local ruby installations | |||
# See http://jira.codehaus.org/browse/SONAR-3579 | |||
# See http://jira.sonarsource.com/browse/SONAR-3579 | |||
ENV['GEM_HOME'] = $servlet_context.getRealPath('/WEB-INF/gems') | |||
# Bootstrap the Rails environment, frameworks, and default configuration | |||
@@ -180,7 +180,7 @@ class ActiveRecord::Migration | |||
def self.add_varchar_index(table_name, column_name, options = {}) | |||
if dialect()=='mysql' && !options[:length] | |||
# Index of varchar column is limited to 767 bytes on mysql (<= 255 UTF-8 characters) | |||
# See http://jira.codehaus.org/browse/SONAR-4137 and | |||
# See http://jira.sonarsource.com/browse/SONAR-4137 and | |||
# http://dev.mysql.com/doc/refman/5.6/en/innodb-restrictions.html | |||
options[:length]=255 | |||
end | |||
@@ -315,5 +315,5 @@ DatabaseVersion.automatic_setup | |||
# | |||
# Increase size of form parameters | |||
# See http://jira.codehaus.org/browse/SONAR-5577 | |||
# See http://jira.sonarsource.com/browse/SONAR-5577 | |||
Rack::Utils.key_space_limit = 262144 # 4 times the default size |
@@ -20,7 +20,7 @@ | |||
# | |||
# Sonar 2.13 | |||
# http://jira.codehaus.org/browse/SONAR-1974 | |||
# http://jira.sonarsource.com/browse/SONAR-1974 | |||
# | |||
class RefactorRuleMeasures < ActiveRecord::Migration | |||
@@ -29,7 +29,7 @@ class AddEnabledToProjectsKeeIndex < ActiveRecord::Migration | |||
if dialect=='mysql' | |||
# Index of varchar column is limited to 767 bytes on mysql (<= 255 UTF-8 characters) | |||
# See http://jira.codehaus.org/browse/SONAR-4137 and | |||
# See http://jira.sonarsource.com/browse/SONAR-4137 and | |||
# http://dev.mysql.com/doc/refman/5.6/en/innodb-restrictions.html | |||
add_index :projects, [:kee, :enabled], :name => 'projects_kee', :length => {:kee => 255} | |||
else |
@@ -40,7 +40,7 @@ module ActiveRecord | |||
#sonar | |||
# Why do we try to reconnect ? It opens two connections instead of a single one. | |||
# Commenting the reconnection allows to have a single JDBC connection per HTTP request | |||
# https://jira.codehaus.org/browse/SONAR-2784 | |||
# https://jira.sonarsource.com/browse/SONAR-2784 | |||
#reconnect! | |||
#/sonar | |||
end |
@@ -372,7 +372,7 @@ module ::ArJdbc | |||
end | |||
# SONAR - support the length parameter when creating indices | |||
# See http://jira.codehaus.org/browse/SONAR-4137 | |||
# See http://jira.sonarsource.com/browse/SONAR-4137 | |||
def quoted_columns_for_index(column_names, options = {}) | |||
length = options[:length] if options.is_a?(Hash) | |||
@@ -160,7 +160,7 @@ module ::ArJdbc | |||
def sql_literal?(value) | |||
# SonarQube | |||
# See http://jira.codehaus.org/browse/SONAR-4994 | |||
# See http://jira.sonarsource.com/browse/SONAR-4994 | |||
# This code always returns false (we use ActiveRecord 2.3) and is heavy-CPU consuming | |||
# because of raised exceptions. | |||
#defined?(::Arel::SqlLiteral) && ::Arel::SqlLiteral === value |
@@ -33,12 +33,12 @@ | |||
# - Only thin client is supported | |||
# - Only versions 11.2.* of Oracle JDBC driver are supported | |||
# - The JDBC driver must be copied into the directory extensions/jdbc-driver/oracle/ | |||
# - If you need to set the schema, please refer to http://jira.codehaus.org/browse/SONAR-5000 | |||
# - If you need to set the schema, please refer to http://jira.sonarsource.com/browse/SONAR-5000 | |||
#sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE | |||
#----- PostgreSQL 8.x/9.x | |||
# If you don't use the schema named "public", please refer to http://jira.codehaus.org/browse/SONAR-5000 | |||
# If you don't use the schema named "public", please refer to http://jira.sonarsource.com/browse/SONAR-5000 | |||
#sonar.jdbc.url=jdbc:postgresql://localhost/sonar | |||
@@ -144,7 +144,7 @@ public class MavenProjectConverter implements TaskExtension { | |||
} | |||
private static void guessEncoding(MavenProject pom, ProjectDefinition definition) { | |||
// See http://jira.codehaus.org/browse/SONAR-2151 | |||
// See http://jira.sonarsource.com/browse/SONAR-2151 | |||
String encoding = MavenUtils.getSourceEncoding(pom); | |||
if (encoding != null) { | |||
definition.setProperty(CoreProperties.ENCODING_PROPERTY, encoding); | |||
@@ -152,7 +152,7 @@ public class MavenProjectConverter implements TaskExtension { | |||
} | |||
private static void guessJavaVersion(MavenProject pom, ProjectDefinition definition) { | |||
// See http://jira.codehaus.org/browse/SONAR-2148 | |||
// See http://jira.sonarsource.com/browse/SONAR-2148 | |||
// Get Java source and target versions from maven-compiler-plugin. | |||
String version = MavenUtils.getJavaSourceVersion(pom); | |||
if (version != null) { |
@@ -139,7 +139,7 @@ public class CountUnresolvedIssuesDecoratorTest { | |||
} | |||
/** | |||
* See http://jira.codehaus.org/browse/SONAR-1729 | |||
* See http://jira.sonarsource.com/browse/SONAR-1729 | |||
*/ | |||
@Test | |||
public void should_not_count_issues_if_measure_already_exists() { |
@@ -16,7 +16,7 @@ | |||
<issueManagement> | |||
<system>jira</system> | |||
<url>http://jira.codehaus.org/browse/SONAR</url> | |||
<url>http://jira.sonarsource.com/browse/SONAR</url> | |||
</issueManagement> | |||
<mailingLists> | |||
@@ -48,4 +48,4 @@ | |||
</license> | |||
</licenses> | |||
</project> | |||
</project> |
@@ -30,7 +30,7 @@ import javax.annotation.CheckForNull; | |||
import java.util.Locale; | |||
/** | |||
* @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 | |||
@@ -47,7 +47,7 @@ public class RuleI18nManager implements RuleI18n { | |||
} | |||
/** | |||
* @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 | |||
*/ | |||
@Override | |||
@Deprecated | |||
@@ -56,7 +56,7 @@ public class RuleI18nManager implements RuleI18n { | |||
} | |||
/** | |||
* @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 | |||
*/ | |||
@Override | |||
@Deprecated | |||
@@ -65,7 +65,7 @@ public class RuleI18nManager implements RuleI18n { | |||
} | |||
/** | |||
* @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 | |||
*/ | |||
@Override | |||
@Deprecated | |||
@@ -74,7 +74,7 @@ public class RuleI18nManager implements RuleI18n { | |||
} | |||
/** | |||
* @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 | |||
*/ | |||
@Override | |||
@Deprecated | |||
@@ -112,7 +112,7 @@ public class RuleI18nManager implements RuleI18n { | |||
* Method used to ensure backward compatibility for language plugins that store HTML rule description files in the former | |||
* location (which was used prior to Sonar 3.0). | |||
* | |||
* See http://jira.codehaus.org/browse/SONAR-3319 | |||
* See http://jira.sonarsource.com/browse/SONAR-3319 | |||
*/ | |||
private String lookUpDescriptionInFormerLocation(String ruleKey, String relatedProperty) { | |||
return defaultI18n.messageFromFile(Locale.ENGLISH, ruleKey + ".html", relatedProperty); |
@@ -26,7 +26,7 @@ import org.sonar.api.issue.internal.DefaultIssue; | |||
/** | |||
* Support concurrent modifications on issues made by analysis and users at the same time | |||
* See https://jira.codehaus.org/browse/SONAR-4309 | |||
* See https://jira.sonarsource.com/browse/SONAR-4309 | |||
*/ | |||
public class UpdateConflictResolver { | |||
@@ -208,7 +208,7 @@ public class ResourceDao implements DaoComponent { | |||
* Will return the component itself if it's already the root project | |||
* Can return null if the component does not exists. | |||
* | |||
* The implementation should rather use a new column already containing the root project, see https://jira.codehaus.org/browse/SONAR-5188. | |||
* The implementation should rather use a new column already containing the root project, see https://jira.sonarsource.com/browse/SONAR-5188. | |||
*/ | |||
@CheckForNull | |||
public ResourceDto getRootProjectByComponentKey(DbSession session, String componentKey) { | |||
@@ -253,7 +253,7 @@ public class ResourceDao implements DaoComponent { | |||
* Will return the component itself if it's already the root project | |||
* Can return null if the component that does exists. | |||
* | |||
* The implementation should rather use a new column already containing the root project, see https://jira.codehaus.org/browse/SONAR-5188. | |||
* The implementation should rather use a new column already containing the root project, see https://jira.sonarsource.com/browse/SONAR-5188. | |||
*/ | |||
@CheckForNull | |||
public ResourceDto getRootProjectByComponentId(long componentId) { |
@@ -130,7 +130,7 @@ public class JpaDatabaseSession extends DatabaseSession { | |||
getEntityManager().persist(model); | |||
} catch (PersistenceException e) { | |||
/* | |||
* See http://jira.codehaus.org/browse/SONAR-2234 | |||
* See http://jira.sonarsource.com/browse/SONAR-2234 | |||
* In some cases Hibernate can throw exceptions without meaningful information about context, so we improve them here. | |||
*/ | |||
throw new PersistenceException("Unable to persist : " + model, e); | |||
@@ -197,7 +197,7 @@ public class JpaDatabaseSession extends DatabaseSession { | |||
@Override | |||
public <T> T getSingleResult(Query query, T defaultValue) { | |||
/* | |||
* See http://jira.codehaus.org/browse/SONAR-2225 | |||
* See http://jira.sonarsource.com/browse/SONAR-2225 | |||
* By default Hibernate throws NonUniqueResultException without meaningful information about context, | |||
* so we improve it here by adding all results in error message. | |||
* Note that in some rare situations we can receive too many results, which may lead to OOME, |
@@ -70,7 +70,7 @@ public class RuleI18nManagerTest { | |||
verifyNoMoreInteractions(i18n); | |||
} | |||
// see http://jira.codehaus.org/browse/SONAR-3319 | |||
// see http://jira.sonarsource.com/browse/SONAR-3319 | |||
@Test | |||
public void shouldGetDescriptionFromFileWithBackwardCompatibility() { | |||
String propertyKeyForName = "rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.name"; |
@@ -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"; |
@@ -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); | |||
@@ -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) { |
@@ -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 |
@@ -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) |
@@ -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 |
@@ -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 |
@@ -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); |
@@ -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) { |
@@ -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) { |
@@ -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); |
@@ -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"; |
@@ -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() { |
@@ -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 |
@@ -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() { |