From 3dc5b94cacffd2c282de0c579484ed0ae081da09 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Thu, 9 Aug 2012 14:32:31 +0600 Subject: [PATCH] Reformat Checkstyle rules.xml for better readability --- .../org/sonar/plugins/checkstyle/rules.xml | 552 ++++-------------- 1 file changed, 101 insertions(+), 451 deletions(-) diff --git a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml index 64033016da6..651b39e9ec0 100644 --- a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml +++ b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml @@ -1,6 +1,5 @@ - com.puppycrawl.tools.checkstyle.checks.header.HeaderCheck MAJOR @@ -30,7 +29,6 @@ - MAJOR @@ -47,18 +45,13 @@ MAJOR - - MAJOR - - - @@ -66,21 +59,15 @@ MINOR - - MAJOR - - - - @@ -88,38 +75,28 @@ MAJOR - false - MAJOR - - - MAJOR - - MINOR - - - @@ -127,10 +104,7 @@ MINOR - - - @@ -138,23 +112,16 @@ MAJOR - MULTIPLE - - - - - - @@ -162,23 +129,16 @@ MAJOR - - MULTIPLE - - - - - @@ -186,26 +146,18 @@ MAJOR - - MULTIPLE - - - - - - @@ -213,10 +165,7 @@ MINOR - - - @@ -224,10 +173,7 @@ MINOR - - - @@ -235,28 +181,17 @@ MINOR - - - - - - MAJOR - - - - - @@ -264,15 +199,12 @@ MINOR - - MAJOR - ^Abstract.*$|^.*Factory$ @@ -283,55 +215,47 @@ false + MAJOR - - - + MAJOR - - + MINOR - - - + MINOR - - + MAJOR - - - + MINOR - @@ -341,229 +265,188 @@ false + MAJOR - - - - + MAJOR - - - + MAJOR - - - + MINOR MULTIPLE - ^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$ - true - true true - true + CRITICAL - - + MAJOR - - - + INFO - + MAJOR - - + MINOR - - + MAJOR - - + MAJOR - - - - + MINOR - - - + MINOR - - - + MINOR - - + CRITICAL - - + MAJOR - - - - - + MAJOR - - + MAJOR - - - - - + MAJOR - - - + MAJOR - - + MINOR - - - + MINOR - - - @@ -571,374 +454,276 @@ MAJOR - - - - - - - - - + MAJOR - - + MAJOR - - - + MAJOR - - - + MAJOR - - - + MAJOR - + MAJOR - - - + MAJOR - MULTIPLE - - - - - + MAJOR - - - - - - - + MINOR - - - - - - - - - + MINOR - - 4 - 0 - 4 - 8 + MAJOR - - - + MAJOR - - - - + MAJOR - - - - - - - - - - - - - - - - - - - - true + MAJOR - - - - - - - - - - - + MAJOR - - - - - - - - - + MAJOR - - - - + MINOR - - - - - - + MAJOR - - - - - - - + MAJOR - ^[a-z][a-zA-Z0-9]*$ + MAJOR MULTIPLE - ^[a-z][a-zA-Z0-9]*$ - + MINOR - @@ -950,242 +735,193 @@ false + MAJOR MULTIPLE - ^[a-z][a-zA-Z0-9]*$ - true - true - true - true + MAJOR - - - - - + MAJOR - ^[a-z][a-zA-Z0-9]*$ - false + MAJOR - - - - - + MAJOR - - + MAJOR - - + MAJOR - - + MINOR - - + MAJOR MULTIPLE - - - - - + MAJOR - - + MAJOR - - - - + MAJOR - - - - + MINOR - - - + MAJOR - - - + MAJOR - - - + MINOR - - - - - + MINOR - - - - - + MINOR - - - - + MINOR - - - - - + MAJOR - @@ -1193,28 +929,26 @@ MAJOR - - ^[a-z]+(\.[a-zA-Z_][a-zA-Z0-9_]*)*$ + MAJOR - - + MAJOR - ^[a-z][a-zA-Z0-9]*$ + MAJOR @@ -1224,70 +958,55 @@ + MINOR - - - - + MINOR - + MINOR - - - - true + MAJOR - MULTIPLE - - - - - - - - - @@ -1295,13 +1014,9 @@ MAJOR - - - - @@ -1309,27 +1024,19 @@ MAJOR - - - - + MINOR - - - - - @@ -1337,109 +1044,89 @@ MAJOR - - + MAJOR - - + MAJOR MULTIPLE - ^[a-z][a-zA-Z0-9]*$ - true - true - true - true + MAJOR - - - - + MAJOR - - + MAJOR - - + MAJOR - - + MAJOR - - - + MINOR - MULTIPLE - - + MINOR - - format - r - ^[\\s\\}\\);]*$ + + ^[\s\}\);]*$ - - legalComment - r + @@ -1447,154 +1134,119 @@ Deactivated. See http://jira.codehaus.org/browse/SONAR-1698 -MINOR + MINOR - - - - - --> + + --> MAJOR MULTIPLE - ^[A-Z][a-zA-Z0-9]*$ - - true - true - true - true + MAJOR - - - - - - + MAJOR - - - - + MINOR - - + INFO - false + MINOR - - + MAJOR - - - - - + MINOR - - - + MINOR - - - - - - - + MINOR - - - - - @@ -1650,7 +1302,6 @@ MAJOR - ^[A-Z]$ @@ -1660,7 +1311,6 @@ MAJOR - ^[A-Z]$ -- 2.39.5