aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-impl
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-10-10 14:16:32 +0200
committerSonarTech <sonartech@sonarsource.com>2019-10-14 20:21:05 +0200
commitab6fd46a1f0936c3d8e05ada5b984819dae4283b (patch)
treeaca5781966a7cc69d0d35fa229dbcfce3e150e6c /sonar-plugin-api-impl
parent7d2b20e368c4d680bf40b1b5b1b48fad8f205fab (diff)
downloadsonarqube-ab6fd46a1f0936c3d8e05ada5b984819dae4283b.tar.gz
sonarqube-ab6fd46a1f0936c3d8e05ada5b984819dae4283b.zip
fix missing class constructor (mostly GSon serialized classes)
Diffstat (limited to 'sonar-plugin-api-impl')
-rw-r--r--sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/server/RulesDefinitionContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/server/RulesDefinitionContext.java b/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/server/RulesDefinitionContext.java
index 96a63d1cdfa..581e0552cef 100644
--- a/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/server/RulesDefinitionContext.java
+++ b/sonar-plugin-api-impl/src/main/java/org/sonar/api/impl/server/RulesDefinitionContext.java
@@ -36,7 +36,7 @@ import static org.sonar.api.utils.Preconditions.checkState;
public class RulesDefinitionContext extends RulesDefinition.Context {
private final Map<String, RulesDefinition.Repository> repositoriesByKey = new HashMap<>();
- private String currentPluginKey;
+ private String currentPluginKey = null;
@Override
public RulesDefinition.NewRepository createRepository(String key, String language) {