diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-11 20:33:04 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-11 20:33:04 +0000 |
commit | 4400a7bd8870b92293ffd446db12fa52c116433c (patch) | |
tree | c3770bed9774eae8497e18c21eb46a946b141b54 /sonar-check-api/src/main/java/org/sonar/check/Rule.java | |
parent | 0a78a550a77d1968ce2c867285b1c85ef57b2eda (diff) | |
download | sonarqube-4400a7bd8870b92293ffd446db12fa52c116433c.tar.gz sonarqube-4400a7bd8870b92293ffd446db12fa52c116433c.zip |
fix build compatibility with Java 1.5
Diffstat (limited to 'sonar-check-api/src/main/java/org/sonar/check/Rule.java')
-rw-r--r-- | sonar-check-api/src/main/java/org/sonar/check/Rule.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sonar-check-api/src/main/java/org/sonar/check/Rule.java b/sonar-check-api/src/main/java/org/sonar/check/Rule.java index 8c49e303add..20c4cb0e34c 100644 --- a/sonar-check-api/src/main/java/org/sonar/check/Rule.java +++ b/sonar-check-api/src/main/java/org/sonar/check/Rule.java @@ -56,9 +56,5 @@ public @interface Rule { */ IsoCategory isoCategory(); - CARDINALITY cardinality() default CARDINALITY.SINGLE; - - public static enum CARDINALITY { - SINGLE, MULTIPLE - } -} + Cardinality cardinality() default Cardinality.SINGLE; +}
\ No newline at end of file |