diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-07 00:06:43 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-07 00:06:43 +0000 |
commit | 39323540f630b889cb2f35346cfd9367ad62d7c6 (patch) | |
tree | 0a0a29ad88310c19ade3f3dc3c0dcf3466cb71d9 /sonar-plugin-api | |
parent | 2a284ad6f574db6d1fb2c043790ffa2c18d5dcd1 (diff) | |
download | sonarqube-39323540f630b889cb2f35346cfd9367ad62d7c6.tar.gz sonarqube-39323540f630b889cb2f35346cfd9367ad62d7c6.zip |
SONAR-1988 Description of rule parameters should be optional
SONAR-2029 The field Rule.configKey should be nullable
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java index f68f570e2be..d257ef39a2f 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java @@ -48,13 +48,13 @@ public final class Rule { @Column(name = "name", updatable = true, nullable = false)
private String name;
- @Column(name = "plugin_rule_key", updatable = false, nullable = true)
+ @Column(name = "plugin_rule_key", updatable = false, nullable = true, length = 200)
private String key;
@Column(name = "enabled", updatable = true, nullable = true)
private Boolean enabled = Boolean.TRUE;
- @Column(name = "plugin_config_key", updatable = true, nullable = true)
+ @Column(name = "plugin_config_key", updatable = true, nullable = true, length = 500)
private String configKey;
// Godin: This field should be named priority, otherwise StandardRulesXmlParserTest fails
|