@@ -242,6 +242,7 @@ subprojects { | |||
tasks.withType(Javadoc) { | |||
options.addStringOption('Xdoclint:none', '-quiet') | |||
options.encoding = 'UTF-8' | |||
} | |||
task sourcesJar(type: Jar, dependsOn: classes) { |
@@ -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 |
@@ -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); | |||
@@ -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> |