]> source.dussan.org Git - sonarqube.git/commitdiff
Fix javadoc encoding
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 18 Sep 2018 14:24:15 +0000 (16:24 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 19 Sep 2018 08:51:43 +0000 (10:51 +0200)
build.gradle
sonar-plugin-api/src/main/java/org/sonar/api/server/debt/DebtRemediationFunction.java
sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
sonar-plugin-api/src/main/java/org/sonar/api/utils/log/Logger.java

index f2a5dc8b6d49145fc001189beb783e469df7d133..257fe527f20c3cccaa684ba42e0037b69d63d484 100644 (file)
@@ -242,6 +242,7 @@ subprojects {
 
   tasks.withType(Javadoc) {
     options.addStringOption('Xdoclint:none', '-quiet')
+    options.encoding = 'UTF-8'
   }
 
   task sourcesJar(type: Jar, dependsOn: classes) {
index b2635b58901e1fbe345cc0d54dce1c9a80af7807..eb7a333466f77c452dcf4962ebe4c7e38fc262c6 100644 (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
index f385d9e9bfecf80f72d66a48056dd16e2ab783bb..0515f1aea59b0acd4446965ebe2561d153089679 100644 (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);
 
index e0efbcbca32cf3889553ecf96d9c3ca5ed6c2b08..f80f3262ae697804bba9d5780434d4453586623b 100644 (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>