| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 |
<jalopy> |
|---|
| 3 |
<general> |
|---|
| 4 |
<compliance> |
|---|
| 5 |
<version>14</version> |
|---|
| 6 |
</compliance> |
|---|
| 7 |
<style> |
|---|
| 8 |
<description>Sun Java Coding Convention</description> |
|---|
| 9 |
<name>Sun</name> |
|---|
| 10 |
</style> |
|---|
| 11 |
</general> |
|---|
| 12 |
<inspector> |
|---|
| 13 |
<enable>false</enable> |
|---|
| 14 |
<naming> |
|---|
| 15 |
<classes> |
|---|
| 16 |
<abstract>[A-Z][a-zA-Z0-9]+</abstract> |
|---|
| 17 |
<general>[A-Z][a-zA-Z0-9]+</general> |
|---|
| 18 |
</classes> |
|---|
| 19 |
<fields> |
|---|
| 20 |
<default>[a-z][\w]+</default> |
|---|
| 21 |
<defaultStatic>[a-z][\w]+</defaultStatic> |
|---|
| 22 |
<defaultStaticFinal>[a-zA-Z][\w]+</defaultStaticFinal> |
|---|
| 23 |
<private>[a-z][\w]+</private> |
|---|
| 24 |
<privateStatic>[a-z][\w]+</privateStatic> |
|---|
| 25 |
<privateStaticFinal>[a-zA-Z][\w]+</privateStaticFinal> |
|---|
| 26 |
<protected>[a-z][\w]+</protected> |
|---|
| 27 |
<protectedStatic>[a-z][\w]+</protectedStatic> |
|---|
| 28 |
<protectedStaticFinal>[a-zA-Z][\w]+</protectedStaticFinal> |
|---|
| 29 |
<public>[a-z][\w]+</public> |
|---|
| 30 |
<publicStatic>[a-z][\w]+</publicStatic> |
|---|
| 31 |
<publicStaticFinal>[a-zA-Z][\w]+</publicStaticFinal> |
|---|
| 32 |
</fields> |
|---|
| 33 |
<interfaces>[A-Z][a-zA-Z0-9]+</interfaces> |
|---|
| 34 |
<labels>\w+</labels> |
|---|
| 35 |
<methods> |
|---|
| 36 |
<default>[a-z][\w]+</default> |
|---|
| 37 |
<defaultStatic>[a-z][\w]+</defaultStatic> |
|---|
| 38 |
<defaultStaticFinal>[a-z][\w]+</defaultStaticFinal> |
|---|
| 39 |
<private>[a-z][\w]+</private> |
|---|
| 40 |
<privateStatic>[a-z][\w]+</privateStatic> |
|---|
| 41 |
<privateStaticFinal>[a-z][\w]+</privateStaticFinal> |
|---|
| 42 |
<protected>[a-z][\w]+</protected> |
|---|
| 43 |
<protectedStatic>[a-z][\w]+</protectedStatic> |
|---|
| 44 |
<protectedStaticFinal>[a-z][\w]+</protectedStaticFinal> |
|---|
| 45 |
<public>[a-z][\w]+</public> |
|---|
| 46 |
<publicStatic>[a-z][\w]+</publicStatic> |
|---|
| 47 |
<publicStaticFinal>[a-z][\w]+</publicStaticFinal> |
|---|
| 48 |
</methods> |
|---|
| 49 |
<packages>[a-z]+(?:\.[a-z]+)*</packages> |
|---|
| 50 |
<parameters> |
|---|
| 51 |
<default>[a-z][\w]+</default> |
|---|
| 52 |
<final>[a-z][\w]+</final> |
|---|
| 53 |
</parameters> |
|---|
| 54 |
<variables>[a-z][\w]*</variables> |
|---|
| 55 |
</naming> |
|---|
| 56 |
<tips> |
|---|
| 57 |
<adhereToNamingConvention>false</adhereToNamingConvention> |
|---|
| 58 |
<alwaysOverrideEquals>false</alwaysOverrideEquals> |
|---|
| 59 |
<alwaysOverrideHashCode>false</alwaysOverrideHashCode> |
|---|
| 60 |
<avoidThreadGroups>false</avoidThreadGroups> |
|---|
| 61 |
<declareCollectionComment>false</declareCollectionComment> |
|---|
| 62 |
<dontIgnoreExceptions>false</dontIgnoreExceptions> |
|---|
| 63 |
<dontSubstituteObjectEquals>false</dontSubstituteObjectEquals> |
|---|
| 64 |
<neverDeclareException>false</neverDeclareException> |
|---|
| 65 |
<neverDeclareThrowable>false</neverDeclareThrowable> |
|---|
| 66 |
<neverInvokeWaitOutsideLoop>false</neverInvokeWaitOutsideLoop> |
|---|
| 67 |
<neverReturnZeroArrays>false</neverReturnZeroArrays> |
|---|
| 68 |
<neverUseEmptyFinally>false</neverUseEmptyFinally> |
|---|
| 69 |
<obeyContractEquals>false</obeyContractEquals> |
|---|
| 70 |
<overrideToString>false</overrideToString> |
|---|
| 71 |
<referToObjectsByInterface>false</referToObjectsByInterface> |
|---|
| 72 |
<replaceStructureWithClass>false</replaceStructureWithClass> |
|---|
| 73 |
<stringLiterallI18n>false</stringLiterallI18n> |
|---|
| 74 |
<useInterfaceOnlyForTypes>false</useInterfaceOnlyForTypes> |
|---|
| 75 |
<wrongCollectionComment>false</wrongCollectionComment> |
|---|
| 76 |
</tips> |
|---|
| 77 |
</inspector> |
|---|
| 78 |
<internal> |
|---|
| 79 |
<version>6</version> |
|---|
| 80 |
</internal> |
|---|
| 81 |
<messages> |
|---|
| 82 |
<priority> |
|---|
| 83 |
<general>30000</general> |
|---|
| 84 |
<parser>30000</parser> |
|---|
| 85 |
<parserJavadoc>30000</parserJavadoc> |
|---|
| 86 |
<printer>30000</printer> |
|---|
| 87 |
<printerJavadoc>30000</printerJavadoc> |
|---|
| 88 |
<transform>30000</transform> |
|---|
| 89 |
</priority> |
|---|
| 90 |
<showErrorStackTrace>false</showErrorStackTrace> |
|---|
| 91 |
</messages> |
|---|
| 92 |
<misc> |
|---|
| 93 |
<threadCount>8</threadCount> |
|---|
| 94 |
</misc> |
|---|
| 95 |
<printer> |
|---|
| 96 |
<alignment> |
|---|
| 97 |
<methodCallChain>true</methodCallChain> |
|---|
| 98 |
<parameterMethodDeclaration>true</parameterMethodDeclaration> |
|---|
| 99 |
<ternaryOperator>false</ternaryOperator> |
|---|
| 100 |
<variableAssignment>true</variableAssignment> |
|---|
| 101 |
<variableIdentifier>true</variableIdentifier> |
|---|
| 102 |
</alignment> |
|---|
| 103 |
<backup> |
|---|
| 104 |
<directory>bak</directory> |
|---|
| 105 |
<level>0</level> |
|---|
| 106 |
</backup> |
|---|
| 107 |
<blanklines> |
|---|
| 108 |
<after> |
|---|
| 109 |
<block>1</block> |
|---|
| 110 |
<braceLeft>0</braceLeft> |
|---|
| 111 |
<class>1</class> |
|---|
| 112 |
<declaration>0</declaration> |
|---|
| 113 |
<footer>1</footer> |
|---|
| 114 |
<header>1</header> |
|---|
| 115 |
<interface>1</interface> |
|---|
| 116 |
<lastImport>1</lastImport> |
|---|
| 117 |
<method>1</method> |
|---|
| 118 |
<package>1</package> |
|---|
| 119 |
</after> |
|---|
| 120 |
<before> |
|---|
| 121 |
<block>1</block> |
|---|
| 122 |
<braceRight>0</braceRight> |
|---|
| 123 |
<caseBlock>1</caseBlock> |
|---|
| 124 |
<comment> |
|---|
| 125 |
<javadoc>1</javadoc> |
|---|
| 126 |
<multiline>1</multiline> |
|---|
| 127 |
<singleline>1</singleline> |
|---|
| 128 |
</comment> |
|---|
| 129 |
<controlStatement>1</controlStatement> |
|---|
| 130 |
<declaration>1</declaration> |
|---|
| 131 |
<footer>0</footer> |
|---|
| 132 |
<header>0</header> |
|---|
| 133 |
</before> |
|---|
| 134 |
<keepUpTo>1</keepUpTo> |
|---|
| 135 |
</blanklines> |
|---|
| 136 |
<braces> |
|---|
| 137 |
<empty> |
|---|
| 138 |
<cuddle>false</cuddle> |
|---|
| 139 |
<insertStatement>false</insertStatement> |
|---|
| 140 |
</empty> |
|---|
| 141 |
<insert> |
|---|
| 142 |
<dowhile>false</dowhile> |
|---|
| 143 |
<for>false</for> |
|---|
| 144 |
<ifelse>false</ifelse> |
|---|
| 145 |
<while>false</while> |
|---|
| 146 |
</insert> |
|---|
| 147 |
<remove> |
|---|
| 148 |
<block>true</block> |
|---|
| 149 |
<dowhile>false</dowhile> |
|---|
| 150 |
<for>false</for> |
|---|
| 151 |
<ifelse>false</ifelse> |
|---|
| 152 |
<while>false</while> |
|---|
| 153 |
</remove> |
|---|
| 154 |
<treatDifferent> |
|---|
| 155 |
<methodClass>false</methodClass> |
|---|
| 156 |
<methodClassIfWrapped>false</methodClassIfWrapped> |
|---|
| 157 |
</treatDifferent> |
|---|
| 158 |
</braces> |
|---|
| 159 |
<chunks> |
|---|
| 160 |
<blanklines>true</blanklines> |
|---|
| 161 |
<comments>true</comments> |
|---|
| 162 |
</chunks> |
|---|
| 163 |
<comments> |
|---|
| 164 |
<format> |
|---|
| 165 |
<multiline>true</multiline> |
|---|
| 166 |
</format> |
|---|
| 167 |
<javadoc> |
|---|
| 168 |
<check> |
|---|
| 169 |
<innerclass>false</innerclass> |
|---|
| 170 |
<tags>true</tags> |
|---|
| 171 |
<throwsTags>true</throwsTags> |
|---|
| 172 |
</check> |
|---|
| 173 |
<fieldsShort>false</fieldsShort> |
|---|
| 174 |
<generate> |
|---|
| 175 |
<class>21</class> |
|---|
| 176 |
<constructor>21</constructor> |
|---|
| 177 |
<field>4</field> |
|---|
| 178 |
<method>21</method> |
|---|
| 179 |
</generate> |
|---|
| 180 |
<parseComments>true</parseComments> |
|---|
| 181 |
<tags> |
|---|
| 182 |
<in-line /> |
|---|
| 183 |
<standard>@topazproject|@avalon</standard> |
|---|
| 184 |
</tags> |
|---|
| 185 |
<templates> |
|---|
| 186 |
<method> |
|---|
| 187 |
<bottom> */</bottom> |
|---|
| 188 |
<exception> * @throws $exceptionType$ DOCUMENT ME!</exception> |
|---|
| 189 |
<param> * @param $paramType$ DOCUMENT ME!</param> |
|---|
| 190 |
<return> * @return DOCUMENT ME!</return> |
|---|
| 191 |
<top>/**| * DOCUMENT ME!</top> |
|---|
| 192 |
</method> |
|---|
| 193 |
</templates> |
|---|
| 194 |
</javadoc> |
|---|
| 195 |
<remove> |
|---|
| 196 |
<javadoc>false</javadoc> |
|---|
| 197 |
<multiline>false</multiline> |
|---|
| 198 |
<singleline>false</singleline> |
|---|
| 199 |
</remove> |
|---|
| 200 |
<separator> |
|---|
| 201 |
<fillCharacter>-</fillCharacter> |
|---|
| 202 |
<insert>false</insert> |
|---|
| 203 |
<insertRecursive>false</insertRecursive> |
|---|
| 204 |
<text> |
|---|
| 205 |
<class>Inner Classes</class> |
|---|
| 206 |
<constructor>Constructors</constructor> |
|---|
| 207 |
<field>Instance fields</field> |
|---|
| 208 |
<initializer>Instance initializers</initializer> |
|---|
| 209 |
<interface>Inner Interfaces</interface> |
|---|
| 210 |
<method>Methods</method> |
|---|
| 211 |
<static>Static fields/initializers</static> |
|---|
| 212 |
</text> |
|---|
| 213 |
</separator> |
|---|
| 214 |
</comments> |
|---|
| 215 |
<environment /> |
|---|
| 216 |
<footer> |
|---|
| 217 |
<keys /> |
|---|
| 218 |
<smartMode>0</smartMode> |
|---|
| 219 |
<use>false</use> |
|---|
| 220 |
</footer> |
|---|
| 221 |
<header> |
|---|
| 222 |
<keys /> |
|---|
| 223 |
<smartMode>0</smartMode> |
|---|
| 224 |
<text/> |
|---|
| 225 |
<use>false</use> |
|---|
| 226 |
</header> |
|---|
| 227 |
<history> |
|---|
| 228 |
<method>timestamp</method> |
|---|
| 229 |
<policy>disabled</policy> |
|---|
| 230 |
</history> |
|---|
| 231 |
<imports> |
|---|
| 232 |
<grouping> |
|---|
| 233 |
<defaultDepth>3</defaultDepth> |
|---|
| 234 |
<packages>java:2|javax:2|org:3|*:0</packages> |
|---|
| 235 |
</grouping> |
|---|
| 236 |
<policy>expand</policy> |
|---|
| 237 |
<sort>true</sort> |
|---|
| 238 |
</imports> |
|---|
| 239 |
<indentation> |
|---|
| 240 |
<caseFromSwitch>false</caseFromSwitch> |
|---|
| 241 |
<continuation> |
|---|
| 242 |
<block>true</block> |
|---|
| 243 |
<operator>true</operator> |
|---|
| 244 |
</continuation> |
|---|
| 245 |
<firstColumnComments>true</firstColumnComments> |
|---|
| 246 |
<label>false</label> |
|---|
| 247 |
<policy> |
|---|
| 248 |
<deep>true</deep> |
|---|
| 249 |
</policy> |
|---|
| 250 |
<sizes> |
|---|
| 251 |
<braceCuddled>1</braceCuddled> |
|---|
| 252 |
<braceLeft>1</braceLeft> |
|---|
| 253 |
<braceRight>0</braceRight> |
|---|
| 254 |
<braceRightAfter>1</braceRightAfter> |
|---|
| 255 |
<continuation>1</continuation> |
|---|
| 256 |
<deep>55</deep> |
|---|
| 257 |
<extends>-1</extends> |
|---|
| 258 |
<general>2</general> |
|---|
| 259 |
<implements>-1</implements> |
|---|
| 260 |
<leading>0</leading> |
|---|
| 261 |
<tabs>2</tabs> |
|---|
| 262 |
<throws>-1</throws> |
|---|
| 263 |
<trailingComment>1</trailingComment> |
|---|
| 264 |
</sizes> |
|---|
| 265 |
<tabs> |
|---|
| 266 |
<enable>false</enable> |
|---|
| 267 |
<onlyLeading>false</onlyLeading> |
|---|
| 268 |
</tabs> |
|---|
| 269 |
</indentation> |
|---|
| 270 |
<misc> |
|---|
| 271 |
<arrayBracketsAfterIdent>false</arrayBracketsAfterIdent> |
|---|
| 272 |
<forceFormatting>false</forceFormatting> |
|---|
| 273 |
<insertExpressionParentheses>true</insertExpressionParentheses> |
|---|
| 274 |
<insertLoggingConditional>true</insertLoggingConditional> |
|---|
| 275 |
<insertTrailingNewline>true</insertTrailingNewline> |
|---|
| 276 |
<insertUID>false</insertUID> |
|---|
| 277 |
</misc> |
|---|
| 278 |
<sorting> |
|---|
| 279 |
<declaration> |
|---|
| 280 |
<class>true</class> |
|---|
| 281 |
<constructor>true</constructor> |
|---|
| 282 |
<enable>false</enable> |
|---|
| 283 |
<interface>true</interface> |
|---|
| 284 |
<method>true</method> |
|---|
| 285 |
<order>static|field|initializer|constructor|method|interface|class</order> |
|---|
| 286 |
<variable>true</variable> |
|---|
| 287 |
</declaration> |
|---|
| 288 |
<modifier> |
|---|
| 289 |
<enable>false</enable> |
|---|
| 290 |
<order>public|protected|private|abstract|static|final|synchronized|transient|volatile|native|strictfp</order> |
|---|
| 291 |
</modifier> |
|---|
| 292 |
</sorting> |
|---|
| 293 |
<whitespace> |
|---|
| 294 |
<after> |
|---|
| 295 |
<comma>true</comma> |
|---|
| 296 |
<semicolon>true</semicolon> |
|---|
| 297 |
<typeCast>true</typeCast> |
|---|
| 298 |
</after> |
|---|
| 299 |
<before> |
|---|
| 300 |
<braces>true</braces> |
|---|
| 301 |
<brackets>false</brackets> |
|---|
| 302 |
<bracketsTypes>false</bracketsTypes> |
|---|
| 303 |
<caseColon>false</caseColon> |
|---|
| 304 |
<operator> |
|---|
| 305 |
<not>false</not> |
|---|
| 306 |
</operator> |
|---|
| 307 |
<parentheses> |
|---|
| 308 |
<methodCall>false</methodCall> |
|---|
| 309 |
<methodDeclaration>false</methodDeclaration> |
|---|
| 310 |
<statement>true</statement> |
|---|
| 311 |
</parentheses> |
|---|
| 312 |
</before> |
|---|
| 313 |
<padding> |
|---|
| 314 |
<braces>true</braces> |
|---|
| 315 |
<brackets>false</brackets> |
|---|
| 316 |
<operator> |
|---|
| 317 |
<assignment>true</assignment> |
|---|
| 318 |
<bitwise>true</bitwise> |
|---|
| 319 |
<logical>true</logical> |
|---|
| 320 |
<mathematical>true</mathematical> |
|---|
| 321 |
<relational>true</relational> |
|---|
| 322 |
<shift>true</shift> |
|---|
| 323 |
</operator> |
|---|
| 324 |
<parenthesis>false</parenthesis> |
|---|
| 325 |
<typeCast>false</typeCast> |
|---|
| 326 |
</padding> |
|---|
| 327 |
</whitespace> |
|---|
| 328 |
<wrapping> |
|---|
| 329 |
<always> |
|---|
| 330 |
<after> |
|---|
| 331 |
<arrayElement>0</arrayElement> |
|---|
| 332 |
<braceRight>false</braceRight> |
|---|
| 333 |
<extendsTypes>false</extendsTypes> |
|---|
| 334 |
<implementsTypes>false</implementsTypes> |
|---|
| 335 |
<label>true</label> |
|---|
| 336 |
<methodCallChained>false</methodCallChained> |
|---|
| 337 |
<ternaryOperator> |
|---|
| 338 |
<first>false</first> |
|---|
| 339 |
<second>false</second> |
|---|
| 340 |
</ternaryOperator> |
|---|
| 341 |
<throwsTypes>false</throwsTypes> |
|---|
| 342 |
</after> |
|---|
| 343 |
<before> |
|---|
| 344 |
<braceLeft>false</braceLeft> |
|---|
| 345 |
<extends>false</extends> |
|---|
| 346 |
<implements>false</implements> |
|---|
| 347 |
<throws>false</throws> |
|---|
| 348 |
</before> |
|---|
| 349 |
<parameter> |
|---|
| 350 |
<methodCall>false</methodCall> |
|---|
| 351 |
<methodCallNested>false</methodCallNested> |
|---|
| 352 |
<methodDeclaration>false</methodDeclaration> |
|---|
| 353 |
</parameter> |
|---|
| 354 |
</always> |
|---|
| 355 |
<general> |
|---|
| 356 |
<beforeOperator>true</beforeOperator> |
|---|
| 357 |
<enable>true</enable> |
|---|
| 358 |
<lineLength>100</lineLength> |
|---|
| 359 |
</general> |
|---|
| 360 |
<ondemand> |
|---|
| 361 |
<after> |
|---|
| 362 |
<assignment>true</assignment> |
|---|
| 363 |
<leftParenthesis>false</leftParenthesis> |
|---|
| 364 |
<parameter>false</parameter> |
|---|
| 365 |
<types> |
|---|
| 366 |
<extends>false</extends> |
|---|
| 367 |
<implements>false</implements> |
|---|
| 368 |
<throws>false</throws> |
|---|
| 369 |
</types> |
|---|
| 370 |
</after> |
|---|
| 371 |
<before> |
|---|
| 372 |
<rightParenthesis>false</rightParenthesis> |
|---|
| 373 |
</before> |
|---|
| 374 |
<groupingParentheses>false</groupingParentheses> |
|---|
| 375 |
</ondemand> |
|---|
| 376 |
</wrapping> |
|---|
| 377 |
</printer> |
|---|
| 378 |
</jalopy> |
|---|
| 379 |
|
|---|