From e938a7caff8e68f91435d3ae0fda3bfab1122fc8 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Tue, 23 Aug 2016 02:47:38 +0200 Subject: [PATCH] SonarQube custom plugins, little improvement --- Sonar/Plugins/sonar-custom-java-plugin/pom.xml | 4 ++-- .../plugins/custom/javascript/CustomRulesDefinition.java | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) 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")) { -- 2.1.4