diff options
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 |