aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main
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/src/main
parent7d2b20e368c4d680bf40b1b5b1b48fad8f205fab (diff)
downloadsonarqube-ab6fd46a1f0936c3d8e05ada5b984819dae4283b.tar.gz
sonarqube-ab6fd46a1f0936c3d8e05ada5b984819dae4283b.zip
fix missing class constructor (mostly GSon serialized classes)
Diffstat (limited to 'sonar-plugin-api/src/main')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java
index c55ca6ce550..2fdd1ba58b8 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinition.java
@@ -359,7 +359,7 @@ public interface RulesDefinition {
*/
class Context extends AbstractContext {
private final Map<String, Repository> repositoriesByKey = new HashMap<>();
- private String currentPluginKey;
+ private String currentPluginKey = null;
@Override
public RulesDefinition.NewRepository createRepository(String key, String language) {