summaryrefslogtreecommitdiffstats
path: root/plugins/sonar-checkstyle-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-03-16 11:46:48 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-03-16 11:50:43 +0100
commitf6a1da456075b5307537c9f736eecb656c5d3a2d (patch)
tree66d1d3bd84833af3ba30572629637ba69537791f /plugins/sonar-checkstyle-plugin
parentab19fa283c7c86034ebde4823b3b8675797d9fbb (diff)
downloadsonarqube-f6a1da456075b5307537c9f736eecb656c5d3a2d.tar.gz
sonarqube-f6a1da456075b5307537c9f736eecb656c5d3a2d.zip
SONAR-1378 validate property types + update type of core properties
Diffstat (limited to 'plugins/sonar-checkstyle-plugin')
-rw-r--r--plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java
index 515b8d15e04..9bba008989b 100644
--- a/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java
+++ b/plugins/sonar-checkstyle-plugin/src/main/java/org/sonar/plugins/checkstyle/CheckstylePlugin.java
@@ -21,6 +21,7 @@ package org.sonar.plugins.checkstyle;
import org.sonar.api.Properties;
import org.sonar.api.Property;
+import org.sonar.api.PropertyType;
import org.sonar.api.SonarPlugin;
import java.util.Arrays;
@@ -35,7 +36,7 @@ import java.util.List;
+ " See <a href='http://checkstyle.sourceforge.net/config.html'>Checkstyle configuration page</a> to get more information on those filters.",
project = false,
global = true,
- type = Property.Type.TEXT)})
+ type = PropertyType.TEXT)})
public final class CheckstylePlugin extends SonarPlugin {
public List getExtensions() {