The following document contains the results of Checkstyle.
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 0 | Warning |
NewlineAtEndOfFile | 12 | Warning |
Translation | 0 | Warning |
FileLength | 1 | Warning |
JavadocMethod | 374 | Warning |
JavadocType | 21 | Warning |
JavadocVariable | 204 | Warning |
JavadocStyle | 152 | Warning |
ConstantName | 10 | Warning |
LocalFinalVariableName | 0 | Warning |
LocalVariableName | 0 | Warning |
MemberName
| 2 | Warning |
MethodName | 5 | Warning |
PackageName | 0 | Warning |
ParameterName | 0 | Warning |
StaticVariableName | 7 | Warning |
TypeName | 2 | Warning |
AvoidStarImport | 0 | Warning |
IllegalImport | 0 | Warning |
RedundantImport | 0 | Warning |
UnusedImports | 1 | Warning |
LineLength
| 0 | Warning |
MethodLength | 1 | Warning |
ParameterNumber | 7 | Warning |
EmptyForIteratorPad | 0 | Warning |
MethodParamPad | 0 | Warning |
NoWhitespaceAfter
| 12 | Warning |
NoWhitespaceBefore
| 1 | Warning |
OperatorWrap | 0 | Warning |
ParenPad | 6 | Warning |
TypecastParenPad | 0 | Warning |
WhitespaceAfter
| 12 | Warning |
WhitespaceAround
| 0 | Warning |
ModifierOrder | 11 | Warning |
RedundantModifier | 71 | Warning |
AvoidNestedBlocks | 1 | Warning |
EmptyBlock | 12 | Warning |
LeftCurly | 0 | Warning |
NeedBraces | 22 | Warning |
RightCurly | 0 | Warning |
AvoidInlineConditionals | 102 | Warning |
DoubleCheckedLocking | 3 | Warning |
EmptyStatement | 0 | Warning |
EqualsHashCode | 1 | Warning |
HiddenField | 0 | Warning |
IllegalInstantiation | 0 | Warning |
InnerAssignment | 0 | Warning |
MagicNumber | 203 | Warning |
MissingSwitchDefault | 0 | Warning |
RedundantThrows | 5 | Warning |
SimplifyBooleanExpression | 0 | Warning |
SimplifyBooleanReturn | 0 | Warning |
ParameterAssignment | 0 | Warning |
DesignForExtension | 505 | Warning |
FinalClass | 1 | Warning |
HideUtilityClassConstructor | 2 | Warning |
InterfaceIsType | 0 | Warning |
VisibilityModifier | 28 | Warning |
ArrayTypeStyle | 12 | Warning |
FinalParameters | 754 | Warning |
TodoComment | 0 | Warning |
UpperEll | 0 | Warning |
Violation | Message | Line |
---|---|---|
Redundant 'public' modifier. | 35 | |
First sentence should end with a period. | 406 | |
First sentence should end with a period. | 413 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 33 | |
Name '_instance' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 33 | |
Redundant 'public' modifier. | 47 | |
Missing a Javadoc comment. | 51 | |
Name '_databaseClassDelegate' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 51 | |
Missing a Javadoc comment. | 53 | |
Parameter delegate should be final. | 65 | |
Avoid inline conditionals. | 91 | |
The double-checked locking idiom is broken and should be avoided. | 102 | |
Redundant 'public' modifier. | 117 | |
Redundant 'public' modifier. | 125 | |
Redundant 'public' modifier. | 134 | |
Expected @throws tag for 'IOException'. | 134 | |
Redundant 'public' modifier. | 148 | |
Redundant 'public' modifier. | 164 | |
Redundant 'public' modifier. | 180 | |
Redundant 'public' modifier. | 198 | |
Redundant 'public' modifier. | 209 | |
Redundant 'public' modifier. | 222 | |
Redundant 'public' modifier. | 235 | |
Redundant 'public' modifier. | 250 | |
Redundant 'public' modifier. | 260 | |
Expected @throws tag for 'IOException'. | 260 | |
Redundant 'public' modifier. | 269 | |
Redundant 'public' modifier. | 280 | |
Redundant 'public' modifier. | 291 | |
Redundant 'public' modifier. | 302 | |
Expected @throws tag for 'IOException'. | 302 | |
Redundant 'public' modifier. | 311 | |
Redundant 'public' modifier. | 318 | |
Redundant 'public' modifier. | 327 | |
Redundant 'public' modifier. | 337 | |
Redundant 'public' modifier. | 349 | |
Redundant 'public' modifier. | 359 | |
Redundant 'public' modifier. | 371 | |
Redundant 'public' modifier. | 379 | |
Redundant 'public' modifier. | 387 | |
First sentence should end with a period. | 389 | |
Redundant 'public' modifier. | 394 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 57 | |
Name '_instance' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 57 | |
Redundant 'public' modifier. | 71 | |
Missing a Javadoc comment. | 74 | |
Name '_databaseClassDelegate' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 74 | |
Missing a Javadoc comment. | 76 | |
Parameter delegate should be final. | 88 | |
Avoid inline conditionals. | 114 | |
The double-checked locking idiom is broken and should be avoided. | 125 | |
Redundant 'public' modifier. | 139 | |
First sentence should end with a period. | 141 | |
Redundant 'public' modifier. | 148 | |
Expected @param tag for 'networkInterface'. | 148 | |
Expected @param tag for 'interfaceAddress'. | 148 | |
Redundant 'public' modifier. | 155 | |
Expected @param tag for 'interfaceAddress'. | 155 | |
Redundant 'public' modifier. | 162 | |
Expected @param tag for 'interfaceAddress'. | 162 |
Violation | Message | Line |
---|---|---|
Unused @throws tag for 'IllegalArgumentException'. | 24 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Unused @throws tag for 'IllegalArgumentException'. | 24 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 64 |
Violation | Message | Line |
---|---|---|
More than 7 parameters. | 278 | |
More than 7 parameters. | 326 | |
More than 7 parameters. | 374 | |
Redundant throws: 'IllegalStateException' is unchecked exception. | 659 | |
Redundant throws: 'IllegalStateException' is unchecked exception. | 669 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 717 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 49 | |
Name 'EmptyCache' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 54 | |
Missing a Javadoc comment. | 56 | |
Name '_EmptyCache' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 56 | |
Parameter key should be final. | 78 | |
Parameter value should be final. | 86 | |
Parameter key should be final. | 94 | |
Parameter o should be final. | 126 | |
Parameter key should be final. | 134 | |
Parameter value should be final. | 134 | |
Name '_CacheEntry' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 151 | |
Missing a Javadoc comment. | 153 | |
Missing a Javadoc comment. | 155 | |
Parameter key should be final. | 161 | |
Expected @param tag for 'key'. | 161 | |
Parameter value should be final. | 161 | |
Expected @param tag for 'value'. | 161 | |
Avoid inline conditionals. | 163 | |
Parameter entry should be final. | 170 | |
Expected @param tag for 'entry'. | 170 | |
Method 'getKey' is not designed for extension - needs to be abstract, final or empty. | 181 | |
Avoid inline conditionals. | 183 | |
Method 'getValue' is not designed for extension - needs to be abstract, final or empty. | 189 | |
Method 'setValue' is not designed for extension - needs to be abstract, final or empty. | 197 | |
Parameter value should be final. | 198 | |
Method 'isEmpty' is not designed for extension - needs to be abstract, final or empty. | 209 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 216 | |
Parameter entry should be final. | 217 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 227 | |
Avoid inline conditionals. | 229 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 235 | |
'200' is a magic number. | 237 | |
'1024' is a magic number. | 257 | |
Parameter map should be final. | 263 | |
Expected @param tag for 'map'. | 263 | |
Avoid inline conditionals. | 264 | |
'1024' is a magic number. | 264 | |
Parameter initialCapacity should be final. | 275 | |
Expected @param tag for 'initialCapacity'. | 275 | |
Method 'entrySet' is not designed for extension - needs to be abstract, final or empty. | 287 | |
Method 'getEntry' is not designed for extension - needs to be abstract, final or empty. | 299 | |
Parameter key should be final. | 299 | |
Expected @param tag for 'key'. | 299 | |
Avoid inline conditionals. | 300 | |
Method 'put' is not designed for extension - needs to be abstract, final or empty. | 318 | |
Parameter key should be final. | 319 | |
Parameter value should be final. | 319 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 335 | |
First sentence should end with a period. | 342 | |
Method 'allValues' is not designed for extension - needs to be abstract, final or empty. | 347 | |
Method 'getDNSEntryList' is not designed for extension - needs to be abstract, final or empty. | 363 | |
Parameter name should be final. | 363 | |
Expected @param tag for 'name'. | 363 | |
Missing a Javadoc comment. | 373 | |
Name '_getDNSEntryList' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 373 | |
Parameter name should be final. | 373 | |
Avoid inline conditionals. | 374 | |
Method 'getDNSEntry' is not designed for extension - needs to be abstract, final or empty. | 383 | |
Parameter dnsEntry should be final. | 383 | |
Expected @param tag for 'dnsEntry'. | 383 | |
Method 'getDNSEntry' is not designed for extension - needs to be abstract, final or empty. | 407 | |
Parameter name should be final. | 407 | |
Expected @param tag for 'name'. | 407 | |
Parameter type should be final. | 407 | |
Expected @param tag for 'type'. | 407 | |
Parameter recordClass should be final. | 407 | |
Expected @param tag for 'recordClass'. | 407 | |
Method 'getDNSEntryList' is not designed for extension - needs to be abstract, final or empty. | 429 | |
Parameter name should be final. | 429 | |
Expected @param tag for 'name'. | 429 | |
Parameter type should be final. | 429 | |
Expected @param tag for 'type'. | 429 | |
Parameter recordClass should be final. | 429 | |
Expected @param tag for 'recordClass'. | 429 | |
Method 'addDNSEntry' is not designed for extension - needs to be abstract, final or empty. | 451 | |
Expected @param tag for 'dnsEntry'. | 451 | |
Method 'removeDNSEntry' is not designed for extension - needs to be abstract, final or empty. | 481 | |
Parameter dnsEntry should be final. | 481 | |
Expected @param tag for 'dnsEntry'. | 481 | |
Method 'replaceDNSEntry' is not designed for extension - needs to be abstract, final or empty. | 504 | |
Parameter newDNSEntry should be final. | 504 | |
Expected @param tag for 'newDNSEntry'. | 504 | |
Parameter existingDNSEntry should be final. | 504 | |
Expected @param tag for 'existingDNSEntry'. | 504 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 532 | |
'2000' is a magic number. | 534 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 24 | |
Missing a Javadoc comment. | 26 | |
Missing a Javadoc comment. | 28 | |
Missing a Javadoc comment. | 30 | |
Missing a Javadoc comment. | 32 | |
Missing a Javadoc comment. | 34 | |
Missing a Javadoc comment. | 36 | |
Variable '_qualifiedNameMap' must be private and have accessor methods. | 36 | |
Parameter name should be final. | 41 | |
Expected @param tag for 'name'. | 41 | |
Parameter type should be final. | 41 | |
Expected @param tag for 'type'. | 41 | |
Parameter recordClass should be final. | 41 | |
Expected @param tag for 'recordClass'. | 41 | |
Parameter unique should be final. | 41 | |
Expected @param tag for 'unique'. | 41 | |
Avoid inline conditionals. | 52 | |
Avoid inline conditionals. | 52 | |
Avoid inline conditionals. | 53 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 60 | |
Parameter obj should be final. | 61 | |
Method 'isSameEntry' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Parameter entry should be final. | 76 | |
Expected @param tag for 'entry'. | 76 | |
Method 'sameSubtype' is not designed for extension - needs to be abstract, final or empty. | 86 | |
Parameter other should be final. | 86 | |
Expected @param tag for 'other'. | 86 | |
First sentence should end with a period. | 90 | |
Method 'getSubtype' is not designed for extension - needs to be abstract, final or empty. | 95 | |
Avoid inline conditionals. | 97 | |
First sentence should end with a period. | 100 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 105 | |
Avoid inline conditionals. | 106 | |
Method 'getType' is not designed for extension - needs to be abstract, final or empty. | 112 | |
Avoid inline conditionals. | 113 | |
Method 'getKey' is not designed for extension - needs to be abstract, final or empty. | 121 | |
Avoid inline conditionals. | 122 | |
Method 'getRecordType' is not designed for extension - needs to be abstract, final or empty. | 128 | |
Avoid inline conditionals. | 129 | |
Method 'getRecordClass' is not designed for extension - needs to be abstract, final or empty. | 135 | |
Avoid inline conditionals. | 136 | |
Method 'isUnique' is not designed for extension - needs to be abstract, final or empty. | 142 | |
Method 'getQualifiedNameMap' is not designed for extension - needs to be abstract, final or empty. | 146 | |
Missing a Javadoc comment. | 146 | |
Method 'isServicesDiscoveryMetaQuery' is not designed for extension - needs to be abstract, final or empty. | 150 | |
Missing a Javadoc comment. | 150 | |
Method 'isDomainDiscoveryQuery' is not designed for extension - needs to be abstract, final or empty. | 154 | |
Missing a Javadoc comment. | 154 | |
Method 'isReverseLookup' is not designed for extension - needs to be abstract, final or empty. | 168 | |
Missing a Javadoc comment. | 168 | |
Method 'isV4ReverseLookup' is not designed for extension - needs to be abstract, final or empty. | 172 | |
Missing a Javadoc comment. | 172 | |
Method 'isV6ReverseLookup' is not designed for extension - needs to be abstract, final or empty. | 176 | |
Missing a Javadoc comment. | 176 | |
Method 'isSameRecordClass' is not designed for extension - needs to be abstract, final or empty. | 204 | |
Parameter entry should be final. | 204 | |
Expected @param tag for 'entry'. | 204 | |
Method 'isSameType' is not designed for extension - needs to be abstract, final or empty. | 214 | |
Parameter entry should be final. | 214 | |
Expected @param tag for 'entry'. | 214 | |
Method 'toByteArray' is not designed for extension - needs to be abstract, final or empty. | 222 | |
Parameter dout should be final. | 222 | |
Expected @param tag for 'dout'. | 222 | |
Expected @throws tag for 'IOException'. | 222 | |
Method 'toByteArray' is not designed for extension - needs to be abstract, final or empty. | 233 | |
Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 251 | |
Parameter that should be final. | 251 | |
Expected @param tag for 'that'. | 251 | |
Expected an @return tag. | 267 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 267 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 276 | |
'200' is a magic number. | 278 | |
Avoid inline conditionals. | 282 | |
Parameter aLog should be final. | 292 | |
Expected @param tag for 'aLog'. | 292 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 29 | |
Missing a Javadoc comment. | 33 | |
Name 'USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 33 | |
Variable 'USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET' must be private and have accessor methods. | 33 | |
Missing a Javadoc comment. | 35 | |
Missing a Javadoc comment. | 36 | |
Missing a Javadoc comment. | 38 | |
Variable '_names' must be private and have accessor methods. | 38 | |
Missing a Javadoc comment. | 40 | |
Parameter buffer should be final. | 40 | |
Parameter length should be final. | 40 | |
Parameter buffer should be final. | 49 | |
Expected @param tag for 'buffer'. | 49 | |
Parameter offset should be final. | 49 | |
Expected @param tag for 'offset'. | 49 | |
Parameter length should be final. | 49 | |
Expected @param tag for 'length'. | 49 | |
Method 'readByte' is not designed for extension - needs to be abstract, final or empty. | 54 | |
Missing a Javadoc comment. | 54 | |
Method 'readUnsignedShort' is not designed for extension - needs to be abstract, final or empty. | 58 | |
Missing a Javadoc comment. | 58 | |
'8' is a magic number. | 59 | |
Method 'readInt' is not designed for extension - needs to be abstract, final or empty. | 62 | |
Missing a Javadoc comment. | 62 | |
'16' is a magic number. | 63 | |
Method 'readBytes' is not designed for extension - needs to be abstract, final or empty. | 66 | |
Missing a Javadoc comment. | 66 | |
Parameter len should be final. | 66 | |
Array brackets at illegal position. | 67 | |
Method 'readUTF' is not designed for extension - needs to be abstract, final or empty. | 72 | |
Missing a Javadoc comment. | 72 | |
Parameter len should be final. | 72 | |
'4' is a magic number. | 76 | |
'3' is a magic number. | 80 | |
'4' is a magic number. | 81 | |
'5' is a magic number. | 82 | |
'6' is a magic number. | 83 | |
'7' is a magic number. | 84 | |
'12' is a magic number. | 87 | |
'13' is a magic number. | 88 | |
'0x1F' is a magic number. | 90 | |
'6' is a magic number. | 90 | |
'0x3F' is a magic number. | 90 | |
'14' is a magic number. | 93 | |
'0x0f' is a magic number. | 95 | |
'12' is a magic number. | 95 | |
'0x3F' is a magic number. | 95 | |
'6' is a magic number. | 95 | |
'0x3F' is a magic number. | 95 | |
'0x3F' is a magic number. | 101 | |
'4' is a magic number. | 101 | |
'0x0f' is a magic number. | 101 | |
Method 'peek' is not designed for extension - needs to be abstract, final or empty. | 110 | |
Missing a Javadoc comment. | 110 | |
Avoid inline conditionals. | 111 | |
'0xff' is a magic number. | 111 | |
Method 'readName' is not designed for extension - needs to be abstract, final or empty. | 114 | |
Missing a Javadoc comment. | 114 | |
'8' is a magic number. | 135 | |
'0xC0' is a magic number. | 153 | |
Method 'readNonNameString' is not designed for extension - needs to be abstract, final or empty. | 162 | |
Missing a Javadoc comment. | 162 | |
Missing a Javadoc comment. | 169 | |
Missing a Javadoc comment. | 171 | |
Missing a Javadoc comment. | 173 | |
Missing a Javadoc comment. | 175 | |
Parameter packet should be final. | 183 | |
Expected @param tag for 'packet'. | 183 | |
Expected @throws tag for 'IOException'. | 183 | |
Missing a Javadoc comment. | 245 | |
Parameter flags should be final. | 245 | |
Parameter id should be final. | 245 | |
Parameter multicast should be final. | 245 | |
Parameter packet should be final. | 245 | |
Parameter receivedTime should be final. | 245 | |
Missing a Javadoc comment. | 270 | |
Method length is 156 lines (max allowed is 150). | 282 | |
Missing a Javadoc comment. | 282 | |
Parameter source should be final. | 282 | |
Avoid inline conditionals. | 289 | |
Avoid inline conditionals. | 337 | |
Avoid inline conditionals. | 338 | |
'0x00ff0000' is a magic number. | 343 | |
'16' is a magic number. | 343 | |
'{' is followed by whitespace. | 385 | |
'3' is a magic number. | 385 | |
'4' is a magic number. | 385 | |
'5' is a magic number. | 385 | |
'6' is a magic number. | 385 | |
'7' is a magic number. | 385 | |
'8' is a magic number. | 387 | |
'{' is followed by whitespace. | 389 | |
'8' is a magic number. | 389 | |
'9' is a magic number. | 389 | |
'10' is a magic number. | 389 | |
'11' is a magic number. | 389 | |
'12' is a magic number. | 389 | |
'13' is a magic number. | 389 | |
'18' is a magic number. | 391 | |
'{' is followed by whitespace. | 393 | |
'14' is a magic number. | 393 | |
'15' is a magic number. | 393 | |
'16' is a magic number. | 393 | |
'17' is a magic number. | 393 | |
'22' is a magic number. | 395 | |
'{' is followed by whitespace. | 397 | |
'14' is a magic number. | 397 | |
'15' is a magic number. | 397 | |
'16' is a magic number. | 397 | |
'17' is a magic number. | 397 | |
'18' is a magic number. | 397 | |
'19' is a magic number. | 397 | |
'20' is a magic number. | 397 | |
'21' is a magic number. | 397 | |
Avoid inline conditionals. | 404 | |
Avoid inline conditionals. | 404 | |
Expected an @return tag. | 442 | |
Parameter dump should be final. | 442 | |
Expected @param tag for 'dump'. | 442 | |
Avoid inline conditionals. | 456 | |
Unused @throws tag for 'IllegalArgumentException'. | 530 | |
Parameter that should be final. | 533 | |
Expected @param tag for 'that'. | 533 | |
Missing a Javadoc comment. | 544 | |
Missing a Javadoc comment. | 557 | |
Name '_nibbleToHex' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 557 | |
'{' is followed by whitespace. | 557 | |
First sentence should end with a period. | 559 | |
Name '_hexString' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 565 | |
Parameter bytes should be final. | 565 | |
Expected @param tag for 'bytes'. | 565 | |
'0xFF' is a magic number. | 570 | |
'16' is a magic number. | 571 | |
'16' is a magic number. | 572 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 36 | |
Missing a Javadoc comment. | 38 | |
Variable '_multicast' must be private and have accessor methods. | 38 | |
Missing a Javadoc comment. | 40 | |
Missing a Javadoc comment. | 42 | |
Variable '_questions' must be private and have accessor methods. | 42 | |
Missing a Javadoc comment. | 44 | |
Variable '_answers' must be private and have accessor methods. | 44 | |
Missing a Javadoc comment. | 46 | |
Variable '_authoritativeAnswers' must be private and have accessor methods. | 46 | |
Missing a Javadoc comment. | 48 | |
Variable '_additionals' must be private and have accessor methods. | 48 | |
Parameter flags should be final. | 55 | |
Expected @param tag for 'flags'. | 55 | |
Parameter id should be final. | 55 | |
Expected @param tag for 'id'. | 55 | |
Parameter multicast should be final. | 55 | |
Expected @param tag for 'multicast'. | 55 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 86 | |
Avoid inline conditionals. | 87 | |
Method 'setId' is not designed for extension - needs to be abstract, final or empty. | 94 | |
Parameter id should be final. | 94 | |
Method 'getFlags' is not designed for extension - needs to be abstract, final or empty. | 101 | |
Method 'setFlags' is not designed for extension - needs to be abstract, final or empty. | 109 | |
Parameter flags should be final. | 109 | |
Method 'isMulticast' is not designed for extension - needs to be abstract, final or empty. | 116 | |
Method 'getQuestions' is not designed for extension - needs to be abstract, final or empty. | 123 | |
Method 'getNumberOfQuestions' is not designed for extension - needs to be abstract, final or empty. | 130 | |
Method 'getAllAnswers' is not designed for extension - needs to be abstract, final or empty. | 134 | |
Missing a Javadoc comment. | 134 | |
Method 'getAnswers' is not designed for extension - needs to be abstract, final or empty. | 145 | |
Method 'getNumberOfAnswers' is not designed for extension - needs to be abstract, final or empty. | 152 | |
Method 'getAuthorities' is not designed for extension - needs to be abstract, final or empty. | 159 | |
Method 'getNumberOfAuthorities' is not designed for extension - needs to be abstract, final or empty. | 166 | |
Method 'getAdditionals' is not designed for extension - needs to be abstract, final or empty. | 173 | |
Method 'getNumberOfAdditionals' is not designed for extension - needs to be abstract, final or empty. | 180 | |
Method 'isTruncated' is not designed for extension - needs to be abstract, final or empty. | 189 | |
Method 'isQuery' is not designed for extension - needs to be abstract, final or empty. | 198 | |
Method 'isResponse' is not designed for extension - needs to be abstract, final or empty. | 207 | |
First sentence should end with a period. | 211 | |
Method 'isEmpty' is not designed for extension - needs to be abstract, final or empty. | 216 | |
Expected an @return tag. | 223 | |
Method 'print' is not designed for extension - needs to be abstract, final or empty. | 223 | |
'200' is a magic number. | 224 | |
Method 'print' is not designed for extension - needs to be abstract, final or empty. | 256 | |
Parameter data should be final. | 256 | |
Expected @param tag for 'data'. | 256 | |
'4000' is a magic number. | 257 | |
'32' is a magic number. | 258 | |
'32' is a magic number. | 259 | |
'0x10' is a magic number. | 260 | |
'0x100' is a magic number. | 263 | |
'0x1000' is a magic number. | 266 | |
'8' is a magic number. | 273 | |
'0xF0' is a magic number. | 276 | |
'4' is a magic number. | 276 | |
'0x0F' is a magic number. | 277 | |
'32' is a magic number. | 280 | |
'32' is a magic number. | 281 | |
'8' is a magic number. | 282 | |
'8' is a magic number. | 290 | |
'0xFF' is a magic number. | 293 | |
'127' is a magic number. | 294 | |
Avoid inline conditionals. | 294 | |
'32' is a magic number. | 299 | |
'2048' is a magic number. | 299 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 22 | |
Missing a Javadoc comment. | 23 | |
Missing a Javadoc comment. | 25 | |
Unused @throws tag for 'IllegalArgumentException'. | 32 | |
Parameter size should be final. | 35 | |
Parameter out should be final. | 35 | |
Expected @param tag for 'out'. | 35 | |
Missing a Javadoc comment. | 39 | |
Parameter size should be final. | 39 | |
Parameter out should be final. | 39 | |
Parameter offset should be final. | 39 | |
Method 'writeByte' is not designed for extension - needs to be abstract, final or empty. | 45 | |
Missing a Javadoc comment. | 45 | |
Parameter value should be final. | 45 | |
'0xFF' is a magic number. | 46 | |
Method 'writeBytes' is not designed for extension - needs to be abstract, final or empty. | 49 | |
Missing a Javadoc comment. | 49 | |
Parameter str should be final. | 49 | |
Parameter off should be final. | 49 | |
Parameter len should be final. | 49 | |
Method 'writeBytes' is not designed for extension - needs to be abstract, final or empty. | 55 | |
Missing a Javadoc comment. | 55 | |
Parameter data should be final. | 55 | |
Array brackets at illegal position. | 55 | |
Method 'writeBytes' is not designed for extension - needs to be abstract, final or empty. | 61 | |
Missing a Javadoc comment. | 61 | |
Parameter data should be final. | 61 | |
Array brackets at illegal position. | 61 | |
Parameter off should be final. | 61 | |
Parameter len should be final. | 61 | |
Method 'writeShort' is not designed for extension - needs to be abstract, final or empty. | 67 | |
Missing a Javadoc comment. | 67 | |
Parameter value should be final. | 67 | |
'8' is a magic number. | 68 | |
Method 'writeInt' is not designed for extension - needs to be abstract, final or empty. | 72 | |
Missing a Javadoc comment. | 72 | |
Parameter value should be final. | 72 | |
'16' is a magic number. | 73 | |
Method 'writeUTF' is not designed for extension - needs to be abstract, final or empty. | 77 | |
Missing a Javadoc comment. | 77 | |
Parameter str should be final. | 77 | |
Parameter off should be final. | 77 | |
Parameter len should be final. | 77 | |
'0x007F' is a magic number. | 82 | |
'0x07FF' is a magic number. | 85 | |
'3' is a magic number. | 86 | |
'0x007F' is a magic number. | 97 | |
'0x07FF' is a magic number. | 100 | |
'0xE0' is a magic number. | 101 | |
'12' is a magic number. | 101 | |
'0x0F' is a magic number. | 101 | |
'0x80' is a magic number. | 102 | |
'6' is a magic number. | 102 | |
'0x3F' is a magic number. | 102 | |
'0x80' is a magic number. | 103 | |
'0x3F' is a magic number. | 103 | |
'0xC0' is a magic number. | 105 | |
'6' is a magic number. | 105 | |
'0x1F' is a magic number. | 105 | |
'0x80' is a magic number. | 106 | |
'0x3F' is a magic number. | 106 | |
Method 'writeName' is not designed for extension - needs to be abstract, final or empty. | 112 | |
Missing a Javadoc comment. | 112 | |
Parameter name should be final. | 112 | |
Method 'writeName' is not designed for extension - needs to be abstract, final or empty. | 116 | |
Missing a Javadoc comment. | 116 | |
Parameter name should be final. | 116 | |
Parameter useCompression should be final. | 116 | |
'8' is a magic number. | 132 | |
'0xC0' is a magic number. | 132 | |
'0xFF' is a magic number. | 133 | |
Method 'writeQuestion' is not designed for extension - needs to be abstract, final or empty. | 148 | |
Missing a Javadoc comment. | 148 | |
Parameter question should be final. | 148 | |
Method 'writeRecord' is not designed for extension - needs to be abstract, final or empty. | 154 | |
Missing a Javadoc comment. | 154 | |
Parameter rec should be final. | 154 | |
Parameter now should be final. | 154 | |
Avoid inline conditionals. | 157 | |
Avoid inline conditionals. | 158 | |
'512' is a magic number. | 161 | |
Name 'USE_DOMAIN_NAME_COMPRESSION' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 174 | |
Variable 'USE_DOMAIN_NAME_COMPRESSION' must be private and have accessor methods. | 174 | |
Missing a Javadoc comment. | 176 | |
Variable '_names' must be private and have accessor methods. | 176 | |
Missing a Javadoc comment. | 178 | |
Missing a Javadoc comment. | 180 | |
Missing a Javadoc comment. | 182 | |
Missing a Javadoc comment. | 184 | |
Missing a Javadoc comment. | 186 | |
Missing a Javadoc comment. | 188 | |
'static' modifier out of order with the JLS suggestions. | 188 | |
Parameter flags should be final. | 195 | |
Expected @param tag for 'flags'. | 195 | |
Parameter flags should be final. | 205 | |
Expected @param tag for 'flags'. | 205 | |
Parameter multicast should be final. | 205 | |
Expected @param tag for 'multicast'. | 205 | |
Parameter flags should be final. | 217 | |
Expected @param tag for 'flags'. | 217 | |
Parameter multicast should be final. | 217 | |
Expected @param tag for 'multicast'. | 217 | |
Parameter senderUDPPayload should be final. | 217 | |
Avoid inline conditionals. | 220 | |
Parameter rec should be final. | 242 | |
Expected @param tag for 'rec'. | 242 | |
Expected @throws tag for 'IOException'. | 242 | |
'512' is a magic number. | 243 | |
Parameter in should be final. | 261 | |
Expected @param tag for 'in'. | 261 | |
Parameter rec should be final. | 261 | |
Expected @param tag for 'rec'. | 261 | |
Expected @throws tag for 'IOException'. | 261 | |
Parameter rec should be final. | 274 | |
Expected @param tag for 'rec'. | 274 | |
Parameter now should be final. | 274 | |
Expected @param tag for 'now'. | 274 | |
Expected @throws tag for 'IOException'. | 274 | |
'512' is a magic number. | 277 | |
Parameter rec should be final. | 296 | |
Expected @param tag for 'rec'. | 296 | |
Expected @throws tag for 'IOException'. | 296 | |
'512' is a magic number. | 297 | |
Parameter in should be final. | 315 | |
Expected @param tag for 'in'. | 315 | |
Parameter rec should be final. | 315 | |
Expected @param tag for 'rec'. | 315 | |
Expected @throws tag for 'IOException'. | 315 | |
'512' is a magic number. | 316 | |
Avoid inline conditionals. | 337 | |
Expected an @return tag. | 366 | |
Parameter dump should be final. | 366 | |
Expected @param tag for 'dump'. | 366 | |
Avoid inline conditionals. | 378 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 25 | |
Missing a Javadoc comment. | 31 | |
Parameter name should be final. | 31 | |
Parameter type should be final. | 31 | |
Parameter recordClass should be final. | 31 | |
Parameter unique should be final. | 31 | |
Parameter jmDNSImpl should be final. | 36 | |
Parameter answers should be final. | 36 | |
Parameter jmDNSImpl should be final. | 44 | |
Missing a Javadoc comment. | 55 | |
Parameter name should be final. | 55 | |
Parameter type should be final. | 55 | |
Parameter recordClass should be final. | 55 | |
Parameter unique should be final. | 55 | |
Parameter jmDNSImpl should be final. | 60 | |
Parameter answers should be final. | 60 | |
Parameter jmDNSImpl should be final. | 68 | |
Missing a Javadoc comment. | 79 | |
Parameter name should be final. | 79 | |
Parameter type should be final. | 79 | |
Parameter recordClass should be final. | 79 | |
Parameter unique should be final. | 79 | |
Missing a Javadoc comment. | 88 | |
Parameter name should be final. | 88 | |
Parameter type should be final. | 88 | |
Parameter recordClass should be final. | 88 | |
Parameter unique should be final. | 88 | |
Parameter jmDNSImpl should be final. | 93 | |
Parameter answers should be final. | 93 | |
Avoid inline conditionals. | 107 | |
Must have at least one statement. | 117 | |
Missing a Javadoc comment. | 128 | |
Parameter name should be final. | 128 | |
Parameter type should be final. | 128 | |
Parameter recordClass should be final. | 128 | |
Parameter unique should be final. | 128 | |
Parameter jmDNSImpl should be final. | 133 | |
Parameter answers should be final. | 133 | |
Parameter jmDNSImpl should be final. | 151 | |
Missing a Javadoc comment. | 162 | |
Parameter name should be final. | 162 | |
Parameter type should be final. | 162 | |
Parameter recordClass should be final. | 162 | |
Parameter unique should be final. | 162 | |
Parameter jmDNSImpl should be final. | 167 | |
Parameter answers should be final. | 167 | |
Parameter jmDNSImpl should be final. | 172 | |
Missing a Javadoc comment. | 183 | |
Parameter name should be final. | 183 | |
Parameter type should be final. | 183 | |
Parameter recordClass should be final. | 183 | |
Parameter unique should be final. | 183 | |
Parameter entry should be final. | 188 | |
Parameter jmDNSImpl should be final. | 194 | |
Parameter answers should be final. | 194 | |
Parameter jmDNSImpl should be final. | 212 | |
Missing a Javadoc comment. | 219 | |
Parameter name should be final. | 219 | |
Parameter type should be final. | 219 | |
Parameter recordClass should be final. | 219 | |
Parameter unique should be final. | 219 | |
Parameter name should be final. | 236 | |
Parameter type should be final. | 236 | |
Parameter recordClass should be final. | 236 | |
Parameter unique should be final. | 236 | |
Expected an @return tag. | 262 | |
Method 'answeredBy' is not designed for extension - needs to be abstract, final or empty. | 262 | |
Parameter rec should be final. | 262 | |
Expected @param tag for 'rec'. | 262 | |
Parameter jmDNSImpl should be final. | 274 | |
Parameter answers should be final. | 274 | |
Method 'addAnswersForServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 278 | |
Missing a Javadoc comment. | 278 | |
Parameter jmDNSImpl should be final. | 278 | |
Parameter answers should be final. | 278 | |
Parameter info should be final. | 278 | |
Method 'isStale' is not designed for extension - needs to be abstract, final or empty. | 294 | |
Parameter now should be final. | 295 | |
Method 'isExpired' is not designed for extension - needs to be abstract, final or empty. | 303 | |
Parameter now should be final. | 304 | |
Method 'iAmTheOnlyOne' is not designed for extension - needs to be abstract, final or empty. | 315 | |
Parameter jmDNSImpl should be final. | 315 | |
Parameter aLog should be final. | 324 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 27 | |
Missing a Javadoc comment. | 33 | |
Missing a Javadoc comment. | 34 | |
Missing a Javadoc comment. | 35 | |
Parameter name should be final. | 45 | |
Expected @param tag for 'name'. | 45 | |
Parameter type should be final. | 45 | |
Expected @param tag for 'type'. | 45 | |
Parameter recordClass should be final. | 45 | |
Expected @param tag for 'recordClass'. | 45 | |
Parameter unique should be final. | 45 | |
Expected @param tag for 'unique'. | 45 | |
Parameter ttl should be final. | 45 | |
Expected @param tag for 'ttl'. | 45 | |
Definition of 'equals()' without corresponding definition of 'hashCode()'. | 55 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 55 | |
Parameter other should be final. | 56 | |
Expected an @return tag. | 63 | |
Expected @param tag for 'other'. | 63 | |
Expected an @return tag. | 68 | |
Method 'sameType' is not designed for extension - needs to be abstract, final or empty. | 68 | |
Parameter other should be final. | 68 | |
Expected @param tag for 'other'. | 68 | |
Expected @param tag for 'dns'. | 77 | |
Expected @param tag for 'expirationTime'. | 77 | |
Expected @param tag for 'dns'. | 84 | |
Expected an @return tag. | 89 | |
Expected @param tag for 'dns'. | 89 | |
Expected @param tag for 'in'. | 89 | |
Expected @param tag for 'addr'. | 89 | |
Expected @param tag for 'port'. | 89 | |
Expected @param tag for 'out'. | 89 | |
Expected @throws tag for 'IOException'. | 89 | |
Expected an @return tag. | 94 | |
Method 'suppressedBy' is not designed for extension - needs to be abstract, final or empty. | 94 | |
Parameter msg should be final. | 94 | |
Expected @param tag for 'msg'. | 94 | |
Expected an @return tag. | 112 | |
Method 'suppressedBy' is not designed for extension - needs to be abstract, final or empty. | 112 | |
Parameter other should be final. | 112 | |
Expected @param tag for 'other'. | 112 | |
Expected an @return tag. | 122 | |
Method 'getExpirationTime' is not designed for extension - needs to be abstract, final or empty. | 122 | |
Parameter percent should be final. | 122 | |
Expected @param tag for 'percent'. | 122 | |
'10L' is a magic number. | 124 | |
Expected an @return tag. | 130 | |
Method 'getRemainingTTL' is not designed for extension - needs to be abstract, final or empty. | 130 | |
Parameter now should be final. | 130 | |
Expected @param tag for 'now'. | 130 | |
'100' is a magic number. | 131 | |
'1000' is a magic number. | 131 | |
Method 'isExpired' is not designed for extension - needs to be abstract, final or empty. | 138 | |
Parameter now should be final. | 139 | |
'100' is a magic number. | 140 | |
Method 'isStale' is not designed for extension - needs to be abstract, final or empty. | 147 | |
Parameter now should be final. | 148 | |
'50' is a magic number. | 149 | |
Method 'resetTTL' is not designed for extension - needs to be abstract, final or empty. | 155 | |
Parameter other should be final. | 155 | |
Expected @param tag for 'other'. | 155 | |
Method 'setWillExpireSoon' is not designed for extension - needs to be abstract, final or empty. | 163 | |
Parameter now should be final. | 163 | |
Expected @param tag for 'now'. | 163 | |
Expected @param tag for 'out'. | 171 | |
Missing a Javadoc comment. | 173 | |
Missing a Javadoc comment. | 175 | |
Parameter name should be final. | 175 | |
Parameter recordClass should be final. | 175 | |
Parameter unique should be final. | 175 | |
Parameter ttl should be final. | 175 | |
Parameter addr should be final. | 175 | |
Missing a Javadoc comment. | 179 | |
Parameter name should be final. | 179 | |
Parameter recordClass should be final. | 179 | |
Parameter unique should be final. | 179 | |
Parameter ttl should be final. | 179 | |
Parameter rawAddress should be final. | 179 | |
Method 'write' is not designed for extension - needs to be abstract, final or empty. | 183 | |
Parameter out should be final. | 184 | |
Must have at least one statement. | 188 | |
'4' is a magic number. | 193 | |
'12' is a magic number. | 194 | |
'4' is a magic number. | 194 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 205 | |
Parameter persistent should be final. | 206 | |
Missing a Javadoc comment. | 215 | |
Missing a Javadoc comment. | 217 | |
Parameter name should be final. | 217 | |
Parameter recordClass should be final. | 217 | |
Parameter unique should be final. | 217 | |
Parameter ttl should be final. | 217 | |
Parameter addr should be final. | 217 | |
Missing a Javadoc comment. | 221 | |
Parameter name should be final. | 221 | |
Parameter recordClass should be final. | 221 | |
Parameter unique should be final. | 221 | |
Parameter ttl should be final. | 221 | |
Parameter rawAddress should be final. | 221 | |
Method 'write' is not designed for extension - needs to be abstract, final or empty. | 225 | |
Parameter out should be final. | 226 | |
'16' is a magic number. | 232 | |
'16' is a magic number. | 233 | |
'11' is a magic number. | 234 | |
'12' is a magic number. | 235 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 250 | |
Parameter persistent should be final. | 251 | |
'abstract' modifier out of order with the JLS suggestions. | 263 | |
Missing a Javadoc comment. | 264 | |
Missing a Javadoc comment. | 266 | |
Variable '_addr' must be private and have accessor methods. | 266 | |
Missing a Javadoc comment. | 268 | |
Parameter name should be final. | 268 | |
Parameter type should be final. | 268 | |
Parameter recordClass should be final. | 268 | |
Parameter unique should be final. | 268 | |
Parameter ttl should be final. | 268 | |
Parameter addr should be final. | 268 | |
Missing a Javadoc comment. | 273 | |
Parameter name should be final. | 273 | |
Parameter type should be final. | 273 | |
Parameter recordClass should be final. | 273 | |
Parameter unique should be final. | 273 | |
Parameter ttl should be final. | 273 | |
Parameter rawAddress should be final. | 273 | |
Method 'same' is not designed for extension - needs to be abstract, final or empty. | 282 | |
Missing a Javadoc comment. | 282 | |
Parameter other should be final. | 282 | |
'!' is followed by whitespace. | 283 | |
')' is preceded with whitespace. | 283 | |
Method 'sameName' is not designed for extension - needs to be abstract, final or empty. | 289 | |
Missing a Javadoc comment. | 289 | |
Parameter other should be final. | 289 | |
Method 'sameValue' is not designed for extension - needs to be abstract, final or empty. | 293 | |
Parameter other should be final. | 294 | |
'!' is followed by whitespace. | 295 | |
')' is preceded with whitespace. | 295 | |
Method 'isSingleValued' is not designed for extension - needs to be abstract, final or empty. | 305 | |
Method 'getAddress' is not designed for extension - needs to be abstract, final or empty. | 310 | |
Missing a Javadoc comment. | 310 | |
Method 'toByteArray' is not designed for extension - needs to be abstract, final or empty. | 317 | |
Parameter dout should be final. | 318 | |
Expected @param tag for 'dout'. | 318 | |
Expected @throws tag for 'IOException'. | 318 | |
Expected an @return tag. | 329 | |
Method 'handleQuery' is not designed for extension - needs to be abstract, final or empty. | 329 | |
Parameter dns should be final. | 330 | |
Expected @param tag for 'dns'. | 330 | |
Parameter expirationTime should be final. | 330 | |
Expected @param tag for 'expirationTime'. | 330 | |
Expected an @return tag. | 364 | |
Method 'handleResponse' is not designed for extension - needs to be abstract, final or empty. | 364 | |
Parameter dns should be final. | 365 | |
Expected @param tag for 'dns'. | 365 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 383 | |
Parameter dns should be final. | 384 | |
Parameter in should be final. | 384 | |
Parameter addr should be final. | 384 | |
Parameter port should be final. | 384 | |
Parameter out should be final. | 384 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 392 | |
Parameter persistent should be final. | 393 | |
Method 'getServiceEvent' is not designed for extension - needs to be abstract, final or empty. | 403 | |
Parameter dns should be final. | 404 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 414 | |
Parameter aLog should be final. | 415 | |
Avoid inline conditionals. | 417 | |
Missing a Javadoc comment. | 427 | |
Missing a Javadoc comment. | 429 | |
Parameter name should be final. | 429 | |
Parameter recordClass should be final. | 429 | |
Parameter unique should be final. | 429 | |
Parameter ttl should be final. | 429 | |
Parameter alias should be final. | 429 | |
Method 'isSameEntry' is not designed for extension - needs to be abstract, final or empty. | 438 | |
Parameter entry should be final. | 439 | |
Method 'write' is not designed for extension - needs to be abstract, final or empty. | 443 | |
Parameter out should be final. | 444 | |
Method 'sameValue' is not designed for extension - needs to be abstract, final or empty. | 448 | |
Parameter other should be final. | 449 | |
'!' is followed by whitespace. | 450 | |
')' is preceded with whitespace. | 450 | |
Method 'isSingleValued' is not designed for extension - needs to be abstract, final or empty. | 460 | |
Method 'handleQuery' is not designed for extension - needs to be abstract, final or empty. | 465 | |
Parameter dns should be final. | 466 | |
Parameter expirationTime should be final. | 466 | |
Method 'handleResponse' is not designed for extension - needs to be abstract, final or empty. | 472 | |
Parameter dns should be final. | 473 | |
Method 'getAlias' is not designed for extension - needs to be abstract, final or empty. | 479 | |
Missing a Javadoc comment. | 479 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 483 | |
Parameter dns should be final. | 484 | |
Parameter in should be final. | 484 | |
Parameter addr should be final. | 484 | |
Parameter port should be final. | 484 | |
Parameter out should be final. | 484 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 492 | |
Parameter persistent should be final. | 493 | |
Method 'getServiceEvent' is not designed for extension - needs to be abstract, final or empty. | 513 | |
Parameter dns should be final. | 514 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 526 | |
Parameter aLog should be final. | 527 | |
Avoid inline conditionals. | 529 | |
Missing a Javadoc comment. | 534 | |
'static' modifier out of order with the JLS suggestions. | 534 | |
'{' is followed by whitespace. | 534 | |
Missing a Javadoc comment. | 536 | |
Missing a Javadoc comment. | 538 | |
Missing a Javadoc comment. | 540 | |
Parameter name should be final. | 540 | |
Parameter recordClass should be final. | 540 | |
Parameter unique should be final. | 540 | |
Parameter ttl should be final. | 540 | |
Parameter text should be final. | 540 | |
Array brackets at illegal position. | 540 | |
Avoid inline conditionals. | 542 | |
Method 'getText' is not designed for extension - needs to be abstract, final or empty. | 548 | |
Method 'write' is not designed for extension - needs to be abstract, final or empty. | 552 | |
Parameter out should be final. | 553 | |
Method 'sameValue' is not designed for extension - needs to be abstract, final or empty. | 557 | |
Parameter other should be final. | 558 | |
'!' is followed by whitespace. | 559 | |
')' is preceded with whitespace. | 559 | |
Method 'isSingleValued' is not designed for extension - needs to be abstract, final or empty. | 577 | |
Method 'handleQuery' is not designed for extension - needs to be abstract, final or empty. | 582 | |
Parameter dns should be final. | 583 | |
Parameter expirationTime should be final. | 583 | |
Method 'handleResponse' is not designed for extension - needs to be abstract, final or empty. | 589 | |
Parameter dns should be final. | 590 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 599 | |
Parameter dns should be final. | 600 | |
Parameter in should be final. | 600 | |
Parameter addr should be final. | 600 | |
Parameter port should be final. | 600 | |
Parameter out should be final. | 600 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 608 | |
Parameter persistent should be final. | 609 | |
Method 'getServiceEvent' is not designed for extension - needs to be abstract, final or empty. | 617 | |
Parameter dns should be final. | 618 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 628 | |
Parameter aLog should be final. | 629 | |
'20' is a magic number. | 631 | |
Avoid inline conditionals. | 631 | |
'17' is a magic number. | 631 | |
Missing a Javadoc comment. | 640 | |
Missing a Javadoc comment. | 641 | |
Missing a Javadoc comment. | 642 | |
Missing a Javadoc comment. | 643 | |
Missing a Javadoc comment. | 644 | |
Missing a Javadoc comment. | 646 | |
More than 7 parameters. | 646 | |
Parameter name should be final. | 646 | |
Parameter recordClass should be final. | 646 | |
Parameter unique should be final. | 646 | |
Parameter ttl should be final. | 646 | |
Parameter priority should be final. | 646 | |
Parameter weight should be final. | 646 | |
Parameter port should be final. | 646 | |
Parameter server should be final. | 646 | |
Method 'write' is not designed for extension - needs to be abstract, final or empty. | 654 | |
Parameter out should be final. | 655 | |
Method 'toByteArray' is not designed for extension - needs to be abstract, final or empty. | 671 | |
Parameter dout should be final. | 672 | |
Must have at least one statement. | 679 | |
Method 'getServer' is not designed for extension - needs to be abstract, final or empty. | 684 | |
Missing a Javadoc comment. | 684 | |
Method 'getPriority' is not designed for extension - needs to be abstract, final or empty. | 691 | |
Method 'getWeight' is not designed for extension - needs to be abstract, final or empty. | 698 | |
Method 'getPort' is not designed for extension - needs to be abstract, final or empty. | 705 | |
Method 'sameValue' is not designed for extension - needs to be abstract, final or empty. | 709 | |
Parameter other should be final. | 710 | |
'!' is followed by whitespace. | 711 | |
')' is preceded with whitespace. | 711 | |
Method 'isSingleValued' is not designed for extension - needs to be abstract, final or empty. | 718 | |
Method 'handleQuery' is not designed for extension - needs to be abstract, final or empty. | 723 | |
Parameter dns should be final. | 724 | |
Parameter expirationTime should be final. | 724 | |
Method 'handleResponse' is not designed for extension - needs to be abstract, final or empty. | 773 | |
Parameter dns should be final. | 774 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 793 | |
Parameter dns should be final. | 794 | |
Parameter in should be final. | 794 | |
Parameter addr should be final. | 794 | |
Parameter port should be final. | 794 | |
Parameter out should be final. | 794 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 809 | |
Parameter persistent should be final. | 810 | |
Method 'getServiceEvent' is not designed for extension - needs to be abstract, final or empty. | 818 | |
Parameter dns should be final. | 819 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 840 | |
Parameter aLog should be final. | 841 | |
Missing a Javadoc comment. | 848 | |
Missing a Javadoc comment. | 849 | |
Variable '_os' must be private and have accessor methods. | 849 | |
Missing a Javadoc comment. | 850 | |
Variable '_cpu' must be private and have accessor methods. | 850 | |
Parameter name should be final. | 860 | |
Expected @param tag for 'name'. | 860 | |
Parameter recordClass should be final. | 860 | |
Expected @param tag for 'recordClass'. | 860 | |
Parameter unique should be final. | 860 | |
Expected @param tag for 'unique'. | 860 | |
Parameter ttl should be final. | 860 | |
Expected @param tag for 'ttl'. | 860 | |
Parameter cpu should be final. | 860 | |
Expected @param tag for 'cpu'. | 860 | |
Parameter os should be final. | 860 | |
Expected @param tag for 'os'. | 860 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 870 | |
Parameter dns should be final. | 871 | |
Parameter in should be final. | 871 | |
Parameter addr should be final. | 871 | |
Parameter port should be final. | 871 | |
Parameter out should be final. | 871 | |
Method 'handleQuery' is not designed for extension - needs to be abstract, final or empty. | 879 | |
Parameter dns should be final. | 880 | |
Parameter expirationTime should be final. | 880 | |
Method 'handleResponse' is not designed for extension - needs to be abstract, final or empty. | 888 | |
Parameter dns should be final. | 889 | |
Method 'sameValue' is not designed for extension - needs to be abstract, final or empty. | 897 | |
Parameter other should be final. | 898 | |
'!' is followed by whitespace. | 899 | |
')' is preceded with whitespace. | 899 | |
Method 'isSingleValued' is not designed for extension - needs to be abstract, final or empty. | 916 | |
Method 'write' is not designed for extension - needs to be abstract, final or empty. | 925 | |
Parameter out should be final. | 926 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 935 | |
Parameter persistent should be final. | 936 | |
Method 'getServiceEvent' is not designed for extension - needs to be abstract, final or empty. | 947 | |
Parameter dns should be final. | 948 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 958 | |
Parameter aLog should be final. | 959 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 978 | |
Method 'setRecordSource' is not designed for extension - needs to be abstract, final or empty. | 1000 | |
Missing a Javadoc comment. | 1000 | |
Parameter source should be final. | 1000 | |
Method 'getRecordSource' is not designed for extension - needs to be abstract, final or empty. | 1004 | |
Missing a Javadoc comment. | 1004 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 1012 | |
Parameter aLog should be final. | 1013 | |
Method 'setTTL' is not designed for extension - needs to be abstract, final or empty. | 1018 | |
Missing a Javadoc comment. | 1018 | |
Parameter ttl should be final. | 1018 | |
Method 'getTTL' is not designed for extension - needs to be abstract, final or empty. | 1022 | |
Missing a Javadoc comment. | 1022 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 33 | |
Missing a Javadoc comment. | 35 | |
Missing a Javadoc comment. | 37 | |
Parameter name should be final. | 43 | |
'50' is a magic number. | 46 | |
Parameter timeout should be final. | 55 | |
'1000' is a magic number. | 84 | |
Missing a Javadoc comment. | 104 | |
Missing a Javadoc comment. | 105 | |
Missing a Javadoc comment. | 107 | |
Missing a Javadoc comment. | 109 | |
Missing a Javadoc comment. | 111 | |
Variable '_task' must be private and have accessor methods. | 111 | |
Missing a Javadoc comment. | 113 | |
Variable '_state' must be private and have accessor methods. | 113 | |
Missing a Javadoc comment. | 115 | |
Missing a Javadoc comment. | 117 | |
Missing a Javadoc comment. | 119 | |
Method 'getDns' is not designed for extension - needs to be abstract, final or empty. | 131 | |
Method 'setDns' is not designed for extension - needs to be abstract, final or empty. | 136 | |
Missing a Javadoc comment. | 136 | |
Parameter dns should be final. | 136 | |
Method 'associateWithTask' is not designed for extension - needs to be abstract, final or empty. | 143 | |
Parameter task should be final. | 144 | |
Parameter state should be final. | 144 | |
Method 'removeAssociationWithTask' is not designed for extension - needs to be abstract, final or empty. | 160 | |
Parameter task should be final. | 161 | |
Method 'isAssociatedWithTask' is not designed for extension - needs to be abstract, final or empty. | 177 | |
Parameter task should be final. | 178 | |
Parameter state should be final. | 178 | |
Method 'setTask' is not designed for extension - needs to be abstract, final or empty. | 187 | |
Missing a Javadoc comment. | 187 | |
Parameter task should be final. | 187 | |
Method 'setState' is not designed for extension - needs to be abstract, final or empty. | 195 | |
Parameter state should be final. | 195 | |
Method 'advanceState' is not designed for extension - needs to be abstract, final or empty. | 215 | |
Parameter task should be final. | 216 | |
Method 'revertState' is not designed for extension - needs to be abstract, final or empty. | 236 | |
Method 'cancelState' is not designed for extension - needs to be abstract, final or empty. | 256 | |
Method 'closeState' is not designed for extension - needs to be abstract, final or empty. | 277 | |
Method 'recoverState' is not designed for extension - needs to be abstract, final or empty. | 298 | |
Method 'isProbing' is not designed for extension - needs to be abstract, final or empty. | 314 | |
Method 'isAnnouncing' is not designed for extension - needs to be abstract, final or empty. | 322 | |
Method 'isAnnounced' is not designed for extension - needs to be abstract, final or empty. | 330 | |
Method 'isCanceling' is not designed for extension - needs to be abstract, final or empty. | 338 | |
Method 'isCanceled' is not designed for extension - needs to be abstract, final or empty. | 346 | |
Method 'isClosing' is not designed for extension - needs to be abstract, final or empty. | 354 | |
Method 'isClosed' is not designed for extension - needs to be abstract, final or empty. | 362 | |
Missing a Javadoc comment. | 367 | |
Missing a Javadoc comment. | 371 | |
Method 'waitForAnnounced' is not designed for extension - needs to be abstract, final or empty. | 378 | |
Parameter timeout should be final. | 379 | |
Method 'waitForCanceled' is not designed for extension - needs to be abstract, final or empty. | 396 | |
Parameter timeout should be final. | 397 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 410 | |
Avoid inline conditionals. | 412 | |
Redundant 'public' modifier. | 422 | |
Redundant 'public' modifier. | 432 | |
Redundant 'public' modifier. | 440 | |
Redundant 'public' modifier. | 451 | |
Extra HTML tag found: </code> otherwise. | 458 | |
Redundant 'public' modifier. | 461 | |
Extra HTML tag found: </code> otherwise. | 466 | |
Redundant 'public' modifier. | 469 | |
Extra HTML tag found: </code> otherwise. | 474 | |
Redundant 'public' modifier. | 476 | |
Extra HTML tag found: </code> otherwise. | 481 | |
Redundant 'public' modifier. | 483 | |
Extra HTML tag found: </code> otherwise. | 488 | |
Redundant 'public' modifier. | 490 | |
Redundant 'public' modifier. | 497 | |
Redundant 'public' modifier. | 504 | |
Redundant 'public' modifier. | 511 | |
Redundant 'public' modifier. | 518 | |
Redundant 'public' modifier. | 525 | |
Redundant 'public' modifier. | 532 | |
Redundant 'public' modifier. | 539 | |
Redundant 'public' modifier. | 548 | |
Redundant 'public' modifier. | 557 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 38 | |
Name '_instance' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 38 | |
Missing a Javadoc comment. | 39 | |
Redundant 'public' modifier. | 55 | |
Missing a Javadoc comment. | 58 | |
Name '_databaseClassDelegate' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 58 | |
Missing a Javadoc comment. | 60 | |
'20' is a magic number. | 62 | |
Parameter delegate should be final. | 73 | |
Parameter jmDNSImpl should be final. | 95 | |
Avoid inline conditionals. | 101 | |
The double-checked locking idiom is broken and should be avoided. | 112 | |
Parameter jmDNSImpl should be final. | 127 | |
Missing a Javadoc comment. | 138 | |
Missing a Javadoc comment. | 140 | |
Missing a Javadoc comment. | 152 | |
Missing a Javadoc comment. | 155 | |
Parameter isDaemon should be final. | 168 | |
Expected @param tag for 'isDaemon'. | 168 | |
Parameter name should be final. | 177 | |
Expected @param tag for 'name'. | 177 | |
Parameter isDaemon should be final. | 177 | |
Expected @param tag for 'isDaemon'. | 177 | |
Parameter name should be final. | 185 | |
Expected @param tag for 'name'. | 185 | |
Method 'cancel' is not designed for extension - needs to be abstract, final or empty. | 194 | |
'if' construct must use '{}'s. | 196 | |
Method 'schedule' is not designed for extension - needs to be abstract, final or empty. | 205 | |
Parameter task should be final. | 206 | |
Parameter delay should be final. | 206 | |
'if' construct must use '{}'s. | 207 | |
Method 'schedule' is not designed for extension - needs to be abstract, final or empty. | 215 | |
Parameter task should be final. | 216 | |
Parameter time should be final. | 216 | |
'if' construct must use '{}'s. | 217 | |
Method 'schedule' is not designed for extension - needs to be abstract, final or empty. | 225 | |
Parameter task should be final. | 226 | |
Parameter delay should be final. | 226 | |
Parameter period should be final. | 226 | |
'if' construct must use '{}'s. | 227 | |
Method 'schedule' is not designed for extension - needs to be abstract, final or empty. | 235 | |
Parameter task should be final. | 236 | |
Parameter firstTime should be final. | 236 | |
Parameter period should be final. | 236 | |
'if' construct must use '{}'s. | 237 | |
Method 'scheduleAtFixedRate' is not designed for extension - needs to be abstract, final or empty. | 245 | |
Parameter task should be final. | 246 | |
Parameter delay should be final. | 246 | |
Parameter period should be final. | 246 | |
'if' construct must use '{}'s. | 247 | |
Method 'scheduleAtFixedRate' is not designed for extension - needs to be abstract, final or empty. | 255 | |
Parameter task should be final. | 256 | |
Parameter firstTime should be final. | 256 | |
Parameter period should be final. | 256 | |
'if' construct must use '{}'s. | 257 | |
Missing a Javadoc comment. | 263 | |
Parameter jmDNSImpl should be final. | 263 | |
Parameter info should be final. | 356 | |
Parameter type should be final. | 374 | |
Parameter in should be final. | 383 | |
Parameter port should be final. | 383 | |
First sentence should end with a period. | 388 | |
Redundant 'public' modifier. | 391 | |
First sentence should end with a period. | 393 | |
Redundant 'public' modifier. | 396 | |
First sentence should end with a period. | 398 | |
Redundant 'public' modifier. | 401 | |
First sentence should end with a period. | 403 | |
Redundant 'public' modifier. | 406 | |
First sentence should end with a period. | 408 | |
Redundant 'public' modifier. | 411 | |
First sentence should end with a period. | 413 | |
Redundant 'public' modifier. | 416 | |
First sentence should end with a period. | 418 | |
Redundant 'public' modifier. | 421 | |
First sentence should end with a period. | 423 | |
Redundant 'public' modifier. | 426 | |
Redundant 'public' modifier. | 431 | |
First sentence should end with a period. | 433 | |
Redundant 'public' modifier. | 439 | |
First sentence should end with a period. | 441 | |
Redundant 'public' modifier. | 444 | |
First sentence should end with a period. | 446 | |
Redundant 'public' modifier. | 452 | |
First sentence should end with a period. | 454 | |
Redundant 'public' modifier. | 462 |
Violation | Message | Line |
---|---|---|
Class HostInfo should be declared as final. | 32 | |
Missing a Javadoc comment. | 33 | |
Missing a Javadoc comment. | 35 | |
Variable '_name' must be private and have accessor methods. | 35 | |
Missing a Javadoc comment. | 37 | |
Variable '_address' must be private and have accessor methods. | 37 | |
Missing a Javadoc comment. | 39 | |
Variable '_interfaze' must be private and have accessor methods. | 39 | |
Missing a Javadoc comment. | 41 | |
Missing a Javadoc comment. | 43 | |
'static' modifier out of order with the JLS suggestions. | 43 | |
Missing a Javadoc comment. | 45 | |
Parameter dns should be final. | 50 | |
Expected @param tag for 'dns'. | 50 | |
Parameter address should be final. | 66 | |
Parameter dns should be final. | 66 | |
Parameter jmdnsName should be final. | 66 | |
Avoid inline conditionals. | 93 | |
Avoid inline conditionals. | 99 | |
Missing a Javadoc comment. | 108 | |
Name 'hostNameCount' must match pattern '^_[a-z][a-zA-Z0-9]*$'. | 119 | |
Missing a Javadoc comment. | 121 | |
Missing a Javadoc comment. | 135 | |
Missing a Javadoc comment. | 139 | |
Missing a Javadoc comment. | 143 | |
Missing a Javadoc comment. | 150 | |
Missing a Javadoc comment. | 157 | |
Missing a Javadoc comment. | 161 | |
Parameter record should be final. | 161 | |
Missing a Javadoc comment. | 169 | |
Avoid inline conditionals. | 173 | |
Missing a Javadoc comment. | 177 | |
Parameter packet should be final. | 177 | |
Missing a Javadoc comment. | 198 | |
Parameter type should be final. | 198 | |
Parameter unique should be final. | 198 | |
Parameter ttl should be final. | 198 | |
Missing a Javadoc comment. | 210 | |
Parameter unique should be final. | 210 | |
Parameter ttl should be final. | 210 | |
Missing a Javadoc comment. | 217 | |
Parameter unique should be final. | 217 | |
Parameter ttl should be final. | 217 | |
Missing a Javadoc comment. | 224 | |
Parameter type should be final. | 224 | |
Parameter unique should be final. | 224 | |
Parameter ttl should be final. | 224 | |
Missing a Javadoc comment. | 236 | |
Parameter unique should be final. | 236 | |
Parameter ttl should be final. | 236 | |
'12' is a magic number. | 242 | |
'0xff' is a magic number. | 242 | |
'13' is a magic number. | 242 | |
'0xff' is a magic number. | 242 | |
'14' is a magic number. | 242 | |
'0xff' is a magic number. | 242 | |
'15' is a magic number. | 242 | |
'0xff' is a magic number. | 242 | |
Missing a Javadoc comment. | 248 | |
Parameter unique should be final. | 248 | |
Parameter ttl should be final. | 248 | |
'1024' is a magic number. | 257 | |
Avoid inline conditionals. | 259 | |
Avoid inline conditionals. | 261 | |
Avoid inline conditionals. | 263 | |
Missing a Javadoc comment. | 270 | |
Parameter unique should be final. | 270 | |
Parameter ttl should be final. | 270 | |
Parameter task should be final. | 295 | |
Parameter task should be final. | 303 | |
Parameter task should be final. | 319 | |
Parameter state should be final. | 319 | |
Parameter task should be final. | 327 | |
Parameter state should be final. | 327 | |
Parameter timeout should be final. | 415 | |
Parameter timeout should be final. | 423 |
Violation | Message | Line |
---|---|---|
File length is 2,214 lines (max allowed is 2,000). | 1 | |
Missing a Javadoc comment. | 57 | |
Missing a Javadoc comment. | 59 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 104 | |
Missing a Javadoc comment. | 114 | |
Missing a Javadoc comment. | 116 | |
Missing a Javadoc comment. | 118 | |
Missing a Javadoc comment. | 120 | |
Missing a Javadoc comment. | 122 | |
Missing a Javadoc comment. | 123 | |
Missing a Javadoc comment. | 125 | |
Parameter subtype should be final. | 125 | |
Avoid inline conditionals. | 127 | |
Unused @throws tag for 'UnsupportedOperationException'. | 153 | |
Parameter value should be final. | 157 | |
Parameter entry should be final. | 165 | |
Avoid inline conditionals. | 177 | |
Avoid inline conditionals. | 177 | |
Missing a Javadoc comment. | 200 | |
Parameter type should be final. | 200 | |
Method 'getType' is not designed for extension - needs to be abstract, final or empty. | 211 | |
Method 'entrySet' is not designed for extension - needs to be abstract, final or empty. | 219 | |
Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 232 | |
Parameter subtype should be final. | 232 | |
Method 'add' is not designed for extension - needs to be abstract, final or empty. | 244 | |
Parameter subtype should be final. | 244 | |
Method 'iterator' is not designed for extension - needs to be abstract, final or empty. | 257 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 265 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 278 | |
Variable '_shutdown' must be private and have accessor methods. | 298 | |
First sentence should end with a period. | 300 | |
Missing a Javadoc comment. | 305 | |
Missing a Javadoc comment. | 317 | |
'static' modifier out of order with the JLS suggestions. | 334 | |
Name '_random' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 334 | |
Missing a Javadoc comment. | 356 | |
First sentence should end with a period. | 358 | |
Parameter argv should be final. | 364 | |
Parameter address should be final. | 392 | |
Parameter name should be final. | 392 | |
Expected @throws tag for 'IOException'. | 392 | |
'100' is a magic number. | 397 | |
'20' is a magic number. | 404 | |
'20' is a magic number. | 405 | |
Avoid inline conditionals. | 408 | |
Missing a Javadoc comment. | 426 | |
Parameter serviceInfos should be final. | 426 | |
Missing a Javadoc comment. | 441 | |
Parameter hostInfo should be final. | 441 | |
'255' is a magic number. | 462 | |
Missing a Javadoc comment. | 466 | |
Must have at least one statement. | 477 | |
'1000' is a magic number. | 495 | |
Must have at least one statement. | 497 | |
Method 'advanceState' is not designed for extension - needs to be abstract, final or empty. | 514 | |
Parameter task should be final. | 515 | |
Method 'revertState' is not designed for extension - needs to be abstract, final or empty. | 522 | |
Method 'cancelState' is not designed for extension - needs to be abstract, final or empty. | 530 | |
Method 'closeState' is not designed for extension - needs to be abstract, final or empty. | 538 | |
Method 'recoverState' is not designed for extension - needs to be abstract, final or empty. | 546 | |
Method 'getDns' is not designed for extension - needs to be abstract, final or empty. | 554 | |
Method 'associateWithTask' is not designed for extension - needs to be abstract, final or empty. | 562 | |
Parameter task should be final. | 563 | |
Parameter state should be final. | 563 | |
Method 'removeAssociationWithTask' is not designed for extension - needs to be abstract, final or empty. | 570 | |
Parameter task should be final. | 571 | |
Method 'isAssociatedWithTask' is not designed for extension - needs to be abstract, final or empty. | 578 | |
Parameter task should be final. | 579 | |
Parameter state should be final. | 579 | |
Method 'isProbing' is not designed for extension - needs to be abstract, final or empty. | 586 | |
Method 'isAnnouncing' is not designed for extension - needs to be abstract, final or empty. | 594 | |
Method 'isAnnounced' is not designed for extension - needs to be abstract, final or empty. | 602 | |
Method 'isCanceling' is not designed for extension - needs to be abstract, final or empty. | 610 | |
Method 'isCanceled' is not designed for extension - needs to be abstract, final or empty. | 618 | |
Method 'isClosing' is not designed for extension - needs to be abstract, final or empty. | 626 | |
Method 'isClosed' is not designed for extension - needs to be abstract, final or empty. | 634 | |
Method 'waitForAnnounced' is not designed for extension - needs to be abstract, final or empty. | 642 | |
Parameter timeout should be final. | 643 | |
Method 'waitForCanceled' is not designed for extension - needs to be abstract, final or empty. | 650 | |
Parameter timeout should be final. | 651 | |
First sentence should end with a period. | 655 | |
Method 'getCache' is not designed for extension - needs to be abstract, final or empty. | 660 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 667 | |
Method 'getHostName' is not designed for extension - needs to be abstract, final or empty. | 675 | |
First sentence should end with a period. | 680 | |
Method 'getLocalHost' is not designed for extension - needs to be abstract, final or empty. | 685 | |
Method 'getInterface' is not designed for extension - needs to be abstract, final or empty. | 692 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 700 | |
Parameter type should be final. | 701 | |
Parameter name should be final. | 701 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 708 | |
Parameter type should be final. | 709 | |
Parameter name should be final. | 709 | |
Parameter timeout should be final. | 709 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 716 | |
Parameter type should be final. | 717 | |
Parameter name should be final. | 717 | |
Parameter persistent should be final. | 717 | |
Method 'getServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 724 | |
Parameter type should be final. | 725 | |
Parameter name should be final. | 725 | |
Parameter persistent should be final. | 725 | |
Parameter timeout should be final. | 725 | |
Avoid inline conditionals. | 728 | |
Method 'resolveServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 731 | |
Missing a Javadoc comment. | 731 | |
Parameter type should be final. | 731 | |
Parameter name should be final. | 731 | |
Parameter subtype should be final. | 731 | |
Parameter persistent should be final. | 731 | |
Method 'getServiceInfoFromCache' is not designed for extension - needs to be abstract, final or empty. | 747 | |
Missing a Javadoc comment. | 747 | |
Parameter type should be final. | 747 | |
Parameter name should be final. | 747 | |
Parameter subtype should be final. | 747 | |
Parameter persistent should be final. | 747 | |
Missing a Javadoc comment. | 806 | |
Parameter info should be final. | 806 | |
Parameter timeout should be final. | 806 | |
'200L' is a magic number. | 808 | |
'200' is a magic number. | 817 | |
Must have at least one statement. | 818 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 828 | |
Parameter type should be final. | 829 | |
Parameter name should be final. | 829 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 836 | |
Parameter type should be final. | 837 | |
Parameter name should be final. | 837 | |
Parameter persistent should be final. | 837 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 844 | |
Parameter type should be final. | 845 | |
Parameter name should be final. | 845 | |
Parameter timeout should be final. | 845 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 852 | |
Parameter type should be final. | 853 | |
Parameter name should be final. | 853 | |
Parameter persistent should be final. | 853 | |
Parameter timeout should be final. | 853 | |
Method 'handleServiceResolved' is not designed for extension - needs to be abstract, final or empty. | 858 | |
Missing a Javadoc comment. | 858 | |
Parameter event should be final. | 858 | |
Method 'addServiceTypeListener' is not designed for extension - needs to be abstract, final or empty. | 883 | |
Parameter listener should be final. | 884 | |
Method 'removeServiceTypeListener' is not designed for extension - needs to be abstract, final or empty. | 899 | |
Parameter listener should be final. | 900 | |
Method 'addServiceListener' is not designed for extension - needs to be abstract, final or empty. | 908 | |
Parameter type should be final. | 909 | |
Parameter listener should be final. | 909 | |
Missing a Javadoc comment. | 913 | |
Parameter type should be final. | 913 | |
Parameter listener should be final. | 913 | |
Parameter synch should be final. | 913 | |
Method 'removeServiceListener' is not designed for extension - needs to be abstract, final or empty. | 957 | |
Parameter type should be final. | 958 | |
Parameter listener should be final. | 958 | |
Method 'registerService' is not designed for extension - needs to be abstract, final or empty. | 975 | |
Parameter infoAbstract should be final. | 976 | |
Method 'unregisterService' is not designed for extension - needs to be abstract, final or empty. | 1017 | |
Parameter infoAbstract should be final. | 1018 | |
Method 'unregisterAllServices' is not designed for extension - needs to be abstract, final or empty. | 1038 | |
Method 'registerServiceType' is not designed for extension - needs to be abstract, final or empty. | 1071 | |
Parameter type should be final. | 1072 | |
Avoid inline conditionals. | 1080 | |
Avoid inline conditionals. | 1080 | |
Avoid inline conditionals. | 1083 | |
Parameter info should be final. | 1131 | |
Expected @param tag for 'info'. | 1131 | |
Method 'incrementName' is not designed for extension - needs to be abstract, final or empty. | 1166 | |
Missing a Javadoc comment. | 1166 | |
Parameter name should be final. | 1166 | |
Method 'addListener' is not designed for extension - needs to be abstract, final or empty. | 1190 | |
Parameter listener should be final. | 1190 | |
Parameter question should be final. | 1190 | |
Method 'removeListener' is not designed for extension - needs to be abstract, final or empty. | 1213 | |
Parameter listener should be final. | 1213 | |
Method 'renewServiceCollector' is not designed for extension - needs to be abstract, final or empty. | 1223 | |
Parameter record should be final. | 1223 | |
Method 'updateRecord' is not designed for extension - needs to be abstract, final or empty. | 1242 | |
Parameter now should be final. | 1242 | |
Parameter rec should be final. | 1242 | |
Parameter operation should be final. | 1242 | |
Avoid nested blocks. | 1244 | |
Method 'handleRecord' is not designed for extension - needs to be abstract, final or empty. | 1318 | |
Missing a Javadoc comment. | 1318 | |
Parameter record should be final. | 1318 | |
Parameter now should be final. | 1318 | |
Method 'handleResponse' is not designed for extension - needs to be abstract, final or empty. | 1405 | |
Parameter msg should be final. | 1405 | |
Expected @param tag for 'msg'. | 1405 | |
Expected @throws tag for 'IOException'. | 1405 | |
Method 'handleQuery' is not designed for extension - needs to be abstract, final or empty. | 1435 | |
Parameter in should be final. | 1435 | |
Expected @param tag for 'in'. | 1435 | |
Parameter addr should be final. | 1435 | |
Expected @param tag for 'addr'. | 1435 | |
Parameter port should be final. | 1435 | |
Expected @param tag for 'port'. | 1435 | |
Expected @throws tag for 'IOException'. | 1435 | |
Method 'respondToQuery' is not designed for extension - needs to be abstract, final or empty. | 1473 | |
Missing a Javadoc comment. | 1473 | |
Parameter in should be final. | 1473 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 1495 | |
Parameter in should be final. | 1495 | |
Expected @param tag for 'in'. | 1495 | |
Parameter addr should be final. | 1495 | |
Expected @param tag for 'addr'. | 1495 | |
Parameter port should be final. | 1495 | |
Expected @param tag for 'port'. | 1495 | |
Parameter out should be final. | 1495 | |
Expected @param tag for 'out'. | 1495 | |
Parameter rec should be final. | 1495 | |
Expected @param tag for 'rec'. | 1495 | |
Expected @throws tag for 'IOException'. | 1495 | |
Method 'send' is not designed for extension - needs to be abstract, final or empty. | 1519 | |
Parameter out should be final. | 1519 | |
Expected @param tag for 'out'. | 1519 | |
Expected @throws tag for 'IOException'. | 1519 | |
Method 'purgeTimer' is not designed for extension - needs to be abstract, final or empty. | 1545 | |
Method 'purgeStateTimer' is not designed for extension - needs to be abstract, final or empty. | 1554 | |
Method 'cancelTimer' is not designed for extension - needs to be abstract, final or empty. | 1563 | |
Method 'cancelStateTimer' is not designed for extension - needs to be abstract, final or empty. | 1572 | |
Method 'startProber' is not designed for extension - needs to be abstract, final or empty. | 1581 | |
Method 'startAnnouncer' is not designed for extension - needs to be abstract, final or empty. | 1590 | |
Method 'startRenewer' is not designed for extension - needs to be abstract, final or empty. | 1599 | |
Method 'startCanceler' is not designed for extension - needs to be abstract, final or empty. | 1608 | |
Method 'startReaper' is not designed for extension - needs to be abstract, final or empty. | 1617 | |
Method 'startServiceInfoResolver' is not designed for extension - needs to be abstract, final or empty. | 1626 | |
Parameter info should be final. | 1627 | |
Method 'startTypeResolver' is not designed for extension - needs to be abstract, final or empty. | 1635 | |
Method 'startServiceResolver' is not designed for extension - needs to be abstract, final or empty. | 1644 | |
Parameter type should be final. | 1645 | |
Method 'startResponder' is not designed for extension - needs to be abstract, final or empty. | 1653 | |
Parameter in should be final. | 1654 | |
Parameter port should be final. | 1654 | |
Method 'run' is not designed for extension - needs to be abstract, final or empty. | 1664 | |
Missing a Javadoc comment. | 1675 | |
Method 'recover' is not designed for extension - needs to be abstract, final or empty. | 1680 | |
Method '__recover' is not designed for extension - needs to be abstract, final or empty. | 1709 | |
Missing a Javadoc comment. | 1709 | |
Name '__recover' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1709 | |
Method 'cleanCache' is not designed for extension - needs to be abstract, final or empty. | 1768 | |
Missing a Javadoc comment. | 1768 | |
Method 'close' is not designed for extension - needs to be abstract, final or empty. | 1790 | |
Method 'printServices' is not designed for extension - needs to be abstract, final or empty. | 1842 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 1851 | |
Avoid inline conditionals. | 1871 | |
Method 'list' is not designed for extension - needs to be abstract, final or empty. | 1897 | |
Parameter type should be final. | 1898 | |
Method 'list' is not designed for extension - needs to be abstract, final or empty. | 1905 | |
Parameter type should be final. | 1906 | |
Parameter timeout should be final. | 1906 | |
Avoid inline conditionals. | 1935 | |
Method 'listBySubtype' is not designed for extension - needs to be abstract, final or empty. | 1941 | |
Parameter type should be final. | 1942 | |
Method 'listBySubtype' is not designed for extension - needs to be abstract, final or empty. | 1949 | |
Parameter type should be final. | 1950 | |
Parameter timeout should be final. | 1950 | |
'5' is a magic number. | 1951 | |
'10' is a magic number. | 1955 | |
Missing a Javadoc comment. | 2015 | |
Parameter type should be final. | 2015 | |
Parameter event should be final. | 2030 | |
Avoid inline conditionals. | 2036 | |
Parameter event should be final. | 2054 | |
Parameter event should be final. | 2068 | |
Parameter timeout should be final. | 2082 | |
'200L' is a magic number. | 2084 | |
'200' is a magic number. | 2090 | |
Must have at least one statement. | 2091 | |
Missing a Javadoc comment. | 2137 | |
Parameter type should be final. | 2137 | |
Parameter qualifiedName should be final. | 2137 | |
Method 'getServices' is not designed for extension - needs to be abstract, final or empty. | 2146 | |
Missing a Javadoc comment. | 2146 | |
Method 'setLastThrottleIncrement' is not designed for extension - needs to be abstract, final or empty. | 2150 | |
Missing a Javadoc comment. | 2150 | |
Parameter lastThrottleIncrement should be final. | 2150 | |
Method 'getLastThrottleIncrement' is not designed for extension - needs to be abstract, final or empty. | 2154 | |
Missing a Javadoc comment. | 2154 | |
Method 'setThrottle' is not designed for extension - needs to be abstract, final or empty. | 2158 | |
Missing a Javadoc comment. | 2158 | |
Parameter throttle should be final. | 2158 | |
Method 'getThrottle' is not designed for extension - needs to be abstract, final or empty. | 2162 | |
Missing a Javadoc comment. | 2162 | |
Missing a Javadoc comment. | 2166 | |
Method 'ioLock' is not designed for extension - needs to be abstract, final or empty. | 2170 | |
Missing a Javadoc comment. | 2170 | |
Method 'ioUnlock' is not designed for extension - needs to be abstract, final or empty. | 2174 | |
Missing a Javadoc comment. | 2174 | |
Method 'setPlannedAnswer' is not designed for extension - needs to be abstract, final or empty. | 2178 | |
Missing a Javadoc comment. | 2178 | |
Parameter plannedAnswer should be final. | 2178 | |
Method 'getPlannedAnswer' is not designed for extension - needs to be abstract, final or empty. | 2182 | |
Missing a Javadoc comment. | 2182 | |
Method 'setLocalHost' is not designed for extension - needs to be abstract, final or empty. | 2186 | |
Missing a Javadoc comment. | 2186 | |
Parameter localHost should be final. | 2186 | |
Method 'getServiceTypes' is not designed for extension - needs to be abstract, final or empty. | 2190 | |
Missing a Javadoc comment. | 2190 | |
Method 'getSocket' is not designed for extension - needs to be abstract, final or empty. | 2194 | |
Missing a Javadoc comment. | 2194 | |
Method 'getGroup' is not designed for extension - needs to be abstract, final or empty. | 2198 | |
Missing a Javadoc comment. | 2198 | |
Method 'getDelegate' is not designed for extension - needs to be abstract, final or empty. | 2202 | |
Method 'setDelegate' is not designed for extension - needs to be abstract, final or empty. | 2207 | |
Parameter delegate should be final. | 2208 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 42 | |
Missing a Javadoc comment. | 44 | |
Missing a Javadoc comment. | 56 | |
Name '_ListenerExecutor' must match pattern '^_[a-z][a-zA-Z0-9]*$'. | 56 | |
Missing a Javadoc comment. | 58 | |
Missing a Javadoc comment. | 60 | |
'20' is a magic number. | 69 | |
Method 'close' is not designed for extension - needs to be abstract, final or empty. | 80 | |
Must have at least one statement. | 98 | |
Method 'getNames' is not designed for extension - needs to be abstract, final or empty. | 117 | |
Method 'getHostNames' is not designed for extension - needs to be abstract, final or empty. | 130 | |
Method 'getInterfaces' is not designed for extension - needs to be abstract, final or empty. | 143 | |
Method 'getServiceInfos' is not designed for extension - needs to be abstract, final or empty. | 156 | |
Parameter type should be final. | 157 | |
Parameter name should be final. | 157 | |
Method 'getServiceInfos' is not designed for extension - needs to be abstract, final or empty. | 165 | |
Parameter type should be final. | 166 | |
Parameter name should be final. | 166 | |
Parameter timeout should be final. | 166 | |
Method 'getServiceInfos' is not designed for extension - needs to be abstract, final or empty. | 174 | |
Parameter type should be final. | 175 | |
Parameter name should be final. | 175 | |
Parameter persistent should be final. | 175 | |
Method 'getServiceInfos' is not designed for extension - needs to be abstract, final or empty. | 183 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 212 | |
Parameter type should be final. | 213 | |
Parameter name should be final. | 213 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 221 | |
Parameter type should be final. | 222 | |
Parameter name should be final. | 222 | |
Parameter persistent should be final. | 222 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 230 | |
Parameter type should be final. | 231 | |
Parameter name should be final. | 231 | |
Parameter timeout should be final. | 231 | |
Method 'requestServiceInfo' is not designed for extension - needs to be abstract, final or empty. | 239 | |
Method 'addServiceTypeListener' is not designed for extension - needs to be abstract, final or empty. | 259 | |
Parameter listener should be final. | 260 | |
Method 'removeServiceTypeListener' is not designed for extension - needs to be abstract, final or empty. | 270 | |
Parameter listener should be final. | 271 | |
Method 'addServiceListener' is not designed for extension - needs to be abstract, final or empty. | 281 | |
Parameter type should be final. | 282 | |
Parameter listener should be final. | 282 | |
Method 'removeServiceListener' is not designed for extension - needs to be abstract, final or empty. | 292 | |
Parameter type should be final. | 293 | |
Parameter listener should be final. | 293 | |
Method 'textValueUpdated' is not designed for extension - needs to be abstract, final or empty. | 303 | |
Parameter target should be final. | 304 | |
Parameter value should be final. | 304 | |
Method 'registerService' is not designed for extension - needs to be abstract, final or empty. | 321 | |
Parameter info should be final. | 322 | |
Method 'unregisterService' is not designed for extension - needs to be abstract, final or empty. | 337 | |
Parameter info should be final. | 338 | |
Method 'unregisterAllServices' is not designed for extension - needs to be abstract, final or empty. | 352 | |
Method 'registerServiceType' is not designed for extension - needs to be abstract, final or empty. | 366 | |
Parameter type should be final. | 367 | |
Method 'list' is not designed for extension - needs to be abstract, final or empty. | 377 | |
Parameter type should be final. | 378 | |
Method 'list' is not designed for extension - needs to be abstract, final or empty. | 386 | |
Method 'listBySubtype' is not designed for extension - needs to be abstract, final or empty. | 415 | |
Parameter type should be final. | 416 | |
Method 'listBySubtype' is not designed for extension - needs to be abstract, final or empty. | 424 | |
'5' is a magic number. | 426 | |
'10' is a magic number. | 430 | |
Method 'addNetworkTopologyListener' is not designed for extension - needs to be abstract, final or empty. | 448 | |
Parameter listener should be final. | 449 | |
Method 'removeNetworkTopologyListener' is not designed for extension - needs to be abstract, final or empty. | 457 | |
Parameter listener should be final. | 458 | |
Method 'networkListeners' is not designed for extension - needs to be abstract, final or empty. | 466 | |
Method 'inetAddressAdded' is not designed for extension - needs to be abstract, final or empty. | 475 | |
Parameter event should be final. | 476 | |
Method 'inetAddressRemoved' is not designed for extension - needs to be abstract, final or empty. | 505 | |
Parameter event should be final. | 506 | |
Missing a Javadoc comment. | 537 | |
Missing a Javadoc comment. | 539 | |
Missing a Javadoc comment. | 541 | |
Missing a Javadoc comment. | 543 | |
Missing a Javadoc comment. | 545 | |
Parameter mmDNS should be final. | 545 | |
Parameter topology should be final. | 545 | |
Missing a Javadoc comment. | 552 | |
Parameter timer should be final. | 552 |
Violation | Message | Line |
---|---|---|
Unused import - javax.jmdns.JmDNS. | 11 | |
Missing a Javadoc comment. | 26 | |
Missing a Javadoc comment. | 27 | |
Missing a Javadoc comment. | 29 | |
Parameter listener should be final. | 37 | |
Parameter synch should be final. | 37 | |
'32' is a magic number. | 39 | |
Method 'serviceAdded' is not designed for extension - needs to be abstract, final or empty. | 57 | |
Parameter event should be final. | 57 | |
Method 'serviceRemoved' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Parameter event should be final. | 76 | |
Method 'serviceResolved' is not designed for extension - needs to be abstract, final or empty. | 92 | |
Parameter event should be final. | 92 | |
Missing a Javadoc comment. | 116 | |
Redundant 'final' modifier. | 116 | |
Name '_sameInfo' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 116 | |
Parameter info should be final. | 116 | |
Parameter lastInfo should be final. | 116 | |
'if' construct must use '{}'s. | 117 | |
'if' construct must use '{}'s. | 118 | |
'if' construct must use '{}'s. | 119 | |
'if' construct must use '{}'s. | 122 | |
'if' construct must use '{}'s. | 124 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 133 | |
'2048' is a magic number. | 135 | |
Missing a Javadoc comment. | 153 | |
Missing a Javadoc comment. | 154 | |
Missing a Javadoc comment. | 156 | |
Parameter listener should be final. | 164 | |
Parameter synch should be final. | 164 | |
'32' is a magic number. | 166 | |
Method 'serviceTypeAdded' is not designed for extension - needs to be abstract, final or empty. | 175 | |
Parameter event should be final. | 175 | |
Method 'subTypeForServiceTypeAdded' is not designed for extension - needs to be abstract, final or empty. | 193 | |
Parameter event should be final. | 193 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 205 | |
'2048' is a magic number. | 207 | |
Missing a Javadoc comment. | 225 | |
'static' modifier out of order with the JLS suggestions. | 225 | |
Missing a Javadoc comment. | 226 | |
'static' modifier out of order with the JLS suggestions. | 226 | |
Missing a Javadoc comment. | 228 | |
Missing a Javadoc comment. | 230 | |
Parameter listener should be final. | 238 | |
Parameter synch should be final. | 238 | |
Method 'getListener' is not designed for extension - needs to be abstract, final or empty. | 247 | |
Extra HTML tag found: </code> if the listener must be called synchronously. | 252 | |
Method 'isSynchronous' is not designed for extension - needs to be abstract, final or empty. | 256 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 264 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 273 | |
Parameter obj should be final. | 274 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 282 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 17 | |
First sentence should end with a period. | 21 | |
Missing a Javadoc comment. | 27 | |
Parameter networkInterface should be final. | 34 | |
Parameter name should be final. | 34 | |
Parameter type should be final. | 34 | |
Method 'checkName' is not designed for extension - needs to be abstract, final or empty. | 43 | |
Parameter networkInterface should be final. | 44 | |
Parameter name should be final. | 44 | |
Parameter type should be final. | 44 | |
Method 'incrementHostName' is not designed for extension - needs to be abstract, final or empty. | 53 | |
Parameter networkInterface should be final. | 54 | |
Parameter name should be final. | 54 | |
Parameter type should be final. | 54 | |
Missing a Javadoc comment. | 61 | |
Parameter networkInterface should be final. | 68 | |
Parameter name should be final. | 68 | |
Parameter type should be final. | 68 | |
Method 'checkName' is not designed for extension - needs to be abstract, final or empty. | 77 | |
Parameter networkInterface should be final. | 78 | |
Parameter name should be final. | 78 | |
Parameter type should be final. | 78 | |
Method 'incrementHostName' is not designed for extension - needs to be abstract, final or empty. | 87 | |
Parameter networkInterface should be final. | 88 | |
Parameter name should be final. | 88 | |
Parameter type should be final. | 88 | |
Missing a Javadoc comment. | 95 | |
Utility classes should not have a public or default constructor. | 95 | |
Missing a Javadoc comment. | 97 | |
Name '_register' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 97 | |
Parameter register should be final. | 107 | |
Redundant throws: 'IllegalStateException' is unchecked exception. | 107 | |
Redundant 'public' modifier. | 140 | |
Redundant 'public' modifier. | 153 | |
Redundant 'public' modifier. | 166 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 24 | |
'static' modifier out of order with the JLS suggestions. | 24 | |
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 24 | |
Missing a Javadoc comment. | 26 | |
Missing a Javadoc comment. | 28 | |
Method 'getInetAddresses' is not designed for extension - needs to be abstract, final or empty. | 57 | |
Method 'useInetAddress' is not designed for extension - needs to be abstract, final or empty. | 84 | |
Parameter networkInterface should be final. | 85 | |
Parameter interfaceAddress should be final. | 85 | |
Must have at least one statement. | 92 | |
Must have at least one statement. | 101 | |
Parameter interfaceAddress should be final. | 119 | |
Parameter interfaceAddress should be final. | 128 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 22 | |
Unused @throws tag for 'IllegalArgumentException'. | 29 | |
Parameter jmDNS should be final. | 32 | |
Expected @param tag for 'jmDNS'. | 32 | |
Parameter inetAddress should be final. | 32 | |
Expected @param tag for 'inetAddress'. | 32 | |
Missing a Javadoc comment. | 37 | |
Parameter jmmDNS should be final. | 37 | |
Parameter inetAddress should be final. | 37 | |
Method 'getDNS' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Avoid inline conditionals. | 48 | |
Method 'getInetAddress' is not designed for extension - needs to be abstract, final or empty. | 55 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 60 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 77 |
Violation | Message | Line |
---|---|---|
Parameter jmDNS should be final. | 50 | |
Parameter type should be final. | 50 | |
Parameter name should be final. | 50 | |
Parameter info should be final. | 50 | |
Method 'getDNS' is not designed for extension - needs to be abstract, final or empty. | 61 | |
Method 'getType' is not designed for extension - needs to be abstract, final or empty. | 70 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 79 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 88 | |
Method 'getInfo' is not designed for extension - needs to be abstract, final or empty. | 109 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 118 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 43 | |
Missing a Javadoc comment. | 45 | |
Missing a Javadoc comment. | 46 | |
Missing a Javadoc comment. | 47 | |
Missing a Javadoc comment. | 48 | |
Missing a Javadoc comment. | 49 | |
Missing a Javadoc comment. | 50 | |
Missing a Javadoc comment. | 51 | |
Missing a Javadoc comment. | 52 | |
Missing a Javadoc comment. | 53 | |
Missing a Javadoc comment. | 54 | |
Array brackets at illegal position. | 54 | |
Missing a Javadoc comment. | 55 | |
Missing a Javadoc comment. | 56 | |
Missing a Javadoc comment. | 57 | |
Missing a Javadoc comment. | 59 | |
Missing a Javadoc comment. | 61 | |
Missing a Javadoc comment. | 62 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 66 | |
Missing a Javadoc comment. | 68 | |
Missing a Javadoc comment. | 70 | |
Redundant 'public' modifier. | 70 | |
Missing a Javadoc comment. | 74 | |
'static' modifier out of order with the JLS suggestions. | 74 | |
Missing a Javadoc comment. | 76 | |
Missing a Javadoc comment. | 78 | |
Parameter info should be final. | 83 | |
Expected @param tag for 'info'. | 83 | |
Parameter task should be final. | 89 | |
Parameter dns should be final. | 110 | |
More than 7 parameters. | 127 | |
Parameter type should be final. | 127 | |
Expected @param tag for 'type'. | 127 | |
Parameter name should be final. | 127 | |
Expected @param tag for 'name'. | 127 | |
Parameter subtype should be final. | 127 | |
Expected @param tag for 'subtype'. | 127 | |
Parameter port should be final. | 127 | |
Expected @param tag for 'port'. | 127 | |
Parameter weight should be final. | 127 | |
Expected @param tag for 'weight'. | 127 | |
Parameter priority should be final. | 127 | |
Expected @param tag for 'priority'. | 127 | |
Parameter persistent should be final. | 127 | |
Expected @param tag for 'persistent'. | 127 | |
Parameter text should be final. | 127 | |
Expected @param tag for 'text'. | 127 | |
More than 7 parameters. | 150 | |
Parameter type should be final. | 150 | |
Expected @param tag for 'type'. | 150 | |
Parameter name should be final. | 150 | |
Expected @param tag for 'name'. | 150 | |
Parameter subtype should be final. | 150 | |
Expected @param tag for 'subtype'. | 150 | |
Parameter port should be final. | 150 | |
Expected @param tag for 'port'. | 150 | |
Parameter weight should be final. | 150 | |
Expected @param tag for 'weight'. | 150 | |
Parameter priority should be final. | 150 | |
Expected @param tag for 'priority'. | 150 | |
Parameter persistent should be final. | 150 | |
Expected @param tag for 'persistent'. | 150 | |
Parameter props should be final. | 150 | |
Expected @param tag for 'props'. | 150 | |
More than 7 parameters. | 165 | |
Parameter type should be final. | 165 | |
Expected @param tag for 'type'. | 165 | |
Parameter name should be final. | 165 | |
Expected @param tag for 'name'. | 165 | |
Parameter subtype should be final. | 165 | |
Expected @param tag for 'subtype'. | 165 | |
Parameter port should be final. | 165 | |
Expected @param tag for 'port'. | 165 | |
Parameter weight should be final. | 165 | |
Expected @param tag for 'weight'. | 165 | |
Parameter priority should be final. | 165 | |
Expected @param tag for 'priority'. | 165 | |
Parameter persistent should be final. | 165 | |
Expected @param tag for 'persistent'. | 165 | |
Parameter text should be final. | 165 | |
Expected @param tag for 'text'. | 165 | |
Array brackets at illegal position. | 165 | |
Missing a Javadoc comment. | 169 | |
Parameter qualifiedNameMap should be final. | 169 | |
Parameter port should be final. | 169 | |
Parameter weight should be final. | 169 | |
Parameter priority should be final. | 169 | |
Parameter persistent should be final. | 169 | |
Parameter props should be final. | 169 | |
Missing a Javadoc comment. | 173 | |
Parameter qualifiedNameMap should be final. | 173 | |
Parameter port should be final. | 173 | |
Parameter weight should be final. | 173 | |
Parameter priority should be final. | 173 | |
Parameter persistent should be final. | 173 | |
Parameter text should be final. | 173 | |
Missing a Javadoc comment. | 185 | |
Parameter qualifiedNameMap should be final. | 185 | |
Parameter port should be final. | 185 | |
Parameter weight should be final. | 185 | |
Parameter priority should be final. | 185 | |
Parameter persistent should be final. | 185 | |
Parameter text should be final. | 185 | |
Array brackets at illegal position. | 185 | |
First sentence should end with a period. | 205 | |
Parameter info should be final. | 210 | |
Expected @param tag for 'info'. | 210 | |
Missing a Javadoc comment. | 236 | |
Parameter type should be final. | 236 | |
Parameter name should be final. | 236 | |
Parameter subtype should be final. | 236 | |
Missing a Javadoc comment. | 245 | |
Parameter type should be final. | 245 | |
Avoid inline conditionals. | 258 | |
Avoid inline conditionals. | 290 | |
'5' is a magic number. | 296 | |
Missing a Javadoc comment. | 312 | |
Parameter qualifiedNameMap should be final. | 312 | |
'5' is a magic number. | 313 | |
Avoid inline conditionals. | 316 | |
Avoid inline conditionals. | 323 | |
Avoid inline conditionals. | 330 | |
Avoid inline conditionals. | 337 | |
Avoid inline conditionals. | 345 | |
Missing a Javadoc comment. | 355 | |
Parameter name should be final. | 355 | |
Method 'getType' is not designed for extension - needs to be abstract, final or empty. | 375 | |
Avoid inline conditionals. | 380 | |
Avoid inline conditionals. | 380 | |
Method 'getTypeWithSubtype' is not designed for extension - needs to be abstract, final or empty. | 386 | |
Avoid inline conditionals. | 389 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 395 | |
Avoid inline conditionals. | 397 | |
Method 'getKey' is not designed for extension - needs to be abstract, final or empty. | 403 | |
Method 'setName' is not designed for extension - needs to be abstract, final or empty. | 417 | |
Parameter name should be final. | 417 | |
Method 'getQualifiedName' is not designed for extension - needs to be abstract, final or empty. | 425 | |
Avoid inline conditionals. | 434 | |
Avoid inline conditionals. | 434 | |
Avoid inline conditionals. | 434 | |
Expected an @return tag. | 440 | |
Method 'getServer' is not designed for extension - needs to be abstract, final or empty. | 440 | |
Avoid inline conditionals. | 442 | |
Method 'setServer' is not designed for extension - needs to be abstract, final or empty. | 449 | |
Parameter server should be final. | 449 | |
Method 'getHostAddress' is not designed for extension - needs to be abstract, final or empty. | 456 | |
Avoid inline conditionals. | 460 | |
Method 'getHostAddresses' is not designed for extension - needs to be abstract, final or empty. | 466 | |
Method 'addAddress' is not designed for extension - needs to be abstract, final or empty. | 484 | |
Parameter addr should be final. | 484 | |
Method 'addAddress' is not designed for extension - needs to be abstract, final or empty. | 492 | |
Parameter addr should be final. | 492 | |
Method 'getAddress' is not designed for extension - needs to be abstract, final or empty. | 499 | |
Method 'getInetAddress' is not designed for extension - needs to be abstract, final or empty. | 508 | |
Avoid inline conditionals. | 512 | |
Method 'getInet4Address' is not designed for extension - needs to be abstract, final or empty. | 518 | |
Avoid inline conditionals. | 522 | |
Method 'getInet6Address' is not designed for extension - needs to be abstract, final or empty. | 528 | |
Avoid inline conditionals. | 532 | |
Method 'getInetAddresses' is not designed for extension - needs to be abstract, final or empty. | 539 | |
Method 'getInet4Addresses' is not designed for extension - needs to be abstract, final or empty. | 551 | |
Method 'getInet6Addresses' is not designed for extension - needs to be abstract, final or empty. | 560 | |
Expected an @return tag. | 568 | |
Method 'getPort' is not designed for extension - needs to be abstract, final or empty. | 568 | |
Expected an @return tag. | 576 | |
Method 'getPriority' is not designed for extension - needs to be abstract, final or empty. | 576 | |
Expected an @return tag. | 584 | |
Method 'getWeight' is not designed for extension - needs to be abstract, final or empty. | 584 | |
Expected an @return tag. | 592 | |
Method 'getTextBytes' is not designed for extension - needs to be abstract, final or empty. | 592 | |
Avoid inline conditionals. | 594 | |
Method 'getTextString' is not designed for extension - needs to be abstract, final or empty. | 600 | |
Method 'getURL' is not designed for extension - needs to be abstract, final or empty. | 618 | |
Method 'getURLs' is not designed for extension - needs to be abstract, final or empty. | 628 | |
Method 'getURL' is not designed for extension - needs to be abstract, final or empty. | 637 | |
Parameter protocol should be final. | 639 | |
Avoid inline conditionals. | 641 | |
Method 'getURLs' is not designed for extension - needs to be abstract, final or empty. | 648 | |
Parameter protocol should be final. | 649 | |
Avoid inline conditionals. | 659 | |
Method 'getPropertyBytes' is not designed for extension - needs to be abstract, final or empty. | 670 | |
Parameter name should be final. | 671 | |
Method 'getPropertyString' is not designed for extension - needs to be abstract, final or empty. | 678 | |
Parameter name should be final. | 679 | |
Array brackets at illegal position. | 680 | |
Method 'getPropertyNames' is not designed for extension - needs to be abstract, final or empty. | 693 | |
Avoid inline conditionals. | 696 | |
Method 'getApplication' is not designed for extension - needs to be abstract, final or empty. | 703 | |
Avoid inline conditionals. | 705 | |
Method 'getDomain' is not designed for extension - needs to be abstract, final or empty. | 711 | |
Avoid inline conditionals. | 713 | |
Method 'getProtocol' is not designed for extension - needs to be abstract, final or empty. | 719 | |
Avoid inline conditionals. | 721 | |
Method 'getSubtype' is not designed for extension - needs to be abstract, final or empty. | 727 | |
Avoid inline conditionals. | 729 | |
Method 'getQualifiedNameMap' is not designed for extension - needs to be abstract, final or empty. | 735 | |
'5' is a magic number. | 737 | |
Parameter out should be final. | 750 | |
Expected @param tag for 'out'. | 750 | |
Parameter str should be final. | 750 | |
Expected @param tag for 'str'. | 750 | |
Expected @throws tag for 'IOException'. | 750 | |
'0x007F' is a magic number. | 753 | |
'0x07FF' is a magic number. | 756 | |
'0xE0' is a magic number. | 757 | |
'12' is a magic number. | 757 | |
'0x0F' is a magic number. | 757 | |
'0x80' is a magic number. | 758 | |
'6' is a magic number. | 758 | |
'0x3F' is a magic number. | 758 | |
'0x80' is a magic number. | 759 | |
'0x3F' is a magic number. | 759 | |
'0xC0' is a magic number. | 761 | |
'6' is a magic number. | 761 | |
'0x1F' is a magic number. | 761 | |
'0x80' is a magic number. | 762 | |
'0x3F' is a magic number. | 762 | |
Expected an @return tag. | 771 | |
Method 'readUTF' is not designed for extension - needs to be abstract, final or empty. | 771 | |
Parameter data should be final. | 771 | |
Expected @param tag for 'data'. | 771 | |
Array brackets at illegal position. | 771 | |
Parameter off should be final. | 771 | |
Expected @param tag for 'off'. | 771 | |
Parameter len should be final. | 771 | |
Expected @param tag for 'len'. | 771 | |
'0xFF' is a magic number. | 775 | |
'4' is a magic number. | 776 | |
'3' is a magic number. | 780 | |
'4' is a magic number. | 781 | |
'5' is a magic number. | 782 | |
'6' is a magic number. | 783 | |
'7' is a magic number. | 784 | |
'12' is a magic number. | 787 | |
'13' is a magic number. | 788 | |
'0x1F' is a magic number. | 793 | |
'6' is a magic number. | 793 | |
'0x3F' is a magic number. | 793 | |
'14' is a magic number. | 795 | |
'0x0f' is a magic number. | 800 | |
'12' is a magic number. | 800 | |
'0x3F' is a magic number. | 800 | |
'6' is a magic number. | 800 | |
'0x3F' is a magic number. | 800 | |
'0x3F' is a magic number. | 807 | |
'4' is a magic number. | 807 | |
'0x0f' is a magic number. | 807 | |
Method 'getProperties' is not designed for extension - needs to be abstract, final or empty. | 815 | |
Missing a Javadoc comment. | 815 | |
'0xFF' is a magic number. | 822 | |
Must have at least one statement. | 829 | |
Array brackets at illegal position. | 842 | |
Avoid inline conditionals. | 854 | |
Method 'updateRecord' is not designed for extension - needs to be abstract, final or empty. | 864 | |
Parameter dnsCache should be final. | 865 | |
Expected @param tag for 'dnsCache'. | 865 | |
Parameter now should be final. | 865 | |
Expected @param tag for 'now'. | 865 | |
Parameter rec should be final. | 865 | |
Expected @param tag for 'rec'. | 865 | |
Method 'hasData' is not designed for extension - needs to be abstract, final or empty. | 940 | |
Missing a Javadoc comment. | 946 | |
Redundant 'final' modifier. | 946 | |
Method 'advanceState' is not designed for extension - needs to be abstract, final or empty. | 955 | |
Parameter task should be final. | 956 | |
Method 'revertState' is not designed for extension - needs to be abstract, final or empty. | 963 | |
Method 'cancelState' is not designed for extension - needs to be abstract, final or empty. | 971 | |
Method 'closeState' is not designed for extension - needs to be abstract, final or empty. | 979 | |
Method 'recoverState' is not designed for extension - needs to be abstract, final or empty. | 987 | |
Method 'removeAssociationWithTask' is not designed for extension - needs to be abstract, final or empty. | 995 | |
Parameter task should be final. | 996 | |
Method 'associateWithTask' is not designed for extension - needs to be abstract, final or empty. | 1003 | |
Parameter task should be final. | 1004 | |
Parameter state should be final. | 1004 | |
Method 'isAssociatedWithTask' is not designed for extension - needs to be abstract, final or empty. | 1011 | |
Parameter task should be final. | 1012 | |
Parameter state should be final. | 1012 | |
Method 'isProbing' is not designed for extension - needs to be abstract, final or empty. | 1019 | |
Method 'isAnnouncing' is not designed for extension - needs to be abstract, final or empty. | 1027 | |
Method 'isAnnounced' is not designed for extension - needs to be abstract, final or empty. | 1035 | |
Method 'isCanceling' is not designed for extension - needs to be abstract, final or empty. | 1043 | |
Method 'isCanceled' is not designed for extension - needs to be abstract, final or empty. | 1051 | |
Method 'isClosing' is not designed for extension - needs to be abstract, final or empty. | 1059 | |
Method 'isClosed' is not designed for extension - needs to be abstract, final or empty. | 1067 | |
Method 'waitForAnnounced' is not designed for extension - needs to be abstract, final or empty. | 1075 | |
Parameter timeout should be final. | 1076 | |
Method 'waitForCanceled' is not designed for extension - needs to be abstract, final or empty. | 1083 | |
Parameter timeout should be final. | 1084 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 1091 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 1099 | |
Parameter obj should be final. | 1100 | |
Method 'getNiceTextString' is not designed for extension - needs to be abstract, final or empty. | 1107 | |
'200' is a magic number. | 1111 | |
'0xFF' is a magic number. | 1115 | |
'127' is a magic number. | 1116 | |
'8' is a magic number. | 1118 | |
Method 'clone' is not designed for extension - needs to be abstract, final or empty. | 1130 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 1147 | |
Avoid inline conditionals. | 1152 | |
Avoid inline conditionals. | 1168 | |
Avoid inline conditionals. | 1170 | |
Method 'answers' is not designed for extension - needs to be abstract, final or empty. | 1189 | |
Missing a Javadoc comment. | 1189 | |
Parameter unique should be final. | 1189 | |
Parameter ttl should be final. | 1189 | |
Parameter localHost should be final. | 1189 | |
Method 'setText' is not designed for extension - needs to be abstract, final or empty. | 1203 | |
Parameter text should be final. | 1204 | |
Redundant throws: 'IllegalStateException' is unchecked exception. | 1204 | |
Method 'setText' is not designed for extension - needs to be abstract, final or empty. | 1215 | |
Parameter props should be final. | 1216 | |
Redundant throws: 'IllegalStateException' is unchecked exception. | 1216 | |
First sentence should end with a period. | 1220 | |
Method '_setText' is not designed for extension - needs to be abstract, final or empty. | 1225 | |
Name '_setText' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1225 | |
Parameter text should be final. | 1225 | |
Expected @param tag for 'text'. | 1225 | |
Missing a Javadoc comment. | 1230 | |
Parameter props should be final. | 1230 | |
'256' is a magic number. | 1234 | |
'100' is a magic number. | 1237 | |
Must have at least one statement. | 1239 | |
Array brackets at illegal position. | 1255 | |
'255' is a magic number. | 1256 | |
Avoid inline conditionals. | 1257 | |
Avoid inline conditionals. | 1267 | |
Method 'setDns' is not designed for extension - needs to be abstract, final or empty. | 1270 | |
Missing a Javadoc comment. | 1270 | |
Parameter dns should be final. | 1270 | |
Method 'getDns' is not designed for extension - needs to be abstract, final or empty. | 1277 | |
Method 'isPersistent' is not designed for extension - needs to be abstract, final or empty. | 1285 | |
Method 'setNeedTextAnnouncing' is not designed for extension - needs to be abstract, final or empty. | 1294 | |
Parameter needTextAnnouncing should be final. | 1294 | |
Method 'needTextAnnouncing' is not designed for extension - needs to be abstract, final or empty. | 1304 | |
Method 'getDelegate' is not designed for extension - needs to be abstract, final or empty. | 1311 | |
Method 'setDelegate' is not designed for extension - needs to be abstract, final or empty. | 1319 | |
Parameter delegate should be final. | 1319 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 18 | |
Variable 'logger' must be private and have accessor methods. | 18 | |
Parameter jmDNSImpl should be final. | 28 | |
Expected @param tag for 'jmDNSImpl'. | 28 | |
Avoid inline conditionals. | 29 | |
Array brackets at illegal position. | 37 | |
Missing a Javadoc comment. | 77 |
Violation | Message | Line |
---|---|---|
Utility classes should not have a public or default constructor. | 12 | |
Missing a Javadoc comment. | 16 | |
Missing a Javadoc comment. | 17 | |
Missing a Javadoc comment. | 18 | |
Missing a Javadoc comment. | 19 | |
Missing a Javadoc comment. | 20 | |
Missing a Javadoc comment. | 23 | |
Missing a Javadoc comment. | 24 | |
Missing a Javadoc comment. | 26 | |
Missing a Javadoc comment. | 27 | |
Missing a Javadoc comment. | 28 | |
Missing a Javadoc comment. | 30 | |
Missing a Javadoc comment. | 31 | |
Missing a Javadoc comment. | 32 | |
Missing a Javadoc comment. | 33 | |
Missing a Javadoc comment. | 35 | |
Missing a Javadoc comment. | 36 | |
Missing a Javadoc comment. | 37 | |
Missing a Javadoc comment. | 41 | |
Missing a Javadoc comment. | 42 | |
Missing a Javadoc comment. | 43 | |
Missing a Javadoc comment. | 44 | |
Missing a Javadoc comment. | 45 | |
Missing a Javadoc comment. | 46 | |
Missing a Javadoc comment. | 47 | |
Missing a Javadoc comment. | 48 | |
Missing a Javadoc comment. | 49 | |
Missing a Javadoc comment. | 50 | |
Missing a Javadoc comment. | 51 | |
Missing a Javadoc comment. | 52 | |
Missing a Javadoc comment. | 53 | |
Missing a Javadoc comment. | 55 | |
Missing a Javadoc comment. | 56 | |
Missing a Javadoc comment. | 58 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 16 | |
First sentence should end with a period. | 20 | |
First sentence should end with a period. | 24 | |
First sentence should end with a period. | 29 | |
Missing a Javadoc comment. | 33 | |
Missing a Javadoc comment. | 35 | |
Missing a Javadoc comment. | 37 | |
Missing a Javadoc comment. | 39 | |
Parameter name should be final. | 39 | |
Parameter index should be final. | 39 | |
First sentence should end with a period. | 44 | |
First sentence should end with a period. | 53 | |
Parameter index should be final. | 66 | |
Expected @param tag for 'index'. | 66 | |
'if' construct must use '{}'s. | 69 | |
Parameter index should be final. | 78 | |
Expected @param tag for 'index'. | 78 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 12 | |
First sentence should end with a period. | 16 | |
First sentence should end with a period. | 20 | |
First sentence should end with a period. | 24 | |
First sentence should end with a period. | 28 | |
First sentence should end with a period. | 32 | |
First sentence should end with a period. | 37 | |
Name 'OpCode_MASK' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 40 | |
Missing a Javadoc comment. | 42 | |
Missing a Javadoc comment. | 44 | |
Missing a Javadoc comment. | 46 | |
Parameter name should be final. | 46 | |
Parameter index should be final. | 46 | |
First sentence should end with a period. | 51 | |
First sentence should end with a period. | 60 | |
Parameter flags should be final. | 73 | |
Expected @param tag for 'flags'. | 73 | |
'11' is a magic number. | 74 | |
'if' construct must use '{}'s. | 76 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 13 | |
First sentence should end with a period. | 17 | |
First sentence should end with a period. | 21 | |
First sentence should end with a period. | 25 | |
First sentence should end with a period. | 29 | |
Missing a Javadoc comment. | 34 | |
Missing a Javadoc comment. | 36 | |
Missing a Javadoc comment. | 38 | |
Parameter name should be final. | 38 | |
Parameter index should be final. | 38 | |
First sentence should end with a period. | 43 | |
First sentence should end with a period. | 52 | |
Parameter optioncode should be final. | 65 | |
Expected @param tag for 'optioncode'. | 65 | |
'if' construct must use '{}'s. | 68 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 9 | |
First sentence should end with a period. | 19 | |
First sentence should end with a period. | 23 | |
First sentence should end with a period. | 27 | |
First sentence should end with a period. | 31 | |
First sentence should end with a period. | 35 | |
First sentence should end with a period. | 39 | |
Missing a Javadoc comment. | 44 | |
Missing a Javadoc comment. | 68 | |
Missing a Javadoc comment. | 70 | |
Missing a Javadoc comment. | 72 | |
Parameter name should be final. | 72 | |
Parameter index should be final. | 72 | |
First sentence should end with a period. | 77 | |
First sentence should end with a period. | 86 | |
First sentence should end with a period. | 95 | |
Parameter index should be final. | 101 | |
Expected @param tag for 'index'. | 101 | |
Parameter name should be final. | 109 | |
Expected @param tag for 'name'. | 109 | |
'if' construct must use '{}'s. | 113 | |
Parameter index should be final. | 124 | |
Expected @param tag for 'index'. | 124 | |
'if' construct must use '{}'s. | 127 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 8 | |
First sentence should end with a period. | 14 | |
First sentence should end with a period. | 18 | |
First sentence should end with a period. | 22 | |
First sentence should end with a period. | 26 | |
First sentence should end with a period. | 30 | |
First sentence should end with a period. | 34 | |
First sentence should end with a period. | 38 | |
First sentence should end with a period. | 42 | |
First sentence should end with a period. | 46 | |
First sentence should end with a period. | 50 | |
First sentence should end with a period. | 54 | |
First sentence should end with a period. | 58 | |
First sentence should end with a period. | 62 | |
First sentence should end with a period. | 66 | |
First sentence should end with a period. | 70 | |
First sentence should end with a period. | 74 | |
First sentence should end with a period. | 78 | |
First sentence should end with a period. | 82 | |
First sentence should end with a period. | 86 | |
First sentence should end with a period. | 90 | |
First sentence should end with a period. | 94 | |
First sentence should end with a period. | 98 | |
First sentence should end with a period. | 102 | |
First sentence should end with a period. | 110 | |
First sentence should end with a period. | 114 | |
First sentence should end with a period. | 118 | |
First sentence should end with a period. | 122 | |
First sentence should end with a period. | 126 | |
First sentence should end with a period. | 130 | |
First sentence should end with a period. | 134 | |
First sentence should end with a period. | 138 | |
First sentence should end with a period. | 142 | |
First sentence should end with a period. | 146 | |
First sentence should end with a period. | 150 | |
First sentence should end with a period. | 154 | |
First sentence should end with a period. | 158 | |
First sentence should end with a period. | 162 | |
First sentence should end with a period. | 166 | |
First sentence should end with a period. | 170 | |
First sentence should end with a period. | 174 | |
First sentence should end with a period. | 178 | |
First sentence should end with a period. | 182 | |
First sentence should end with a period. | 186 | |
First sentence should end with a period. | 190 | |
First sentence should end with a period. | 194 | |
First sentence should end with a period. | 198 | |
First sentence should end with a period. | 202 | |
First sentence should end with a period. | 206 | |
First sentence should end with a period. | 210 | |
First sentence should end with a period. | 214 | |
First sentence should end with a period. | 218 | |
First sentence should end with a period. | 222 | |
First sentence should end with a period. | 226 | |
First sentence should end with a period. | 230 | |
First sentence should end with a period. | 234 | |
First sentence should end with a period. | 238 | |
First sentence should end with a period. | 242 | |
First sentence should end with a period. | 246 | |
Missing a Javadoc comment. | 251 | |
Missing a Javadoc comment. | 253 | |
Missing a Javadoc comment. | 255 | |
Missing a Javadoc comment. | 257 | |
Parameter name should be final. | 257 | |
Parameter index should be final. | 257 | |
First sentence should end with a period. | 262 | |
First sentence should end with a period. | 271 | |
Parameter name should be final. | 284 | |
Expected @param tag for 'name'. | 284 | |
'if' construct must use '{}'s. | 288 | |
Parameter index should be final. | 299 | |
Expected @param tag for 'index'. | 299 | |
'if' construct must use '{}'s. | 301 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 12 | |
First sentence should end with a period. | 16 | |
First sentence should end with a period. | 20 | |
First sentence should end with a period. | 24 | |
First sentence should end with a period. | 28 | |
First sentence should end with a period. | 32 | |
First sentence should end with a period. | 36 | |
First sentence should end with a period. | 40 | |
First sentence should end with a period. | 44 | |
First sentence should end with a period. | 48 | |
First sentence should end with a period. | 52 | |
First sentence should end with a period. | 56 | |
';' is preceded with whitespace. | 61 | |
First sentence should end with a period. | 88 | |
'static' modifier out of order with the JLS suggestions. | 91 | |
Name 'RCode_MASK' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 91 | |
First sentence should end with a period. | 92 | |
'static' modifier out of order with the JLS suggestions. | 95 | |
Name 'ExtendedRCode_MASK' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 95 | |
Missing a Javadoc comment. | 97 | |
Missing a Javadoc comment. | 99 | |
Missing a Javadoc comment. | 101 | |
Parameter name should be final. | 101 | |
Parameter index should be final. | 101 | |
First sentence should end with a period. | 106 | |
First sentence should end with a period. | 115 | |
Parameter flags should be final. | 128 | |
Expected @param tag for 'flags'. | 128 | |
'if' construct must use '{}'s. | 131 | |
Missing a Javadoc comment. | 136 | |
Parameter flags should be final. | 136 | |
Parameter extendedRCode should be final. | 136 | |
'28' is a magic number. | 137 | |
'if' construct must use '{}'s. | 139 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 63 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 64 | |
Missing a Javadoc comment. | 69 | |
Missing a Javadoc comment. | 71 | |
Missing a Javadoc comment. | 73 | |
Parameter name should be final. | 73 | |
Parameter state should be final. | 73 |
Violation | Message | Line |
---|---|---|
Parameter jmDNSImpl should be final. | 30 | |
Expected @param tag for 'jmDNSImpl'. | 30 | |
Method 'getDns' is not designed for extension - needs to be abstract, final or empty. | 40 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 63 | |
Method 'addQuestion' is not designed for extension - needs to be abstract, final or empty. | 78 | |
Parameter out should be final. | 78 | |
Parameter rec should be final. | 78 | |
Expected @throws tag for 'IOException'. | 78 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 110 | |
Parameter out should be final. | 110 | |
Parameter in should be final. | 110 | |
Parameter rec should be final. | 110 | |
Expected @throws tag for 'IOException'. | 110 | |
Method 'addAnswer' is not designed for extension - needs to be abstract, final or empty. | 141 | |
Parameter out should be final. | 141 | |
Parameter rec should be final. | 141 | |
Parameter now should be final. | 141 | |
Expected @param tag for 'now'. | 141 | |
Expected @throws tag for 'IOException'. | 141 | |
Method 'addAuthoritativeAnswer' is not designed for extension - needs to be abstract, final or empty. | 171 | |
Parameter out should be final. | 171 | |
Parameter rec should be final. | 171 | |
Expected @throws tag for 'IOException'. | 171 | |
Method 'addAdditionalAnswer' is not designed for extension - needs to be abstract, final or empty. | 203 | |
Parameter out should be final. | 203 | |
Parameter in should be final. | 203 | |
Parameter rec should be final. | 203 | |
Expected @throws tag for 'IOException'. | 203 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 18 | |
Variable 'logger' must be private and have accessor methods. | 18 | |
Parameter jmDNSImpl should be final. | 23 | |
Expected @param tag for 'jmDNSImpl'. | 23 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 31 | |
Avoid inline conditionals. | 33 | |
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 40 | |
Parameter timer should be final. | 41 | |
Method 'run' is not designed for extension - needs to be abstract, final or empty. | 47 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 24 | |
Variable 'logger' must be private and have accessor methods. | 24 | |
Missing a Javadoc comment. | 36 | |
Parameter jmDNSImpl should be final. | 36 | |
Parameter in should be final. | 36 | |
Parameter port should be final. | 36 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Avoid inline conditionals. | 48 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 55 | |
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 64 | |
Parameter timer should be final. | 65 | |
Avoid inline conditionals. | 83 | |
Method 'run' is not designed for extension - needs to be abstract, final or empty. | 95 | |
'if' construct must use '{}'s. | 148 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 20 | |
Variable '_count' must be private and have accessor methods. | 25 | |
Parameter jmDNSImpl should be final. | 30 | |
Expected @param tag for 'jmDNSImpl'. | 30 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 38 | |
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 47 | |
Parameter timer should be final. | 48 | |
Method 'run' is not designed for extension - needs to be abstract, final or empty. | 58 | |
'3' is a magic number. | 64 | |
Expected @throws tag for 'IOException'. | 96 | |
Expected @throws tag for 'IOException'. | 107 | |
First sentence should end with a period. | 109 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 24 | |
Missing a Javadoc comment. | 26 | |
Parameter jmDNSImpl should be final. | 26 | |
Parameter info should be final. | 26 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 37 | |
Avoid inline conditionals. | 39 | |
Method 'cancel' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Method 'addAnswers' is not designed for extension - needs to be abstract, final or empty. | 60 | |
Parameter out should be final. | 61 | |
Method 'addQuestions' is not designed for extension - needs to be abstract, final or empty. | 79 | |
Parameter out should be final. | 80 | |
Method 'description' is not designed for extension - needs to be abstract, final or empty. | 97 | |
Avoid inline conditionals. | 99 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 25 | |
Missing a Javadoc comment. | 27 | |
Parameter jmDNSImpl should be final. | 27 | |
Parameter type should be final. | 27 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Avoid inline conditionals. | 38 | |
Method 'addAnswers' is not designed for extension - needs to be abstract, final or empty. | 45 | |
Parameter out should be final. | 46 | |
Method 'addQuestions' is not designed for extension - needs to be abstract, final or empty. | 61 | |
Parameter out should be final. | 62 | |
Method 'description' is not designed for extension - needs to be abstract, final or empty. | 73 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Parameter jmDNSImpl should be final. | 30 | |
Expected @param tag for 'jmDNSImpl'. | 30 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 38 | |
Avoid inline conditionals. | 40 | |
Method 'addAnswers' is not designed for extension - needs to be abstract, final or empty. | 47 | |
Parameter out should be final. | 48 | |
Method 'addQuestions' is not designed for extension - needs to be abstract, final or empty. | 62 | |
Parameter out should be final. | 63 | |
Method 'description' is not designed for extension - needs to be abstract, final or empty. | 71 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 25 | |
Variable 'logger' must be private and have accessor methods. | 25 | |
Missing a Javadoc comment. | 27 | |
Parameter jmDNSImpl should be final. | 27 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 38 | |
Avoid inline conditionals. | 40 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 47 | |
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 56 | |
Parameter timer should be final. | 57 | |
Method 'cancel' is not designed for extension - needs to be abstract, final or empty. | 63 | |
Method 'getTaskDescription' is not designed for extension - needs to be abstract, final or empty. | 74 | |
Method 'checkRunCondition' is not designed for extension - needs to be abstract, final or empty. | 83 | |
Method 'createOugoing' is not designed for extension - needs to be abstract, final or empty. | 92 | |
Method 'buildOutgoingForDNS' is not designed for extension - needs to be abstract, final or empty. | 101 | |
Parameter out should be final. | 102 | |
Method 'buildOutgoingForInfo' is not designed for extension - needs to be abstract, final or empty. | 114 | |
Parameter info should be final. | 115 | |
Parameter out should be final. | 115 | |
Method 'recoverTask' is not designed for extension - needs to be abstract, final or empty. | 127 | |
Parameter e should be final. | 128 | |
Method 'advanceTask' is not designed for extension - needs to be abstract, final or empty. | 136 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 23 | |
Variable 'logger' must be private and have accessor methods. | 23 | |
Missing a Javadoc comment. | 25 | |
Parameter jmDNSImpl should be final. | 25 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Avoid inline conditionals. | 38 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 45 | |
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 54 | |
Parameter timer should be final. | 55 | |
Method 'cancel' is not designed for extension - needs to be abstract, final or empty. | 63 | |
Method 'getTaskDescription' is not designed for extension - needs to be abstract, final or empty. | 74 | |
Method 'checkRunCondition' is not designed for extension - needs to be abstract, final or empty. | 83 | |
Method 'createOugoing' is not designed for extension - needs to be abstract, final or empty. | 92 | |
Method 'buildOutgoingForDNS' is not designed for extension - needs to be abstract, final or empty. | 101 | |
Parameter out should be final. | 102 | |
Method 'buildOutgoingForInfo' is not designed for extension - needs to be abstract, final or empty. | 114 | |
Parameter info should be final. | 115 | |
Parameter out should be final. | 115 | |
Method 'recoverTask' is not designed for extension - needs to be abstract, final or empty. | 127 | |
Parameter e should be final. | 128 | |
Method 'advanceTask' is not designed for extension - needs to be abstract, final or empty. | 136 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 25 | |
Variable 'logger1' must be private and have accessor methods. | 25 | |
Missing a Javadoc comment. | 32 | |
Name '_defaultTTL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 32 | |
Missing a Javadoc comment. | 39 | |
Missing a Javadoc comment. | 41 | |
Parameter value should be final. | 50 | |
Expected @param tag for 'value'. | 50 | |
Parameter jmDNSImpl should be final. | 58 | |
Expected @param tag for 'jmDNSImpl'. | 58 | |
Parameter ttl should be final. | 58 | |
Expected @param tag for 'ttl'. | 58 | |
Method 'getTTL' is not designed for extension - needs to be abstract, final or empty. | 66 | |
Method 'associate' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Parameter state should be final. | 76 | |
Method 'removeAssociation' is not designed for extension - needs to be abstract, final or empty. | 88 | |
Method 'run' is not designed for extension - needs to be abstract, final or empty. | 100 | |
Missing a Javadoc comment. | 151 | |
Missing a Javadoc comment. | 153 | |
Missing a Javadoc comment. | 155 | |
Missing a Javadoc comment. | 157 | |
Method 'advanceObjectsState' is not designed for extension - needs to be abstract, final or empty. | 159 | |
Missing a Javadoc comment. | 159 | |
Parameter list should be final. | 159 | |
Missing a Javadoc comment. | 169 | |
Missing a Javadoc comment. | 171 | |
Method 'getTaskState' is not designed for extension - needs to be abstract, final or empty. | 176 | |
Method 'setTaskState' is not designed for extension - needs to be abstract, final or empty. | 184 | |
Parameter taskState should be final. | 184 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 28 | |
Variable 'logger' must be private and have accessor methods. | 28 | |
Missing a Javadoc comment. | 30 | |
Parameter jmDNSImpl should be final. | 30 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 41 | |
Avoid inline conditionals. | 43 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 50 | |
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 59 | |
Parameter timer should be final. | 60 | |
Method 'cancel' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Method 'getTaskDescription' is not designed for extension - needs to be abstract, final or empty. | 87 | |
Method 'checkRunCondition' is not designed for extension - needs to be abstract, final or empty. | 96 | |
Method 'createOugoing' is not designed for extension - needs to be abstract, final or empty. | 105 | |
Method 'buildOutgoingForDNS' is not designed for extension - needs to be abstract, final or empty. | 114 | |
Parameter out should be final. | 115 | |
Method 'buildOutgoingForInfo' is not designed for extension - needs to be abstract, final or empty. | 128 | |
Parameter info should be final. | 129 | |
Parameter out should be final. | 129 | |
Method 'recoverTask' is not designed for extension - needs to be abstract, final or empty. | 142 | |
Parameter e should be final. | 143 | |
Method 'advanceTask' is not designed for extension - needs to be abstract, final or empty. | 151 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing a Javadoc comment. | 23 | |
Variable 'logger' must be private and have accessor methods. | 23 | |
Missing a Javadoc comment. | 25 | |
Parameter jmDNSImpl should be final. | 25 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Avoid inline conditionals. | 38 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 45 | |
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 54 | |
Parameter timer should be final. | 55 | |
Method 'cancel' is not designed for extension - needs to be abstract, final or empty. | 61 | |
Method 'getTaskDescription' is not designed for extension - needs to be abstract, final or empty. | 72 | |
Method 'checkRunCondition' is not designed for extension - needs to be abstract, final or empty. | 81 | |
Method 'createOugoing' is not designed for extension - needs to be abstract, final or empty. | 90 | |
Method 'buildOutgoingForDNS' is not designed for extension - needs to be abstract, final or empty. | 99 | |
Parameter out should be final. | 100 | |
Method 'buildOutgoingForInfo' is not designed for extension - needs to be abstract, final or empty. | 112 | |
Parameter info should be final. | 113 | |
Parameter out should be final. | 113 | |
Method 'recoverTask' is not designed for extension - needs to be abstract, final or empty. | 125 | |
Parameter e should be final. | 126 | |
Method 'advanceTask' is not designed for extension - needs to be abstract, final or empty. | 134 |