From: Gustavo Martin Morcuende Date: Tue, 23 Aug 2016 00:47:38 +0000 (+0200) Subject: SonarQube custom plugins, little improvement X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=e938a7caff8e68f91435d3ae0fda3bfab1122fc8;p=JavaForFun SonarQube custom plugins, little improvement --- diff --git a/Sonar/Plugins/sonar-custom-java-plugin/pom.xml b/Sonar/Plugins/sonar-custom-java-plugin/pom.xml index 05a04de..48fb547 100644 --- a/Sonar/Plugins/sonar-custom-java-plugin/pom.xml +++ b/Sonar/Plugins/sonar-custom-java-plugin/pom.xml @@ -19,8 +19,8 @@ 5.6.1 4.0 1.8 - 2.10.4 - 3.0.1 + 2.10.4 + 3.0.1 ${project.basedir}/target/jacoco-it.exec ${project.basedir}/target/jacoco.exec diff --git a/Sonar/Plugins/sonar-custom-javascript-plugin/src/main/java/de/example/plugins/custom/javascript/CustomRulesDefinition.java b/Sonar/Plugins/sonar-custom-javascript-plugin/src/main/java/de/example/plugins/custom/javascript/CustomRulesDefinition.java index bc0c573..172b4cf 100644 --- a/Sonar/Plugins/sonar-custom-javascript-plugin/src/main/java/de/example/plugins/custom/javascript/CustomRulesDefinition.java +++ b/Sonar/Plugins/sonar-custom-javascript-plugin/src/main/java/de/example/plugins/custom/javascript/CustomRulesDefinition.java @@ -143,11 +143,11 @@ public class CustomRulesDefinition extends CustomJavaScriptRulesDefinition { } private static class Remediation { - String func; - String constantCost; - String linearDesc; - String linearOffset; - String linearFactor; + private String func; + private String constantCost; + private String linearDesc; + private String linearOffset; + private String linearFactor; public DebtRemediationFunction remediationFunction(DebtRemediationFunctions drf) { if(func.startsWith("Constant")) {