Committed by
Gerrit Code Review
Reformatting checkstyle.xml
Change-Id: I08dabb1f4758af58901b1d207f2e834fc46f8c84
Showing
1 changed file
with
12 additions
and
15 deletions
... | @@ -56,7 +56,6 @@ | ... | @@ -56,7 +56,6 @@ |
56 | --> | 56 | --> |
57 | 57 | ||
58 | 58 | ||
59 | - | ||
60 | <module name="Checker"> | 59 | <module name="Checker"> |
61 | <!-- | 60 | <!-- |
62 | If you set the basedir property below, then all reported file | 61 | If you set the basedir property below, then all reported file |
... | @@ -108,19 +107,21 @@ | ... | @@ -108,19 +107,21 @@ |
108 | <!-- </module> --> | 107 | <!-- </module> --> |
109 | 108 | ||
110 | <module name="SuppressionCommentFilter"> | 109 | <module name="SuppressionCommentFilter"> |
111 | - <property name="offCommentFormat" value="(CHECKSTYLE\:OFF|Generated by the protocol buffer compiler.)"/> | 110 | + <property name="offCommentFormat" |
111 | + value="(CHECKSTYLE\:OFF|Generated by the protocol buffer compiler.)"/> | ||
112 | <property name="onCommentFormat" value="CHECKSTYLE:ON"/> | 112 | <property name="onCommentFormat" value="CHECKSTYLE:ON"/> |
113 | </module> | 113 | </module> |
114 | 114 | ||
115 | <module name="SuppressWithNearbyCommentFilter"> | 115 | <module name="SuppressWithNearbyCommentFilter"> |
116 | - <property name="commentFormat" value="CHECKSTYLE IGNORE THIS LINE" /> | 116 | + <property name="commentFormat" value="CHECKSTYLE IGNORE THIS LINE"/> |
117 | - <property name="checkFormat" value=".*" /> | 117 | + <property name="checkFormat" value=".*"/> |
118 | - <property name="influenceFormat" value="0" /> | 118 | + <property name="influenceFormat" value="0"/> |
119 | </module> | 119 | </module> |
120 | 120 | ||
121 | <!-- Example: // CHECKSTYLE IGNORE FinalClass FOR NEXT 1 LINES --> | 121 | <!-- Example: // CHECKSTYLE IGNORE FinalClass FOR NEXT 1 LINES --> |
122 | <module name="SuppressWithNearbyCommentFilter"> | 122 | <module name="SuppressWithNearbyCommentFilter"> |
123 | - <property name="commentFormat" value="CHECKSTYLE IGNORE (\w+) FOR NEXT (\d+) LINES"/> | 123 | + <property name="commentFormat" |
124 | + value="CHECKSTYLE IGNORE (\w+) FOR NEXT (\d+) LINES"/> | ||
124 | <property name="checkFormat" value="$1"/> | 125 | <property name="checkFormat" value="$1"/> |
125 | <property name="influenceFormat" value="$2"/> | 126 | <property name="influenceFormat" value="$2"/> |
126 | </module> | 127 | </module> |
... | @@ -144,7 +145,7 @@ | ... | @@ -144,7 +145,7 @@ |
144 | <property name="severity" value="warning"/> | 145 | <property name="severity" value="warning"/> |
145 | </module> | 146 | </module> |
146 | <module name="JavadocStyle"/> | 147 | <module name="JavadocStyle"/> |
147 | - <!-- @author tag should not be used --> | 148 | + <!-- @author tag should not be used --> |
148 | <module name="WriteTag"> | 149 | <module name="WriteTag"> |
149 | <property name="tag" value="@author"/> | 150 | <property name="tag" value="@author"/> |
150 | <property name="tagFormat" value="\S"/> | 151 | <property name="tagFormat" value="\S"/> |
... | @@ -153,7 +154,7 @@ | ... | @@ -153,7 +154,7 @@ |
153 | </module> | 154 | </module> |
154 | 155 | ||
155 | <module name="AbbreviationAsWordInName"> | 156 | <module name="AbbreviationAsWordInName"> |
156 | - <property name="allowedAbbreviationLength" value="2" /> | 157 | + <property name="allowedAbbreviationLength" value="2"/> |
157 | </module> | 158 | </module> |
158 | 159 | ||
159 | <!-- Checks for Naming Conventions. --> | 160 | <!-- Checks for Naming Conventions. --> |
... | @@ -179,7 +180,7 @@ | ... | @@ -179,7 +180,7 @@ |
179 | <!-- Checks for imports --> | 180 | <!-- Checks for imports --> |
180 | <!-- See http://checkstyle.sf.net/config_import.html --> | 181 | <!-- See http://checkstyle.sf.net/config_import.html --> |
181 | <module name="AvoidStarImport"> | 182 | <module name="AvoidStarImport"> |
182 | - <property name="allowStaticMemberImports" value="true"/> | 183 | + <property name="allowStaticMemberImports" value="true"/> |
183 | </module> | 184 | </module> |
184 | <module name="IllegalImport"/> | 185 | <module name="IllegalImport"/> |
185 | <!-- defaults to sun.* packages --> | 186 | <!-- defaults to sun.* packages --> |
... | @@ -222,7 +223,6 @@ | ... | @@ -222,7 +223,6 @@ |
222 | </module> | 223 | </module> |
223 | 224 | ||
224 | 225 | ||
225 | - | ||
226 | <!-- Modifier Checks --> | 226 | <!-- Modifier Checks --> |
227 | <!-- See http://checkstyle.sf.net/config_modifiers.html --> | 227 | <!-- See http://checkstyle.sf.net/config_modifiers.html --> |
228 | <module name="ModifierOrder"/> | 228 | <module name="ModifierOrder"/> |
... | @@ -285,7 +285,6 @@ | ... | @@ -285,7 +285,6 @@ |
285 | </module> | 285 | </module> |
286 | 286 | ||
287 | 287 | ||
288 | - | ||
289 | <!-- Miscellaneous other checks. --> | 288 | <!-- Miscellaneous other checks. --> |
290 | <!-- See http://checkstyle.sf.net/config_misc.html --> | 289 | <!-- See http://checkstyle.sf.net/config_misc.html --> |
291 | <module name="ArrayTypeStyle"/> | 290 | <module name="ArrayTypeStyle"/> |
... | @@ -296,8 +295,6 @@ | ... | @@ -296,8 +295,6 @@ |
296 | <!-- ONOS allows TODO markers in checked in source code --> | 295 | <!-- ONOS allows TODO markers in checked in source code --> |
297 | <!-- <module name="TodoComment"/> --> | 296 | <!-- <module name="TodoComment"/> --> |
298 | <module name="UpperEll"/> | 297 | <module name="UpperEll"/> |
299 | - | ||
300 | - | ||
301 | - </module> | ||
302 | - | ||
303 | </module> | 298 | </module> |
299 | + | ||
300 | +</module> | ... | ... |
-
Please register or login to post a comment