Sfoglia il codice sorgente

Fix javadoc encoding

tags/7.5
Simon Brandhof 5 anni fa
parent
commit
92b3cb4a98

+ 1
- 0
build.gradle Vedi File

@@ -242,6 +242,7 @@ subprojects {

tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.encoding = 'UTF-8'
}

task sourcesJar(type: Jar, dependsOn: classes) {

+ 1
- 1
sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtRemediationFunction.java Vedi File

@@ -48,7 +48,7 @@ public interface DebtRemediationFunction {
* <p>
* <code>Total remediation cost = base effort + (number of noncompliance x gap multiplier)</code>
*
* <p>The rule must provide the "gap" value when raising an issue. Let’s take as a example the “Paragraphs should not be too complex” rule.
* <p>The rule must provide the "gap" value when raising an issue. Let's take as a example the "Paragraphs should not be too complex" rule.
* If you set the rule threshold to 20, and you have a paragraph with a complexity of 27, you have 7 points of complexity
* to remove. Internally, this is called the Gap. In that case, if you use the LINEAR_OFFSET configuration
* with an base effort of 4h and a remediation cost of 1mn, the effort for this issue related to a

+ 1
- 1
sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java Vedi File

@@ -523,7 +523,7 @@ public interface WebService extends Definable<WebService.Context> {
this.changelog = newAction.changelog;

checkState(this.handler != null, "RequestHandler is not set on action %s", path);
logWarningIf(isNullOrEmpty(this.description), "Description is not set on action " + path);
logWarningIf(isNullOrEmpty(this.description), "Description is not set on action " + path);
logWarningIf(isNullOrEmpty(this.since), "Since is not set on action " + path);
logWarningIf(!this.post && this.responseExample == null, "The response example is not set on action " + path);


+ 1
- 1
sonar-plugin-api/src/main/java/org/sonar/api/utils/log/Logger.java Vedi File

@@ -32,7 +32,7 @@ import javax.annotation.Nullable;
*
* public void doSomething() {
* LOGGER.info("something valuable for production environment");
* LOGGER.warn("message with arguments {} and {}", "foo", 42);
* LOGGER.warn("message with arguments {} and {}", "foo", 42);
* }
* }
* </pre>

Loading…
Annulla
Salva