PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 2

org/sentrysoftware/wbem/sblim/slp/internal/ua/DatagramRequester.java
Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 315
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 358

Priority 3

org/sentrysoftware/wbem/client/WbemExecutor.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'matsyaWbemClient': resource specifications are implicitly final 162
org/sentrysoftware/wbem/javax/cim/CIMArgument.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 98
org/sentrysoftware/wbem/javax/cim/CIMClass.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pIsAssociation'. 132
UnusedFormalParameter Avoid unused constructor parameters such as 'pIsKeyed'. 133
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 206
SimplifiedTernary Ternary operators that can be simplified with || or && 263
org/sentrysoftware/wbem/javax/cim/CIMClassProperty.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 116
org/sentrysoftware/wbem/javax/cim/CIMDataType.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 617
SimplifiedTernary Ternary operators that can be simplified with || or && 622623
org/sentrysoftware/wbem/javax/cim/CIMDateTime.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pDateString'. 97
org/sentrysoftware/wbem/javax/cim/CIMDateTimeAbsolute.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 298
org/sentrysoftware/wbem/javax/cim/CIMDateTimeInterval.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 368
UnusedFormalParameter Avoid unused method parameters such as 'pMsg'. 562
org/sentrysoftware/wbem/javax/cim/CIMInstance.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'pProp1'. 362
org/sentrysoftware/wbem/javax/cim/CIMMethod.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 121
org/sentrysoftware/wbem/javax/cim/CIMObjectPath.java
Rule Violation Line
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 211
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 214
org/sentrysoftware/wbem/javax/cim/CIMParameter.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 109
org/sentrysoftware/wbem/javax/cim/CIMProperty.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 130
org/sentrysoftware/wbem/javax/cim/CIMQualifiedElementInterface.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type 71
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifierCount': the method is declared in an interface type 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifiers': the method is declared in an interface type 85
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifierValue': the method is declared in an interface type 96
UnnecessaryModifier Unnecessary modifier 'public' on method 'hasQualifier': the method is declared in an interface type 107
UnnecessaryModifier Unnecessary modifier 'public' on method 'hasQualifierValue': the method is declared in an interface type 122
org/sentrysoftware/wbem/javax/cim/CIMQualifier.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 139
org/sentrysoftware/wbem/javax/cim/CIMQualifierType.java
Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 124
org/sentrysoftware/wbem/javax/wbem/CloseableIterator.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'close': the method is declared in an interface type 71
UnnecessaryModifier Unnecessary modifier 'public' on method 'getWBEMException': the method is declared in an interface type 80
org/sentrysoftware/wbem/javax/wbem/client/WBEMClient.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorClasses': the method is declared in an interface type 161164
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorInstances': the method is declared in an interface type 238240
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorNames': the method is declared in an interface type 302304
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorPaths': the method is declared in an interface type 441444
UnnecessaryModifier Unnecessary modifier 'public' on method 'associators': the method is declared in an interface type 601605
UnnecessaryModifier Unnecessary modifier 'public' on method 'close': the method is declared in an interface type 610
UnnecessaryModifier Unnecessary modifier 'public' on method 'closeEnumeration': the method is declared in an interface type 628
UnnecessaryModifier Unnecessary modifier 'public' on method 'createClass': the method is declared in an interface type 655
UnnecessaryModifier Unnecessary modifier 'public' on method 'createInstance': the method is declared in an interface type 684
UnnecessaryModifier Unnecessary modifier 'public' on method 'deleteClass': the method is declared in an interface type 713
UnnecessaryModifier Unnecessary modifier 'public' on method 'deleteInstance': the method is declared in an interface type 735
UnnecessaryModifier Unnecessary modifier 'public' on method 'deleteQualifierType': the method is declared in an interface type 759
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateClasses': the method is declared in an interface type 808810
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateClassNames': the method is declared in an interface type 846847
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstanceNames': the method is declared in an interface type 872873
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstancePaths': the method is declared in an interface type 980982
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type 10331035
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type 11671170
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateQualifierTypes': the method is declared in an interface type 11961197
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerationCount': the method is declared in an interface type 12271228
UnnecessaryModifier Unnecessary modifier 'public' on method 'execQuery': the method is declared in an interface type 12601261
UnnecessaryModifier Unnecessary modifier 'public' on method 'execQueryInstances': the method is declared in an interface type 13901393
UnnecessaryModifier Unnecessary modifier 'public' on method 'getClass': the method is declared in an interface type 14461447
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstance': the method is declared in an interface type 14931494
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstancePaths': the method is declared in an interface type 15331534
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstances': the method is declared in an interface type 15751576
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstancesWithPath': the method is declared in an interface type 16151616
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type 1627
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifierType': the method is declared in an interface type 1653
UnnecessaryModifier Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type 16721673
UnnecessaryModifier Unnecessary modifier 'public' on method 'invokeMethod': the method is declared in an interface type 17071709
UnnecessaryModifier Unnecessary modifier 'public' on method 'modifyClass': the method is declared in an interface type 1740
UnnecessaryModifier Unnecessary modifier 'public' on method 'modifyInstance': the method is declared in an interface type 1775
UnnecessaryModifier Unnecessary modifier 'public' on method 'referenceNames': the method is declared in an interface type 19431944
UnnecessaryModifier Unnecessary modifier 'public' on method 'referencePaths': the method is declared in an interface type 20642067
UnnecessaryModifier Unnecessary modifier 'public' on method 'references': the method is declared in an interface type 22032206
UnnecessaryModifier Unnecessary modifier 'public' on method 'setLocales': the method is declared in an interface type 2214
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type 2228
UnnecessaryModifier Unnecessary modifier 'public' on method 'setQualifierType': the method is declared in an interface type 2253
org/sentrysoftware/wbem/javax/wbem/listener/IndicationListener.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type 68
org/sentrysoftware/wbem/javax/wbem/listener/WBEMListener.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type 7273
UnnecessaryModifier Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type 9293
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type 102
UnnecessaryModifier Unnecessary modifier 'public' on method 'removeListener': the method is declared in an interface type 110
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type 122
org/sentrysoftware/wbem/sblim/cimclient/CIMXMLTraceListener.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'traceCIMXML': the method is declared in an interface type 66
org/sentrysoftware/wbem/sblim/cimclient/IndicationListenerSBLIM.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type 7475
org/sentrysoftware/wbem/sblim/cimclient/LogListener.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'log': the method is declared in an interface type 67
org/sentrysoftware/wbem/sblim/cimclient/TraceListener.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type 67
UnnecessaryModifier Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type 81
org/sentrysoftware/wbem/sblim/cimclient/WBEMClientSBLIM.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type 9091
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperties': the method is declared in an interface type 104
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperties': the method is declared in an interface type 121
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type 136
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type 154
UnnecessaryModifier Unnecessary modifier 'public' on method 'getLocalProperties': the method is declared in an interface type 169
UnnecessaryModifier Unnecessary modifier 'public' on method 'setLocalProperties': the method is declared in an interface type 188
UnnecessaryModifier Unnecessary modifier 'public' on method 'setLocalProperty': the method is declared in an interface type 208
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCustomSocketFactory': the method is declared in an interface type 217
UnnecessaryModifier Unnecessary modifier 'public' on method 'setCustomSocketFactory': the method is declared in an interface type 229
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateNamespaces': the method is declared in an interface type 246247
UnnecessaryModifier Unnecessary modifier 'public' on method 'isActive': the method is declared in an interface type 256
UnnecessaryModifier Unnecessary modifier 'public' on method 'sendIndication': the method is declared in an interface type 277
org/sentrysoftware/wbem/sblim/cimclient/WBEMConfigurationProperties.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type 98
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type 108
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type 149
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type 161
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type 172
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type 183
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type 194
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type 205
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type 247
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type 259
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type 270
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type 282
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type 296
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type 310
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_WWW_AUTHENTICATE_INFO': the field is declared in an interface type 331
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type 342
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type 352
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type 363
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type 374
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type 385
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type 396
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_PATH': the field is declared in an interface type 405
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type 415
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_PASSWORD': the field is declared in an interface type 424
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PATH': the field is declared in an interface type 433
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type 443
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PASSWORD': the field is declared in an interface type 452
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_SOCKET_PROVIDER': the field is declared in an interface type 464
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_SERVER_SOCKET_PROVIDER': the field is declared in an interface type 476
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_PROTOCOL': the field is declared in an interface type 488
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PROTOCOL': the field is declared in an interface type 498
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PROTOCOL': the field is declared in an interface type 508
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_KEYMANAGER_ALGORITHM': the field is declared in an interface type 521
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_TRUSTMANAGER_ALGORITHM': the field is declared in an interface type 534
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type 549
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type 580
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type 591
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type 603
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type 618
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type 630
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_TRACE_STREAM': the field is declared in an interface type 655
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type 675
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type 687
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type 704
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type 717
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type 732
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type 747
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type 764
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type 776
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type 791
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type 806
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type 821
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type 833
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type 851
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type 865
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type 878
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type 889
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type 904
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type 918
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type 931
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type 944
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type 974
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type 991
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type 1008
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type 1027
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_INDICATION_TRACE_FILTER': the field is declared in an interface type 1054
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type 1071
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type 1088
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type 1106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type 1124
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type 1145
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type 1153
org/sentrysoftware/wbem/sblim/cimclient/discovery/AdvertisementCatalog.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'EventListener': member interfaces are implicitly static 8499
UnnecessaryModifier Unnecessary modifier 'public' on method 'advertisementEvent': the method is declared in an interface type 98
org/sentrysoftware/wbem/sblim/cimclient/discovery/Discoverer.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'findWbemServices': the method is declared in an interface type 62
UnnecessaryModifier Unnecessary modifier 'public' on method 'findDirectoryServices': the method is declared in an interface type 72
org/sentrysoftware/wbem/sblim/cimclient/discovery/WBEMServiceAdvertisement.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_TYPE': the field is declared in an interface type 75
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_VERSION': the field is declared in an interface type 81
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_DESCRIPTION': the field is declared in an interface type 87
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_URL_SYNTAX': the field is declared in an interface type 99
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVICE_HI_NAME': the field is declared in an interface type 106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVICE_HI_DESC': the field is declared in an interface type 113
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVICE_ID': the field is declared in an interface type 119
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'COMM_MECHANISM': the field is declared in an interface type 131
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'OTHER_COMM_MECHN_DESC': the field is declared in an interface type 143
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INTEROP_NS': the field is declared in an interface type 151
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROTOCOL_VERSION': the field is declared in an interface type 158
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_SUPP': the field is declared in an interface type 173
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_DESC': the field is declared in an interface type 184
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULT_OPERATIONS_SUPP': the field is declared in an interface type 192
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_MECH_SUPP': the field is declared in an interface type 202
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_MECH_DESC': the field is declared in an interface type 212
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type 221
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASSINFO': the field is declared in an interface type 232
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REG_PROF_SUPP': the field is declared in an interface type 255
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDirectory': the method is declared in an interface type 262
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getConcreteServiceType': the method is declared in an interface type 271
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getInteropNamespaces': the method is declared in an interface type 278
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getServiceUrl': the method is declared in an interface type 285
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttribute': the method is declared in an interface type 294
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttributes': the method is declared in an interface type 302
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getServiceId': the method is declared in an interface type 309
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'isExpired': the method is declared in an interface type 316
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'setExpired': the method is declared in an interface type 327
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'createClient': the method is declared in an interface type 343
org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMHelper.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9193
PrimitiveWrapperInstantiation Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` 307
PrimitiveWrapperInstantiation Do not use `new Short(...)`, prefer `Short.valueOf(...)` 311
PrimitiveWrapperInstantiation Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` 315
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 319
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 339
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 343
org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMOctetString.java
Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'idxHex'. 456
org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMVersion.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8890
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMClientXML_HelperImpl.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'pLocalPath'. 966
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMXMLBuilderImpl.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 1015
CollapsibleIfStatements These nested if statements could be combined 15761579
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMXMLParserImpl.java
Rule Violation Line
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 1168
CollapsibleIfStatements These nested if statements could be combined 1179
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 1181
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 3735
CollapsibleIfStatements These nested if statements could be combined 37393740
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3742
EmptyControlStatement Empty if statement 38783880
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/CIMObjectFactory.java
Rule Violation Line
PrimitiveWrapperInstantiation Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` 462
PrimitiveWrapperInstantiation Do not use `new Short(...)`, prefer `Short.valueOf(...)` 472
PrimitiveWrapperInstantiation Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` 482
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 492
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 503
CollapsibleIfStatements These nested if statements could be combined 514515
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 517
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/NodeConstIf.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIM': the field is declared in an interface type 71
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLARATION': the field is declared in an interface type 84
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLGROUP': the field is declared in an interface type 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHNAME': the field is declared in an interface type 108
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHPATH': the field is declared in an interface type 120
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'QUALIFIER_DECLARATION': the field is declared in an interface type 138
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SCOPE': the field is declared in an interface type 159
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE': the field is declared in an interface type 172
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_ARRAY': the field is declared in an interface type 185
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_REFERENCE': the field is declared in an interface type 197
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_REFARRAY': the field is declared in an interface type 209
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_OBJECT': the field is declared in an interface type 221
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDINSTANCE': the field is declared in an interface type 234
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDOBJECT': the field is declared in an interface type 246
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHLOCALPATH': the field is declared in an interface type 259
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHPATH': the field is declared in an interface type 272
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_NULL': the field is declared in an interface type 283
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_INSTANCEWITHPATH': the field is declared in an interface type 296
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NAMESPACEPATH': the field is declared in an interface type 307
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALNAMESPACEPATH': the field is declared in an interface type 319
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HOST': the field is declared in an interface type 330
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type 344
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASSPATH': the field is declared in an interface type 355
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALCLASSPATH': the field is declared in an interface type 368
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASSNAME': the field is declared in an interface type 381
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INSTANCEPATH': the field is declared in an interface type 392
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALINSTANCEPATH': the field is declared in an interface type 403
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INSTANCENAME': the field is declared in an interface type 417
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'OBJECTPATH': the field is declared in an interface type 429
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYBINDING': the field is declared in an interface type 442
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYVALUE': the field is declared in an interface type 457
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASS': the field is declared in an interface type 471
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INSTANCE': the field is declared in an interface type 485
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'QUALIFIER': the field is declared in an interface type 502
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROPERTY': the field is declared in an interface type 522
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROPERTY_ARRAY': the field is declared in an interface type 542
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROPERTY_REFERENCE': the field is declared in an interface type 560
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'METHOD': the field is declared in an interface type 577
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER': the field is declared in an interface type 592
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER_REFERENCE': the field is declared in an interface type 607
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER_ARRAY': the field is declared in an interface type 623
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER_REFARRAY': the field is declared in an interface type 639
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type 657
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIREQ': the field is declared in an interface type 668
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIEXPREQ': the field is declared in an interface type 679
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLEREQ': the field is declared in an interface type 690
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLEEXPREQ': the field is declared in an interface type 701
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IMETHODCALL': the field is declared in an interface type 714
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'METHODCALL': the field is declared in an interface type 728
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'EXPMETHODCALL': the field is declared in an interface type 741
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMVALUE': the field is declared in an interface type 757
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IPARAMVALUE': the field is declared in an interface type 771
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'EXPPARAMVALUE': the field is declared in an interface type 785
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIRSP': the field is declared in an interface type 796
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIEXPRSP': the field is declared in an interface type 807
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLERSP': the field is declared in an interface type 818
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLEEXPRSP': the field is declared in an interface type 829
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'METHODRESPONSE': the field is declared in an interface type 844
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'EXPMETHODRESPONSE': the field is declared in an interface type 858
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IMETHODRESPONSE': the field is declared in an interface type 872
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ERROR': the field is declared in an interface type 887
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RETURNVALUE': the field is declared in an interface type 902
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IRETURNVALUE': the field is declared in an interface type 914
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CORRELATOR': the field is declared in an interface type 928
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/NodeFactory.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'create': the method is declared in an interface type 96
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/XMLDefaultHandlerImpl.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 185186
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ArrayIf.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'size': the method is declared in an interface type 54
UnnecessaryModifier Unnecessary modifier 'public' on method 'elementAt': the method is declared in an interface type 62
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/CIMNode.java
Rule Violation Line
UnnecessaryReturn Avoid unnecessary return statements 98
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ErrorIf.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCIMError': the method is declared in an interface type 56
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/InstanceNameNode.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 111112
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/KeyValueNode.java
Rule Violation Line
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 177
CollapsibleIfStatements These nested if statements could be combined 188
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 190
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/NonVolatileIf.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'addChild': the method is declared in an interface type 57
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ParamValueNode.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 125129
CollapsibleIfStatements These nested if statements could be combined 126128
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/RetValPipeIf.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getReturnValueCount': the method is declared in an interface type 54
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'readReturnValue': the method is declared in an interface type 61
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleExpReqNode.java
Rule Violation Line
EmptyControlStatement Empty if statement 7072
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleReqNode.java
Rule Violation Line
EmptyControlStatement Empty if statement 7274
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/TypedIf.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type 56
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ValueIf.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type 57
org/sentrysoftware/wbem/sblim/cimclient/internal/http/AuthorizationInfo.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 396397
SimplifiedTernary Ternary operators that can be simplified with || or && 398399
SimplifiedTernary Ternary operators that can be simplified with || or && 400401
SimplifiedTernary Ternary operators that can be simplified with || or && 402403
SimplifiedTernary Ternary operators that can be simplified with || or && 404
org/sentrysoftware/wbem/sblim/cimclient/internal/http/Challenge.java
Rule Violation Line
EmptyControlStatement Empty if statement 151157
CollapsibleIfStatements These nested if statements could be combined 273
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpClient.java
Rule Violation Line
EmptyControlStatement Empty else statement 330332
EmptyCatchBlock Avoid empty catch blocks 459461
EmptyControlStatement Empty for statement 10981101
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpException.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'cimError'. 99
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpHeader.java
Rule Violation Line
EmptyControlStatement Empty else statement 274276
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpHeaderParser.java
Rule Violation Line
EmptyControlStatement Empty while statement 9497
EmptyControlStatement Empty while statement 120123
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpMethod.java
Rule Violation Line
EmptyControlStatement Empty for statement 114116
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpServerConnection.java
Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 206
AvoidUsingHardCodedIP Do not hard code the IP address 218
AvoidThreadGroup Avoid using java.lang.ThreadGroup; it is not thread safe 236
EmptyCatchBlock Avoid empty catch blocks 291293
EmptyCatchBlock Avoid empty catch blocks 302304
EmptyCatchBlock Avoid empty catch blocks 418420
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpSocketFactory.java
Rule Violation Line
UnnecessaryReturn Avoid unnecessary return statements 401
UnnecessaryReturn Avoid unnecessary return statements 409
org/sentrysoftware/wbem/sblim/cimclient/internal/http/WwwAuthInfo.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 270277
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ASCIIPrintStream.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pEncoding'. 110
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/BoundedInputStream.java
Rule Violation Line
EmptyControlStatement Empty while statement 145147
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ChunkedInputStream.java
Rule Violation Line
EmptyControlStatement Empty while statement 211213
org/sentrysoftware/wbem/sblim/cimclient/internal/logging/LogAndTraceBroker.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 186188
EmptyCatchBlock Avoid empty catch blocks 222224
EmptyCatchBlock Avoid empty catch blocks 251253
EmptyCatchBlock Avoid empty catch blocks 285287
EmptyCatchBlock Avoid empty catch blocks 321323
EmptyCatchBlock Avoid empty catch blocks 361363
EmptyCatchBlock Avoid empty catch blocks 367369
EmptyCatchBlock Avoid empty catch blocks 666668
EmptyCatchBlock Avoid empty catch blocks 689691
EmptyCatchBlock Avoid empty catch blocks 714716
EmptyCatchBlock Avoid empty catch blocks 740742
EmptyCatchBlock Avoid empty catch blocks 810812
org/sentrysoftware/wbem/sblim/cimclient/internal/logging/Messages.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on field 'GREETING': the field is declared in an interface type 56
UnnecessaryModifier Unnecessary modifier 'public' on field 'RELEASE': the field is declared in an interface type 61
UnnecessaryModifier Unnecessary modifier 'public' on field 'OS': the field is declared in an interface type 66
UnnecessaryModifier Unnecessary modifier 'public' on field 'JRE': the field is declared in an interface type 71
UnnecessaryModifier Unnecessary modifier 'public' on field 'JVM': the field is declared in an interface type 76
UnnecessaryModifier Unnecessary modifier 'public' on field 'CONFIGURATION_URL': the field is declared in an interface type 81
UnnecessaryModifier Unnecessary modifier 'public' on field 'CONFIGURATION_LOAD_FAILED': the field is declared in an interface type 86
UnnecessaryModifier Unnecessary modifier 'public' on field 'EXCEPTION_DURING_CONFIGURATION_LOAD': the field is declared in an interface type 91
UnnecessaryModifier Unnecessary modifier 'public' on field 'INVALID_KEY_IN_CONFIG_FILE': the field is declared in an interface type 96
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_PROXY_AUTH_UNSUPPORTED': the field is declared in an interface type 101
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_CONNECTION_FAILED': the field is declared in an interface type 106
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_NO_SOCKET_FACTORY': the field is declared in an interface type 111
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_AUTH_MODULE_INVALID': the field is declared in an interface type 116
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_INVALID_HEADER': the field is declared in an interface type 121
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_HANDLE_CONNECTION_FAILED': the field is declared in an interface type 126
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_PEGASUS_LOCAL_AUTH_READ': the field is declared in an interface type 131
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_JSSE_PROVIDER_LOAD_FAILED': the field is declared in an interface type 136
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_FOUND': the field is declared in an interface type 141
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_READABLE': the field is declared in an interface type 146
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_CERT': the field is declared in an interface type 151
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_UNRECOVERABLE_KEY': the field is declared in an interface type 156
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID': the field is declared in an interface type 161
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_OTHER': the field is declared in an interface type 166
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_FALLBACK': the field is declared in an interface type 171
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_CONTEXT_INIT_FAILED': the field is declared in an interface type 176
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_ALGORITHM': the field is declared in an interface type 181
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NULL': the field is declared in an interface type 186
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_FOUND': the field is declared in an interface type 191
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_READABLE': the field is declared in an interface type 196
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_CERT': the field is declared in an interface type 201
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID': the field is declared in an interface type 206
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_OTHER': the field is declared in an interface type 211
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK': the field is declared in an interface type 216
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_ALGORITHM': the field is declared in an interface type 221
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_ACTIVE': the field is declared in an interface type 226
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NULL': the field is declared in an interface type 231
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INACTIVE': the field is declared in an interface type 236
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK_NOTRUST': the field is declared in an interface type 241
UnnecessaryModifier Unnecessary modifier 'public' on field 'CIM_XMLHELPER_FAILED': the field is declared in an interface type 246
UnnecessaryModifier Unnecessary modifier 'public' on field 'TEST_MESSAGE': the field is declared in an interface type 251
org/sentrysoftware/wbem/sblim/cimclient/internal/pullparser/XMLPullParser.java
Rule Violation Line
EmptyControlStatement Empty else statement 381383
EmptyControlStatement Empty if statement 726733
EmptyControlStatement Empty if statement 997999
EmptyControlStatement Empty else statement 10001002
UnnecessaryReturn Avoid unnecessary return statements 1010
EmptyControlStatement Empty else statement 11841186
org/sentrysoftware/wbem/sblim/cimclient/internal/uri/KeyValuePairs.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 7578
org/sentrysoftware/wbem/sblim/cimclient/internal/uri/NamespacePath.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 87
org/sentrysoftware/wbem/sblim/cimclient/internal/uri/QuotedValue.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'toQuotedString': the method is declared in an interface type 55
org/sentrysoftware/wbem/sblim/cimclient/internal/uri/RealValue.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 9495
org/sentrysoftware/wbem/sblim/cimclient/internal/uri/URI.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'pTyped'. 347
org/sentrysoftware/wbem/sblim/cimclient/internal/util/ThreadPool.java
Rule Violation Line
AvoidThreadGroup Avoid using java.lang.ThreadGroup; it is not thread safe 201
org/sentrysoftware/wbem/sblim/cimclient/internal/util/WBEMConfiguration.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 226228
EmptyCatchBlock Avoid empty catch blocks 272274
org/sentrysoftware/wbem/sblim/cimclient/internal/util/WBEMConfigurationDefaults.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type 8486
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type 91
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type 101
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type 106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type 111
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type 116
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type 121
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type 126
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type 131
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type 136
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type 141
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type 146
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type 151
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type 156
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type 161
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type 166
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type 171
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type 176
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type 181
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type 186
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type 191
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type 196
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type 201
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type 206
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type 211
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type 216
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type 221
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type 226
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type 231
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type 236
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type 241
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type 246
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type 251
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type 256
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type 261
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type 266
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type 271
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type 276
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type 281
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type 286
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type 291
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type 296
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type 301
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type 306
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type 311
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type 316
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type 321
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type 326
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_DEF_PROTOCOL': the field is declared in an interface type 331
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type 336
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type 341
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type 346
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type 351
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type 356
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type 361
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type 366
org/sentrysoftware/wbem/sblim/cimclient/internal/util/WBEMConstants.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP': the field is declared in an interface type 65
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTPS': the field is declared in an interface type 70
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_PORT': the field is declared in an interface type 75
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_SECURE_PORT': the field is declared in an interface type 80
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMOM_PATH': the field is declared in an interface type 85
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_LOCALES': the field is declared in an interface type 90
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_MPOST': the field is declared in an interface type 95
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_POST': the field is declared in an interface type 100
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type 105
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE': the field is declared in an interface type 110
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DOM': the field is declared in an interface type 115
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PULL': the field is declared in an interface type 120
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SAX': the field is declared in an interface type 125
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF8': the field is declared in an interface type 130
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MIN_HIGH_SURROGATE': the field is declared in an interface type 136
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MIN_LOW_SURROGATE': the field is declared in an interface type 142
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MAX_HIGH_SURROGATE': the field is declared in an interface type 148
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MAX_LOW_SURROGATE': the field is declared in an interface type 154
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UNICODE_MIN_SUPPLEMENTARY_CODE_POINT': the field is declared in an interface type 159
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UNICODE_MAX_CODE_POINT': the field is declared in an interface type 164
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_CODE': the field is declared in an interface type 169
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_DESCRIPTION': the field is declared in an interface type 174
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ISO_8859_1': the field is declared in an interface type 179
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'OS_NAME': the field is declared in an interface type 184
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'Z_OS': the field is declared in an interface type 189
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INDICATION_DOS_EXCEPTION_MESSAGE': the field is declared in an interface type 194
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/CloseableIteratorDOM.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 139
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/CloseableIteratorSAX.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 147148
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/WBEMClientCIMXML.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 10611063
SimplifiedTernary Ternary operators that can be simplified with || or && 17321733
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/indications/CIMIndicationHandler.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 186188
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/indications/ReliableIndicationHandler.java
Rule Violation Line
UnnecessaryReturn Avoid unnecessary return statements 659
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorNamesOp.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pResultRole'. 77
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorsOp.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pResultRole'. 84
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMGetClassOp.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pPropertyList'. 76
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMReferencesOp.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pPropertyList'. 78
org/sentrysoftware/wbem/sblim/slp/Advertiser.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type 67
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'register': the method is declared in an interface type 8182
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'deregister': the method is declared in an interface type 94
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'addAttributes': the method is declared in an interface type 109110
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'deleteAttributes': the method is declared in an interface type 128129
org/sentrysoftware/wbem/sblim/slp/Locator.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type 68
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type 8586
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type 109111
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type 134135
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type 163165
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 188189
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 218220
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 244245
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 274276
org/sentrysoftware/wbem/sblim/slp/SLPConfigProperties.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_CONFIG_URL': the field is declared in an interface type 74
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type 84
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ADDRESSES': the field is declared in an interface type 129
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ATTRIBUTES': the field is declared in an interface type 138
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type 148
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_HEARTBEAT': the field is declared in an interface type 158
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DATAGRAM_TIMEOUTS': the field is declared in an interface type 167
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_INTERFACES': the field is declared in an interface type 191
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_BROADCAST_ONLY': the field is declared in an interface type 198
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_DA': the field is declared in an interface type 206
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_LOCALE': the field is declared in an interface type 217
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MAX_RESULTS': the field is declared in an interface type 234
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MTU': the field is declared in an interface type 244
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 252
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TIMEOUTS': the field is declared in an interface type 270
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TTL': the field is declared in an interface type 277
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_PASSIVE_DA_DETECTION': the field is declared in an interface type 286
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_PORT': the field is declared in an interface type 293
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV6': the field is declared in an interface type 300
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV4': the field is declared in an interface type 307
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_RANDOM_WAIT_BOUND': the field is declared in an interface type 317
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SA_ATTRIBUTES': the field is declared in an interface type 326
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SAONLY_SCOPES': the field is declared in an interface type 335
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SECURITY_ENABLED': the field is declared in an interface type 344
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SERIALIZED_REG_URL': the field is declared in an interface type 355
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 365
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TCPTIMEOUT': the field is declared in an interface type 375
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DA_TRAFFIC': the field is declared in an interface type 384
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DROP': the field is declared in an interface type 394
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_MSG': the field is declared in an interface type 402
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_REG': the field is declared in an interface type 413
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TYPE_HINT': the field is declared in an interface type 434
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_USE_SCOPES': the field is declared in an interface type 452
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRC_LEVEL': the field is declared in an interface type 459
org/sentrysoftware/wbem/sblim/slp/ServiceLocationAttributeDescriptor.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getId': the method is declared in an interface type 67
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getValueType': the method is declared in an interface type 102
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type 109
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAllowedValues': the method is declared in an interface type 118
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDefaultValues': the method is declared in an interface type 127
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getRequiresExplicitMatch': the method is declared in an interface type 135
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsMultivalued': the method is declared in an interface type 142
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsOptional': the method is declared in an interface type 149
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsLiteral': the method is declared in an interface type 156
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsKeyword': the method is declared in an interface type 164
org/sentrysoftware/wbem/sblim/slp/ServiceLocationAttributeVerifier.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getServiceType': the method is declared in an interface type 70
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type 77
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getVersion': the method is declared in an interface type 84
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getURLSyntax': the method is declared in an interface type 91
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type 98
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptor': the method is declared in an interface type 111
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptors': the method is declared in an interface type 123
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'verifyAttribute': the method is declared in an interface type 136137
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'verifyRegistration': the method is declared in an interface type 152153
org/sentrysoftware/wbem/sblim/slp/ServiceLocationEnumeration.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'next': the method is declared in an interface type 72
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'nextException': the method is declared in an interface type 85
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'hasMoreExceptions': the method is declared in an interface type 91
org/sentrysoftware/wbem/sblim/slp/internal/SLPConfig.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 193195
EmptyCatchBlock Avoid empty catch blocks 458460
EmptyCatchBlock Avoid empty catch blocks 558560
EmptyCatchBlock Avoid empty catch blocks 560562
EmptyCatchBlock Avoid empty catch blocks 572574
org/sentrysoftware/wbem/sblim/slp/internal/SLPDefaults.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ALL_AUTHORITIES': the field is declared in an interface type 68
AvoidUsingHardCodedIP Do not hard code the IP address 73
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'BROADCAST_ADDRESS': the field is declared in an interface type 73
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CONF_URLS': the field is declared in an interface type 7882
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type 87
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DA_SERVICE_TYPE': the field is declared in an interface type 92
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DATAGRAM_TIMEOUTS': the field is declared in an interface type 97
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_SCOPE': the field is declared in an interface type 102
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type 107
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type 112
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALE': the field is declared in an interface type 117
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE': the field is declared in an interface type 122
AvoidUsingHardCodedIP Do not hard code the IP address 127
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V4': the field is declared in an interface type 127
AvoidUsingHardCodedIP Do not hard code the IP address 132
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V6': the field is declared in an interface type 132
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOOPBACK_NAME': the field is declared in an interface type 137
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAXIMUM_RESULTS': the field is declared in an interface type 142
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MTU': the field is declared in an interface type 147
AvoidUsingHardCodedIP Do not hard code the IP address 152
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_ADDRESS': the field is declared in an interface type 152
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 157
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_RADIUS': the field is declared in an interface type 162
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_TIMEOUTS': the field is declared in an interface type 167
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SA_SERVICE_TYPE': the field is declared in an interface type 172
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 177
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SLP_PORT': the field is declared in an interface type 182
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'USE_IPV6': the field is declared in an interface type 187
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'USE_IPV4': the field is declared in an interface type 192
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SLP_VERSION': the field is declared in an interface type 197
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TCP_TIMEOUT': the field is declared in an interface type 202
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ENCODING': the field is declared in an interface type 207
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DACACHE_TIMEOUT': the field is declared in an interface type 212
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IPV6_MULTICAST_SCOPE': the field is declared in an interface type 217
org/sentrysoftware/wbem/sblim/slp/internal/SLPLimits.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_GRANULARITY': the field is declared in an interface type 56
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_INTERVAL': the field is declared in an interface type 61
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_MTU': the field is declared in an interface type 66
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 71
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_RADIUS': the field is declared in an interface type 76
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 81
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_TCP_TIMEOUT': the field is declared in an interface type 86
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_GRANULARITY': the field is declared in an interface type 91
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_INTERVAL': the field is declared in an interface type 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_MTU': the field is declared in an interface type 101
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_RADIUS': the field is declared in an interface type 111
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 116
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_TCP_TIMEOUT': the field is declared in an interface type 121
org/sentrysoftware/wbem/sblim/slp/internal/msg/FunctionIDs.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_RQST': the field is declared in an interface type 53
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_RPLY': the field is declared in an interface type 58
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_REG': the field is declared in an interface type 63
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_DEREG': the field is declared in an interface type 68
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_ACK': the field is declared in an interface type 73
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTR_RQST': the field is declared in an interface type 78
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTR_RPLY': the field is declared in an interface type 83
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DA_ADVERT': the field is declared in an interface type 88
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RQST': the field is declared in an interface type 93
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RPLY': the field is declared in an interface type 98
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SA_ADVERT': the field is declared in an interface type 103
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'FIRST_ID': the field is declared in an interface type 108
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LAST_ID': the field is declared in an interface type 113
org/sentrysoftware/wbem/sblim/slp/internal/msg/MsgFactory.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'parse': the method is declared in an interface type 7475
org/sentrysoftware/wbem/sblim/slp/internal/msg/SLPInputStream.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'ch'. 490
org/sentrysoftware/wbem/sblim/slp/internal/sa/DatagramThread.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 112114
org/sentrysoftware/wbem/sblim/slp/internal/sa/ServiceTable.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 224
org/sentrysoftware/wbem/sblim/slp/internal/sa/TCPThread.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8284

Priority 4

org/sentrysoftware/wbem/javax/cim/CIMDataType.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 141
UselessParentheses Useless parentheses. 622623
UselessParentheses Useless parentheses. 624
org/sentrysoftware/wbem/javax/cim/CIMDateTime.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 85
org/sentrysoftware/wbem/javax/cim/CIMDateTimeAbsolute.java
Rule Violation Line
UselessParentheses Useless parentheses. 352
org/sentrysoftware/wbem/javax/cim/CIMDateTimeInterval.java
Rule Violation Line
UselessParentheses Useless parentheses. 112113
UselessParentheses Useless parentheses. 112
org/sentrysoftware/wbem/javax/cim/CIMElement.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 62
org/sentrysoftware/wbem/javax/cim/CIMFlavor.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 58
org/sentrysoftware/wbem/javax/cim/CIMInstance.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 70
org/sentrysoftware/wbem/javax/cim/CIMObjectPath.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 122
UselessParentheses Useless parentheses. 466467
org/sentrysoftware/wbem/javax/cim/CIMScope.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 57
org/sentrysoftware/wbem/javax/wbem/client/PasswordCredential.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 59
org/sentrysoftware/wbem/javax/wbem/client/RoleCredential.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 59
org/sentrysoftware/wbem/javax/wbem/client/RolePrincipal.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 56
org/sentrysoftware/wbem/javax/wbem/client/UserPrincipal.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 57
org/sentrysoftware/wbem/javax/wbem/client/WBEMClientFactory.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 77
org/sentrysoftware/wbem/javax/wbem/listener/WBEMListenerFactory.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 74
org/sentrysoftware/wbem/sblim/cimclient/WBEMListenerSBLIM.java
Rule Violation Line
UselessParentheses Useless parentheses. 175
UselessParentheses Useless parentheses. 185
org/sentrysoftware/wbem/sblim/cimclient/discovery/AdvertisementCatalog.java
Rule Violation Line
UselessParentheses Useless parentheses. 383385
org/sentrysoftware/wbem/sblim/cimclient/discovery/DiscovererFactory.java
Rule Violation Line
UnnecessaryImport Unnecessary import from the current package 'org.sentrysoftware.wbem.sblim.cimclient.discovery.Discoverer' 47
org/sentrysoftware/wbem/sblim/cimclient/discovery/WBEMProtocol.java
Rule Violation Line
UselessParentheses Useless parentheses. 118
UselessParentheses Useless parentheses. 119
org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMHelper.java
Rule Violation Line
UselessParentheses Useless parentheses. 227229
org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMOctetString.java
Rule Violation Line
UselessParentheses Useless parentheses. 150
UselessParentheses Useless parentheses. 150
UselessParentheses Useless parentheses. 150
UselessParentheses Useless parentheses. 457
org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMVersion.java
Rule Violation Line
UselessParentheses Useless parentheses. 147
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMMessage.java
Rule Violation Line
UselessParentheses Useless parentheses. 149150
UselessParentheses Useless parentheses. 151
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMXMLBuilderImpl.java
Rule Violation Line
UselessParentheses Useless parentheses. 1180
UselessParentheses Useless parentheses. 1286
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMXMLParserImpl.java
Rule Violation Line
UselessParentheses Useless parentheses. 17591760
UselessParentheses Useless parentheses. 1759
UselessParentheses Useless parentheses. 1762
UselessParentheses Useless parentheses. 23152316
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CimXmlSerializer.java
Rule Violation Line
UselessParentheses Useless parentheses. 216
UselessParentheses Useless parentheses. 216
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/EmbObjHandler.java
Rule Violation Line
UselessParentheses Useless parentheses. 179180
UselessParentheses Useless parentheses. 190
UselessParentheses Useless parentheses. 200
UselessParentheses Useless parentheses. 347348
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/NodePool.java
Rule Violation Line
UselessParentheses Useless parentheses. 154
UselessParentheses Useless parentheses. 158
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/CIMNode.java
Rule Violation Line
UselessParentheses Useless parentheses. 151
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/IParamValueNode.java
Rule Violation Line
UselessParentheses Useless parentheses. 161162
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/IReturnValueNode.java
Rule Violation Line
UselessParentheses Useless parentheses. 128
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/LocalNameSpacePathNode.java
Rule Violation Line
UselessParentheses Useless parentheses. 132133
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/Node.java
Rule Violation Line
UselessParentheses Useless parentheses. 288289
UselessParentheses Useless parentheses. 288
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/PropertyArrayNode.java
Rule Violation Line
UselessParentheses Useless parentheses. 95
org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/PropertyNode.java
Rule Violation Line
UselessParentheses Useless parentheses. 93
org/sentrysoftware/wbem/sblim/cimclient/internal/discovery/slp/DiscovererSLP.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 75
org/sentrysoftware/wbem/sblim/cimclient/internal/http/AuthorizationInfo.java
Rule Violation Line
UselessParentheses Useless parentheses. 396
UselessParentheses Useless parentheses. 398
UselessParentheses Useless parentheses. 400
UselessParentheses Useless parentheses. 402
UselessParentheses Useless parentheses. 404
UselessParentheses Useless parentheses. 405
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpClient.java
Rule Violation Line
UselessParentheses Useless parentheses. 624625
UselessParentheses Useless parentheses. 625627
UselessParentheses Useless parentheses. 764765
UselessParentheses Useless parentheses. 784785
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpConnectionHandler.java
Rule Violation Line
UselessParentheses Useless parentheses. 140141
UselessParentheses Useless parentheses. 283
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpHeader.java
Rule Violation Line
UselessParentheses Useless parentheses. 150
UselessParentheses Useless parentheses. 150
UselessParentheses Useless parentheses. 152
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpHeaderParser.java
Rule Violation Line
UselessParentheses Useless parentheses. 84
UselessParentheses Useless parentheses. 109110
UselessParentheses Useless parentheses. 145
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpServerConnection.java
Rule Violation Line
UselessParentheses Useless parentheses. 138
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpServerMethod.java
Rule Violation Line
UselessParentheses Useless parentheses. 110
org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpSocketFactory.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Provider' due to existing import 'java.security.Provider' 187
UselessParentheses Useless parentheses. 245
org/sentrysoftware/wbem/sblim/cimclient/internal/http/MessageReader.java
Rule Violation Line
UselessParentheses Useless parentheses. 93
UselessParentheses Useless parentheses. 93
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 187
UselessParentheses Useless parentheses. 187
UselessParentheses Useless parentheses. 189
org/sentrysoftware/wbem/sblim/cimclient/internal/http/MessageWriter.java
Rule Violation Line
UselessParentheses Useless parentheses. 184
org/sentrysoftware/wbem/sblim/cimclient/internal/http/WwwAuthInfo.java
Rule Violation Line
UselessParentheses Useless parentheses. 8889
UselessParentheses Useless parentheses. 93
UselessParentheses Useless parentheses. 105
UselessParentheses Useless parentheses. 153
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 236
UselessParentheses Useless parentheses. 261
UselessParentheses Useless parentheses. 293
UselessParentheses Useless parentheses. 322
UselessParentheses Useless parentheses. 325327
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ASCIIPrintStream.java
Rule Violation Line
UselessParentheses Useless parentheses. 371
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/BoundedInputStream.java
Rule Violation Line
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 122
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ChunkedInputStream.java
Rule Violation Line
UselessParentheses Useless parentheses. 116
UselessParentheses Useless parentheses. 116
UselessParentheses Useless parentheses. 148
UselessParentheses Useless parentheses. 203
UselessParentheses Useless parentheses. 203
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ChunkedOutputStream.java
Rule Violation Line
UselessParentheses Useless parentheses. 105
UselessParentheses Useless parentheses. 105
org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/DebugInputStream.java
Rule Violation Line
UselessParentheses Useless parentheses. 151
UselessParentheses Useless parentheses. 151
UselessParentheses Useless parentheses. 151
UselessParentheses Useless parentheses. 151
UselessParentheses Useless parentheses. 152
org/sentrysoftware/wbem/sblim/cimclient/internal/logging/LogAndTraceBroker.java
Rule Violation Line
UselessParentheses Useless parentheses. 184
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 340341
UselessParentheses Useless parentheses. 342343
UselessParentheses Useless parentheses. 512513
UselessParentheses Useless parentheses. 514515
UselessParentheses Useless parentheses. 823
org/sentrysoftware/wbem/sblim/cimclient/internal/pullparser/XMLPullParser.java
Rule Violation Line
UselessParentheses Useless parentheses. 328
UselessParentheses Useless parentheses. 920921
UselessParentheses Useless parentheses. 943
UselessParentheses Useless parentheses. 944946
UselessParentheses Useless parentheses. 1133
org/sentrysoftware/wbem/sblim/cimclient/internal/uri/KeyValuePair.java
Rule Violation Line
UselessParentheses Useless parentheses. 103
org/sentrysoftware/wbem/sblim/cimclient/internal/uri/URIString.java
Rule Violation Line
ExtendsObject No need to explicitly extend Object. 52
org/sentrysoftware/wbem/sblim/cimclient/internal/util/MOF.java
Rule Violation Line
UselessParentheses Useless parentheses. 485
org/sentrysoftware/wbem/sblim/cimclient/internal/util/ThreadPool.java
Rule Violation Line
UselessParentheses Useless parentheses. 125
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 232
UselessParentheses Useless parentheses. 236
org/sentrysoftware/wbem/sblim/cimclient/internal/util/Util.java
Rule Violation Line
UselessParentheses Useless parentheses. 100
org/sentrysoftware/wbem/sblim/cimclient/internal/util/XMLHostStr.java
Rule Violation Line
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 141
UselessParentheses Useless parentheses. 157
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/CIMError.java
Rule Violation Line
UselessParentheses Useless parentheses. 168
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/EnumerateResponseDOM.java
Rule Violation Line
UselessParentheses Useless parentheses. 121
UselessParentheses Useless parentheses. 121
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/EnumerateResponsePULL.java
Rule Violation Line
UselessParentheses Useless parentheses. 117
UselessParentheses Useless parentheses. 117
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/EnumerateResponseSAX.java
Rule Violation Line
UselessParentheses Useless parentheses. 125
UselessParentheses Useless parentheses. 125
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/WBEMClientCIMXML.java
Rule Violation Line
UselessParentheses Useless parentheses. 234
UselessParentheses Useless parentheses. 242243
UselessParentheses Useless parentheses. 245247
UselessParentheses Useless parentheses. 253
UselessParentheses Useless parentheses. 255256
UselessParentheses Useless parentheses. 255
UselessParentheses Useless parentheses. 1629
UselessParentheses Useless parentheses. 1818
UselessParentheses Useless parentheses. 1886
UselessParentheses Useless parentheses. 2079
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/indications/CIMIndicationHandler.java
Rule Violation Line
UselessParentheses Useless parentheses. 526527
UselessParentheses Useless parentheses. 539
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/indications/ReliableIndicationHandler.java
Rule Violation Line
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 340
UselessParentheses Useless parentheses. 340
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 410
org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMOperation.java
Rule Violation Line
UselessParentheses Useless parentheses. 110
org/sentrysoftware/wbem/sblim/slp/ServiceURL.java
Rule Violation Line
UselessParentheses Useless parentheses. 337
UselessParentheses Useless parentheses. 337
org/sentrysoftware/wbem/sblim/slp/internal/SLPConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 399
org/sentrysoftware/wbem/sblim/slp/internal/msg/MsgFactory.java
Rule Violation Line
UnnecessaryImport Unnecessary import from the current package 'org.sentrysoftware.wbem.sblim.slp.internal.msg.FunctionIDs' 50
org/sentrysoftware/wbem/sblim/slp/internal/msg/RequestMessage.java
Rule Violation Line
UnnecessaryImport Unnecessary import from the current package 'org.sentrysoftware.wbem.sblim.slp.internal.msg.SLPMessage' 53
org/sentrysoftware/wbem/sblim/slp/internal/msg/SLPOutputStream.java
Rule Violation Line
UselessParentheses Useless parentheses. 420
org/sentrysoftware/wbem/sblim/slp/internal/msg/Util.java
Rule Violation Line
UselessParentheses Useless parentheses. 63
org/sentrysoftware/wbem/sblim/slp/internal/sa/MessageTable.java
Rule Violation Line
UselessParentheses Useless parentheses. 84
org/sentrysoftware/wbem/sblim/slp/internal/ua/ResponseCache.java
Rule Violation Line
UselessParentheses Useless parentheses. 77

Files

org/sentrysoftware/wbem/client/WbemExecutor.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'matsyaWbemClient': resource specifications are implicitly final 3 162

org/sentrysoftware/wbem/javax/cim/CIMArgument.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 98

org/sentrysoftware/wbem/javax/cim/CIMClass.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pIsAssociation'. 3 132
UnusedFormalParameter Avoid unused constructor parameters such as 'pIsKeyed'. 3 133
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 206
SimplifiedTernary Ternary operators that can be simplified with || or && 3 263

org/sentrysoftware/wbem/javax/cim/CIMClassProperty.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 116

org/sentrysoftware/wbem/javax/cim/CIMDataType.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 141
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 617
SimplifiedTernary Ternary operators that can be simplified with || or && 3 622623
UselessParentheses Useless parentheses. 4 622623
UselessParentheses Useless parentheses. 4 624

org/sentrysoftware/wbem/javax/cim/CIMDateTime.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 85
UnusedFormalParameter Avoid unused constructor parameters such as 'pDateString'. 3 97

org/sentrysoftware/wbem/javax/cim/CIMDateTimeAbsolute.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 298
UselessParentheses Useless parentheses. 4 352

org/sentrysoftware/wbem/javax/cim/CIMDateTimeInterval.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 112113
UselessParentheses Useless parentheses. 4 112
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 368
UnusedFormalParameter Avoid unused method parameters such as 'pMsg'. 3 562

org/sentrysoftware/wbem/javax/cim/CIMElement.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 62

org/sentrysoftware/wbem/javax/cim/CIMFlavor.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 58

org/sentrysoftware/wbem/javax/cim/CIMInstance.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 70
UnusedFormalParameter Avoid unused method parameters such as 'pProp1'. 3 362

org/sentrysoftware/wbem/javax/cim/CIMMethod.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 121

org/sentrysoftware/wbem/javax/cim/CIMObjectPath.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 122
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3 211
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 3 214
UselessParentheses Useless parentheses. 4 466467

org/sentrysoftware/wbem/javax/cim/CIMParameter.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 109

org/sentrysoftware/wbem/javax/cim/CIMProperty.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 130

org/sentrysoftware/wbem/javax/cim/CIMQualifiedElementInterface.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type 3 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type 3 71
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifierCount': the method is declared in an interface type 3 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifiers': the method is declared in an interface type 3 85
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifierValue': the method is declared in an interface type 3 96
UnnecessaryModifier Unnecessary modifier 'public' on method 'hasQualifier': the method is declared in an interface type 3 107
UnnecessaryModifier Unnecessary modifier 'public' on method 'hasQualifierValue': the method is declared in an interface type 3 122

org/sentrysoftware/wbem/javax/cim/CIMQualifier.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 139

org/sentrysoftware/wbem/javax/cim/CIMQualifierType.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 124

org/sentrysoftware/wbem/javax/cim/CIMScope.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 57

org/sentrysoftware/wbem/javax/wbem/CloseableIterator.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'close': the method is declared in an interface type 3 71
UnnecessaryModifier Unnecessary modifier 'public' on method 'getWBEMException': the method is declared in an interface type 3 80

org/sentrysoftware/wbem/javax/wbem/client/PasswordCredential.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 59

org/sentrysoftware/wbem/javax/wbem/client/RoleCredential.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 59

org/sentrysoftware/wbem/javax/wbem/client/RolePrincipal.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 56

org/sentrysoftware/wbem/javax/wbem/client/UserPrincipal.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 57

org/sentrysoftware/wbem/javax/wbem/client/WBEMClient.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorClasses': the method is declared in an interface type 3 161164
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorInstances': the method is declared in an interface type 3 238240
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorNames': the method is declared in an interface type 3 302304
UnnecessaryModifier Unnecessary modifier 'public' on method 'associatorPaths': the method is declared in an interface type 3 441444
UnnecessaryModifier Unnecessary modifier 'public' on method 'associators': the method is declared in an interface type 3 601605
UnnecessaryModifier Unnecessary modifier 'public' on method 'close': the method is declared in an interface type 3 610
UnnecessaryModifier Unnecessary modifier 'public' on method 'closeEnumeration': the method is declared in an interface type 3 628
UnnecessaryModifier Unnecessary modifier 'public' on method 'createClass': the method is declared in an interface type 3 655
UnnecessaryModifier Unnecessary modifier 'public' on method 'createInstance': the method is declared in an interface type 3 684
UnnecessaryModifier Unnecessary modifier 'public' on method 'deleteClass': the method is declared in an interface type 3 713
UnnecessaryModifier Unnecessary modifier 'public' on method 'deleteInstance': the method is declared in an interface type 3 735
UnnecessaryModifier Unnecessary modifier 'public' on method 'deleteQualifierType': the method is declared in an interface type 3 759
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateClasses': the method is declared in an interface type 3 808810
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateClassNames': the method is declared in an interface type 3 846847
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstanceNames': the method is declared in an interface type 3 872873
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstancePaths': the method is declared in an interface type 3 980982
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type 3 10331035
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type 3 11671170
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateQualifierTypes': the method is declared in an interface type 3 11961197
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerationCount': the method is declared in an interface type 3 12271228
UnnecessaryModifier Unnecessary modifier 'public' on method 'execQuery': the method is declared in an interface type 3 12601261
UnnecessaryModifier Unnecessary modifier 'public' on method 'execQueryInstances': the method is declared in an interface type 3 13901393
UnnecessaryModifier Unnecessary modifier 'public' on method 'getClass': the method is declared in an interface type 3 14461447
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstance': the method is declared in an interface type 3 14931494
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstancePaths': the method is declared in an interface type 3 15331534
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstances': the method is declared in an interface type 3 15751576
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInstancesWithPath': the method is declared in an interface type 3 16151616
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type 3 1627
UnnecessaryModifier Unnecessary modifier 'public' on method 'getQualifierType': the method is declared in an interface type 3 1653
UnnecessaryModifier Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type 3 16721673
UnnecessaryModifier Unnecessary modifier 'public' on method 'invokeMethod': the method is declared in an interface type 3 17071709
UnnecessaryModifier Unnecessary modifier 'public' on method 'modifyClass': the method is declared in an interface type 3 1740
UnnecessaryModifier Unnecessary modifier 'public' on method 'modifyInstance': the method is declared in an interface type 3 1775
UnnecessaryModifier Unnecessary modifier 'public' on method 'referenceNames': the method is declared in an interface type 3 19431944
UnnecessaryModifier Unnecessary modifier 'public' on method 'referencePaths': the method is declared in an interface type 3 20642067
UnnecessaryModifier Unnecessary modifier 'public' on method 'references': the method is declared in an interface type 3 22032206
UnnecessaryModifier Unnecessary modifier 'public' on method 'setLocales': the method is declared in an interface type 3 2214
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type 3 2228
UnnecessaryModifier Unnecessary modifier 'public' on method 'setQualifierType': the method is declared in an interface type 3 2253

org/sentrysoftware/wbem/javax/wbem/client/WBEMClientFactory.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 77

org/sentrysoftware/wbem/javax/wbem/listener/IndicationListener.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type 3 68

org/sentrysoftware/wbem/javax/wbem/listener/WBEMListener.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type 3 7273
UnnecessaryModifier Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type 3 9293
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type 3 102
UnnecessaryModifier Unnecessary modifier 'public' on method 'removeListener': the method is declared in an interface type 3 110
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type 3 122

org/sentrysoftware/wbem/javax/wbem/listener/WBEMListenerFactory.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 74

org/sentrysoftware/wbem/sblim/cimclient/CIMXMLTraceListener.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'traceCIMXML': the method is declared in an interface type 3 66

org/sentrysoftware/wbem/sblim/cimclient/IndicationListenerSBLIM.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type 3 7475

org/sentrysoftware/wbem/sblim/cimclient/LogListener.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'log': the method is declared in an interface type 3 67

org/sentrysoftware/wbem/sblim/cimclient/TraceListener.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type 3 67
UnnecessaryModifier Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type 3 81

org/sentrysoftware/wbem/sblim/cimclient/WBEMClientSBLIM.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type 3 9091
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperties': the method is declared in an interface type 3 104
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperties': the method is declared in an interface type 3 121
UnnecessaryModifier Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type 3 136
UnnecessaryModifier Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type 3 154
UnnecessaryModifier Unnecessary modifier 'public' on method 'getLocalProperties': the method is declared in an interface type 3 169
UnnecessaryModifier Unnecessary modifier 'public' on method 'setLocalProperties': the method is declared in an interface type 3 188
UnnecessaryModifier Unnecessary modifier 'public' on method 'setLocalProperty': the method is declared in an interface type 3 208
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCustomSocketFactory': the method is declared in an interface type 3 217
UnnecessaryModifier Unnecessary modifier 'public' on method 'setCustomSocketFactory': the method is declared in an interface type 3 229
UnnecessaryModifier Unnecessary modifier 'public' on method 'enumerateNamespaces': the method is declared in an interface type 3 246247
UnnecessaryModifier Unnecessary modifier 'public' on method 'isActive': the method is declared in an interface type 3 256
UnnecessaryModifier Unnecessary modifier 'public' on method 'sendIndication': the method is declared in an interface type 3 277

org/sentrysoftware/wbem/sblim/cimclient/WBEMConfigurationProperties.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type 3 98
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type 3 108
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type 3 149
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type 3 161
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type 3 172
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type 3 183
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type 3 194
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type 3 205
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type 3 247
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type 3 259
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type 3 270
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type 3 282
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type 3 296
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type 3 310
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_WWW_AUTHENTICATE_INFO': the field is declared in an interface type 3 331
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type 3 342
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type 3 352
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type 3 363
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type 3 374
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type 3 385
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type 3 396
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_PATH': the field is declared in an interface type 3 405
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type 3 415
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_PASSWORD': the field is declared in an interface type 3 424
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PATH': the field is declared in an interface type 3 433
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type 3 443
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PASSWORD': the field is declared in an interface type 3 452
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_SOCKET_PROVIDER': the field is declared in an interface type 3 464
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_SERVER_SOCKET_PROVIDER': the field is declared in an interface type 3 476
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_PROTOCOL': the field is declared in an interface type 3 488
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PROTOCOL': the field is declared in an interface type 3 498
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PROTOCOL': the field is declared in an interface type 3 508
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_KEYMANAGER_ALGORITHM': the field is declared in an interface type 3 521
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_TRUSTMANAGER_ALGORITHM': the field is declared in an interface type 3 534
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type 3 549
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type 3 580
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type 3 591
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type 3 603
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type 3 618
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type 3 630
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_TRACE_STREAM': the field is declared in an interface type 3 655
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type 3 675
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type 3 687
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type 3 704
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type 3 717
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type 3 732
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type 3 747
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type 3 764
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type 3 776
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type 3 791
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type 3 806
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type 3 821
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type 3 833
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type 3 851
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type 3 865
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type 3 878
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type 3 889
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type 3 904
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type 3 918
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type 3 931
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type 3 944
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type 3 974
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type 3 991
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type 3 1008
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type 3 1027
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_INDICATION_TRACE_FILTER': the field is declared in an interface type 3 1054
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type 3 1071
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type 3 1088
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type 3 1106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type 3 1124
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type 3 1145
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type 3 1153

org/sentrysoftware/wbem/sblim/cimclient/WBEMListenerSBLIM.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 175
UselessParentheses Useless parentheses. 4 185

org/sentrysoftware/wbem/sblim/cimclient/discovery/AdvertisementCatalog.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'EventListener': member interfaces are implicitly static 3 8499
UnnecessaryModifier Unnecessary modifier 'public' on method 'advertisementEvent': the method is declared in an interface type 3 98
UselessParentheses Useless parentheses. 4 383385

org/sentrysoftware/wbem/sblim/cimclient/discovery/Discoverer.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'findWbemServices': the method is declared in an interface type 3 62
UnnecessaryModifier Unnecessary modifier 'public' on method 'findDirectoryServices': the method is declared in an interface type 3 72

org/sentrysoftware/wbem/sblim/cimclient/discovery/DiscovererFactory.java

Rule Violation Priority Line
UnnecessaryImport Unnecessary import from the current package 'org.sentrysoftware.wbem.sblim.cimclient.discovery.Discoverer' 4 47

org/sentrysoftware/wbem/sblim/cimclient/discovery/WBEMProtocol.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 118
UselessParentheses Useless parentheses. 4 119

org/sentrysoftware/wbem/sblim/cimclient/discovery/WBEMServiceAdvertisement.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_TYPE': the field is declared in an interface type 3 75
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_VERSION': the field is declared in an interface type 3 81
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_DESCRIPTION': the field is declared in an interface type 3 87
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TEMPLATE_URL_SYNTAX': the field is declared in an interface type 3 99
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVICE_HI_NAME': the field is declared in an interface type 3 106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVICE_HI_DESC': the field is declared in an interface type 3 113
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVICE_ID': the field is declared in an interface type 3 119
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'COMM_MECHANISM': the field is declared in an interface type 3 131
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'OTHER_COMM_MECHN_DESC': the field is declared in an interface type 3 143
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INTEROP_NS': the field is declared in an interface type 3 151
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROTOCOL_VERSION': the field is declared in an interface type 3 158
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_SUPP': the field is declared in an interface type 3 173
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_DESC': the field is declared in an interface type 3 184
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULT_OPERATIONS_SUPP': the field is declared in an interface type 3 192
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_MECH_SUPP': the field is declared in an interface type 3 202
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'AUTH_MECH_DESC': the field is declared in an interface type 3 212
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type 3 221
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASSINFO': the field is declared in an interface type 3 232
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REG_PROF_SUPP': the field is declared in an interface type 3 255
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDirectory': the method is declared in an interface type 3 262
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getConcreteServiceType': the method is declared in an interface type 3 271
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getInteropNamespaces': the method is declared in an interface type 3 278
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getServiceUrl': the method is declared in an interface type 3 285
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttribute': the method is declared in an interface type 3 294
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttributes': the method is declared in an interface type 3 302
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getServiceId': the method is declared in an interface type 3 309
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'isExpired': the method is declared in an interface type 3 316
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'setExpired': the method is declared in an interface type 3 327
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'createClient': the method is declared in an interface type 3 343

org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMHelper.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9193
UselessParentheses Useless parentheses. 4 227229
PrimitiveWrapperInstantiation Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` 3 307
PrimitiveWrapperInstantiation Do not use `new Short(...)`, prefer `Short.valueOf(...)` 3 311
PrimitiveWrapperInstantiation Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` 3 315
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 3 319
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 3 339
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3 343

org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMOctetString.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 150
UselessParentheses Useless parentheses. 4 150
UselessParentheses Useless parentheses. 4 150
UnusedLocalVariable Avoid unused local variables such as 'idxHex'. 3 456
UselessParentheses Useless parentheses. 4 457

org/sentrysoftware/wbem/sblim/cimclient/internal/cim/CIMVersion.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8890
UselessParentheses Useless parentheses. 4 147

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMClientXML_HelperImpl.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'pLocalPath'. 3 966

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMMessage.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 149150
UselessParentheses Useless parentheses. 4 151

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMXMLBuilderImpl.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 1015
UselessParentheses Useless parentheses. 4 1180
UselessParentheses Useless parentheses. 4 1286
CollapsibleIfStatements These nested if statements could be combined 3 15761579

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CIMXMLParserImpl.java

Rule Violation Priority Line
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 3 1168
CollapsibleIfStatements These nested if statements could be combined 3 1179
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3 1181
UselessParentheses Useless parentheses. 4 17591760
UselessParentheses Useless parentheses. 4 1759
UselessParentheses Useless parentheses. 4 1762
UselessParentheses Useless parentheses. 4 23152316
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 3 3735
CollapsibleIfStatements These nested if statements could be combined 3 37393740
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3 3742
EmptyControlStatement Empty if statement 3 38783880

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/CimXmlSerializer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 216
UselessParentheses Useless parentheses. 4 216

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/CIMObjectFactory.java

Rule Violation Priority Line
PrimitiveWrapperInstantiation Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` 3 462
PrimitiveWrapperInstantiation Do not use `new Short(...)`, prefer `Short.valueOf(...)` 3 472
PrimitiveWrapperInstantiation Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` 3 482
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 3 492
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 3 503
CollapsibleIfStatements These nested if statements could be combined 3 514515
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3 517

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/EmbObjHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 179180
UselessParentheses Useless parentheses. 4 190
UselessParentheses Useless parentheses. 4 200
UselessParentheses Useless parentheses. 4 347348

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/NodeConstIf.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIM': the field is declared in an interface type 3 71
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLARATION': the field is declared in an interface type 3 84
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLGROUP': the field is declared in an interface type 3 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHNAME': the field is declared in an interface type 3 108
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHPATH': the field is declared in an interface type 3 120
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'QUALIFIER_DECLARATION': the field is declared in an interface type 3 138
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SCOPE': the field is declared in an interface type 3 159
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE': the field is declared in an interface type 3 172
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_ARRAY': the field is declared in an interface type 3 185
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_REFERENCE': the field is declared in an interface type 3 197
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_REFARRAY': the field is declared in an interface type 3 209
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_OBJECT': the field is declared in an interface type 3 221
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDINSTANCE': the field is declared in an interface type 3 234
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDOBJECT': the field is declared in an interface type 3 246
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHLOCALPATH': the field is declared in an interface type 3 259
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHPATH': the field is declared in an interface type 3 272
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_NULL': the field is declared in an interface type 3 283
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VALUE_INSTANCEWITHPATH': the field is declared in an interface type 3 296
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NAMESPACEPATH': the field is declared in an interface type 3 307
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALNAMESPACEPATH': the field is declared in an interface type 3 319
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HOST': the field is declared in an interface type 3 330
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type 3 344
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASSPATH': the field is declared in an interface type 3 355
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALCLASSPATH': the field is declared in an interface type 3 368
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASSNAME': the field is declared in an interface type 3 381
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INSTANCEPATH': the field is declared in an interface type 3 392
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALINSTANCEPATH': the field is declared in an interface type 3 403
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INSTANCENAME': the field is declared in an interface type 3 417
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'OBJECTPATH': the field is declared in an interface type 3 429
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYBINDING': the field is declared in an interface type 3 442
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYVALUE': the field is declared in an interface type 3 457
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CLASS': the field is declared in an interface type 3 471
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INSTANCE': the field is declared in an interface type 3 485
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'QUALIFIER': the field is declared in an interface type 3 502
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROPERTY': the field is declared in an interface type 3 522
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROPERTY_ARRAY': the field is declared in an interface type 3 542
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PROPERTY_REFERENCE': the field is declared in an interface type 3 560
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'METHOD': the field is declared in an interface type 3 577
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER': the field is declared in an interface type 3 592
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER_REFERENCE': the field is declared in an interface type 3 607
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER_ARRAY': the field is declared in an interface type 3 623
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMETER_REFARRAY': the field is declared in an interface type 3 639
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type 3 657
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIREQ': the field is declared in an interface type 3 668
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIEXPREQ': the field is declared in an interface type 3 679
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLEREQ': the field is declared in an interface type 3 690
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLEEXPREQ': the field is declared in an interface type 3 701
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IMETHODCALL': the field is declared in an interface type 3 714
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'METHODCALL': the field is declared in an interface type 3 728
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'EXPMETHODCALL': the field is declared in an interface type 3 741
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PARAMVALUE': the field is declared in an interface type 3 757
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IPARAMVALUE': the field is declared in an interface type 3 771
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'EXPPARAMVALUE': the field is declared in an interface type 3 785
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIRSP': the field is declared in an interface type 3 796
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTIEXPRSP': the field is declared in an interface type 3 807
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLERSP': the field is declared in an interface type 3 818
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SIMPLEEXPRSP': the field is declared in an interface type 3 829
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'METHODRESPONSE': the field is declared in an interface type 3 844
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'EXPMETHODRESPONSE': the field is declared in an interface type 3 858
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IMETHODRESPONSE': the field is declared in an interface type 3 872
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ERROR': the field is declared in an interface type 3 887
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'RETURNVALUE': the field is declared in an interface type 3 902
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IRETURNVALUE': the field is declared in an interface type 3 914
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CORRELATOR': the field is declared in an interface type 3 928

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/NodeFactory.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'create': the method is declared in an interface type 3 96

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/NodePool.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 154
UselessParentheses Useless parentheses. 4 158

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/XMLDefaultHandlerImpl.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 185186

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ArrayIf.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'size': the method is declared in an interface type 3 54
UnnecessaryModifier Unnecessary modifier 'public' on method 'elementAt': the method is declared in an interface type 3 62

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/CIMNode.java

Rule Violation Priority Line
UnnecessaryReturn Avoid unnecessary return statements 3 98
UselessParentheses Useless parentheses. 4 151

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ErrorIf.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getCIMError': the method is declared in an interface type 3 56

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/IParamValueNode.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 161162

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/IReturnValueNode.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 128

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/InstanceNameNode.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 111112

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/KeyValueNode.java

Rule Violation Priority Line
PrimitiveWrapperInstantiation Do not use `new Long(...)`, prefer `Long.valueOf(...)` 3 177
CollapsibleIfStatements These nested if statements could be combined 3 188
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3 190

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/LocalNameSpacePathNode.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 132133

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/Node.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 288289
UselessParentheses Useless parentheses. 4 288

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/NonVolatileIf.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'addChild': the method is declared in an interface type 3 57

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ParamValueNode.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 125129
CollapsibleIfStatements These nested if statements could be combined 3 126128

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/PropertyArrayNode.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 95

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/PropertyNode.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 93

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/RetValPipeIf.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getReturnValueCount': the method is declared in an interface type 3 54
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'readReturnValue': the method is declared in an interface type 3 61

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleExpReqNode.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 7072

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleReqNode.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 7274

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/TypedIf.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type 3 56

org/sentrysoftware/wbem/sblim/cimclient/internal/cimxml/sax/node/ValueIf.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type 3 57

org/sentrysoftware/wbem/sblim/cimclient/internal/discovery/slp/DiscovererSLP.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 75

org/sentrysoftware/wbem/sblim/cimclient/internal/http/AuthorizationInfo.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 396397
UselessParentheses Useless parentheses. 4 396
SimplifiedTernary Ternary operators that can be simplified with || or && 3 398399
UselessParentheses Useless parentheses. 4 398
SimplifiedTernary Ternary operators that can be simplified with || or && 3 400401
UselessParentheses Useless parentheses. 4 400
SimplifiedTernary Ternary operators that can be simplified with || or && 3 402403
UselessParentheses Useless parentheses. 4 402
SimplifiedTernary Ternary operators that can be simplified with || or && 3 404
UselessParentheses Useless parentheses. 4 404
UselessParentheses Useless parentheses. 4 405

org/sentrysoftware/wbem/sblim/cimclient/internal/http/Challenge.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 151157
CollapsibleIfStatements These nested if statements could be combined 3 273

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpClient.java

Rule Violation Priority Line
EmptyControlStatement Empty else statement 3 330332
EmptyCatchBlock Avoid empty catch blocks 3 459461
UselessParentheses Useless parentheses. 4 624625
UselessParentheses Useless parentheses. 4 625627
UselessParentheses Useless parentheses. 4 764765
UselessParentheses Useless parentheses. 4 784785
EmptyControlStatement Empty for statement 3 10981101

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpConnectionHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 140141
UselessParentheses Useless parentheses. 4 283

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpException.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'cimError'. 3 99

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpHeader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 150
UselessParentheses Useless parentheses. 4 150
UselessParentheses Useless parentheses. 4 152
EmptyControlStatement Empty else statement 3 274276

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpHeaderParser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 84
EmptyControlStatement Empty while statement 3 9497
UselessParentheses Useless parentheses. 4 109110
EmptyControlStatement Empty while statement 3 120123
UselessParentheses Useless parentheses. 4 145

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpMethod.java

Rule Violation Priority Line
EmptyControlStatement Empty for statement 3 114116

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpServerConnection.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 138
AvoidUsingHardCodedIP Do not hard code the IP address 3 206
AvoidUsingHardCodedIP Do not hard code the IP address 3 218
AvoidThreadGroup Avoid using java.lang.ThreadGroup; it is not thread safe 3 236
EmptyCatchBlock Avoid empty catch blocks 3 291293
EmptyCatchBlock Avoid empty catch blocks 3 302304
EmptyCatchBlock Avoid empty catch blocks 3 418420

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpServerMethod.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110

org/sentrysoftware/wbem/sblim/cimclient/internal/http/HttpSocketFactory.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Provider' due to existing import 'java.security.Provider' 4 187
UselessParentheses Useless parentheses. 4 245
UnnecessaryReturn Avoid unnecessary return statements 3 401
UnnecessaryReturn Avoid unnecessary return statements 3 409

org/sentrysoftware/wbem/sblim/cimclient/internal/http/MessageReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 93
UselessParentheses Useless parentheses. 4 93
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 187
UselessParentheses Useless parentheses. 4 187
UselessParentheses Useless parentheses. 4 189

org/sentrysoftware/wbem/sblim/cimclient/internal/http/MessageWriter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 184

org/sentrysoftware/wbem/sblim/cimclient/internal/http/WwwAuthInfo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 8889
UselessParentheses Useless parentheses. 4 93
UselessParentheses Useless parentheses. 4 105
UselessParentheses Useless parentheses. 4 153
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 236
UselessParentheses Useless parentheses. 4 261
EmptyCatchBlock Avoid empty catch blocks 3 270277
UselessParentheses Useless parentheses. 4 293
UselessParentheses Useless parentheses. 4 322
UselessParentheses Useless parentheses. 4 325327

org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ASCIIPrintStream.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pEncoding'. 3 110
UselessParentheses Useless parentheses. 4 371

org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/BoundedInputStream.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 122
EmptyControlStatement Empty while statement 3 145147

org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ChunkedInputStream.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 116
UselessParentheses Useless parentheses. 4 116
UselessParentheses Useless parentheses. 4 148
UselessParentheses Useless parentheses. 4 203
UselessParentheses Useless parentheses. 4 203
EmptyControlStatement Empty while statement 3 211213

org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/ChunkedOutputStream.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 105
UselessParentheses Useless parentheses. 4 105

org/sentrysoftware/wbem/sblim/cimclient/internal/http/io/DebugInputStream.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 151
UselessParentheses Useless parentheses. 4 151
UselessParentheses Useless parentheses. 4 151
UselessParentheses Useless parentheses. 4 151
UselessParentheses Useless parentheses. 4 152

org/sentrysoftware/wbem/sblim/cimclient/internal/logging/LogAndTraceBroker.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 184
UselessParentheses Useless parentheses. 4 185
EmptyCatchBlock Avoid empty catch blocks 3 186188
EmptyCatchBlock Avoid empty catch blocks 3 222224
EmptyCatchBlock Avoid empty catch blocks 3 251253
EmptyCatchBlock Avoid empty catch blocks 3 285287
EmptyCatchBlock Avoid empty catch blocks 3 321323
UselessParentheses Useless parentheses. 4 340341
UselessParentheses Useless parentheses. 4 342343
EmptyCatchBlock Avoid empty catch blocks 3 361363
EmptyCatchBlock Avoid empty catch blocks 3 367369
UselessParentheses Useless parentheses. 4 512513
UselessParentheses Useless parentheses. 4 514515
EmptyCatchBlock Avoid empty catch blocks 3 666668
EmptyCatchBlock Avoid empty catch blocks 3 689691
EmptyCatchBlock Avoid empty catch blocks 3 714716
EmptyCatchBlock Avoid empty catch blocks 3 740742
EmptyCatchBlock Avoid empty catch blocks 3 810812
UselessParentheses Useless parentheses. 4 823

org/sentrysoftware/wbem/sblim/cimclient/internal/logging/Messages.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on field 'GREETING': the field is declared in an interface type 3 56
UnnecessaryModifier Unnecessary modifier 'public' on field 'RELEASE': the field is declared in an interface type 3 61
UnnecessaryModifier Unnecessary modifier 'public' on field 'OS': the field is declared in an interface type 3 66
UnnecessaryModifier Unnecessary modifier 'public' on field 'JRE': the field is declared in an interface type 3 71
UnnecessaryModifier Unnecessary modifier 'public' on field 'JVM': the field is declared in an interface type 3 76
UnnecessaryModifier Unnecessary modifier 'public' on field 'CONFIGURATION_URL': the field is declared in an interface type 3 81
UnnecessaryModifier Unnecessary modifier 'public' on field 'CONFIGURATION_LOAD_FAILED': the field is declared in an interface type 3 86
UnnecessaryModifier Unnecessary modifier 'public' on field 'EXCEPTION_DURING_CONFIGURATION_LOAD': the field is declared in an interface type 3 91
UnnecessaryModifier Unnecessary modifier 'public' on field 'INVALID_KEY_IN_CONFIG_FILE': the field is declared in an interface type 3 96
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_PROXY_AUTH_UNSUPPORTED': the field is declared in an interface type 3 101
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_CONNECTION_FAILED': the field is declared in an interface type 3 106
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_NO_SOCKET_FACTORY': the field is declared in an interface type 3 111
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_AUTH_MODULE_INVALID': the field is declared in an interface type 3 116
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_INVALID_HEADER': the field is declared in an interface type 3 121
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_HANDLE_CONNECTION_FAILED': the field is declared in an interface type 3 126
UnnecessaryModifier Unnecessary modifier 'public' on field 'HTTP_PEGASUS_LOCAL_AUTH_READ': the field is declared in an interface type 3 131
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_JSSE_PROVIDER_LOAD_FAILED': the field is declared in an interface type 3 136
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_FOUND': the field is declared in an interface type 3 141
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_READABLE': the field is declared in an interface type 3 146
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_CERT': the field is declared in an interface type 3 151
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_UNRECOVERABLE_KEY': the field is declared in an interface type 3 156
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID': the field is declared in an interface type 3 161
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_OTHER': the field is declared in an interface type 3 166
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_FALLBACK': the field is declared in an interface type 3 171
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_CONTEXT_INIT_FAILED': the field is declared in an interface type 3 176
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_ALGORITHM': the field is declared in an interface type 3 181
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NULL': the field is declared in an interface type 3 186
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_FOUND': the field is declared in an interface type 3 191
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_READABLE': the field is declared in an interface type 3 196
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_CERT': the field is declared in an interface type 3 201
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID': the field is declared in an interface type 3 206
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_OTHER': the field is declared in an interface type 3 211
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK': the field is declared in an interface type 3 216
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_ALGORITHM': the field is declared in an interface type 3 221
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_ACTIVE': the field is declared in an interface type 3 226
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NULL': the field is declared in an interface type 3 231
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INACTIVE': the field is declared in an interface type 3 236
UnnecessaryModifier Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK_NOTRUST': the field is declared in an interface type 3 241
UnnecessaryModifier Unnecessary modifier 'public' on field 'CIM_XMLHELPER_FAILED': the field is declared in an interface type 3 246
UnnecessaryModifier Unnecessary modifier 'public' on field 'TEST_MESSAGE': the field is declared in an interface type 3 251

org/sentrysoftware/wbem/sblim/cimclient/internal/pullparser/XMLPullParser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 328
EmptyControlStatement Empty else statement 3 381383
EmptyControlStatement Empty if statement 3 726733
UselessParentheses Useless parentheses. 4 920921
UselessParentheses Useless parentheses. 4 943
UselessParentheses Useless parentheses. 4 944946
EmptyControlStatement Empty if statement 3 997999
EmptyControlStatement Empty else statement 3 10001002
UnnecessaryReturn Avoid unnecessary return statements 3 1010
UselessParentheses Useless parentheses. 4 1133
EmptyControlStatement Empty else statement 3 11841186

org/sentrysoftware/wbem/sblim/cimclient/internal/uri/KeyValuePair.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103

org/sentrysoftware/wbem/sblim/cimclient/internal/uri/KeyValuePairs.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 7578

org/sentrysoftware/wbem/sblim/cimclient/internal/uri/NamespacePath.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 87

org/sentrysoftware/wbem/sblim/cimclient/internal/uri/QuotedValue.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'toQuotedString': the method is declared in an interface type 3 55

org/sentrysoftware/wbem/sblim/cimclient/internal/uri/RealValue.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 9495

org/sentrysoftware/wbem/sblim/cimclient/internal/uri/URI.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'pTyped'. 3 347

org/sentrysoftware/wbem/sblim/cimclient/internal/uri/URIString.java

Rule Violation Priority Line
ExtendsObject No need to explicitly extend Object. 4 52

org/sentrysoftware/wbem/sblim/cimclient/internal/util/MOF.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 485

org/sentrysoftware/wbem/sblim/cimclient/internal/util/ThreadPool.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 125
AvoidThreadGroup Avoid using java.lang.ThreadGroup; it is not thread safe 3 201
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 232
UselessParentheses Useless parentheses. 4 236

org/sentrysoftware/wbem/sblim/cimclient/internal/util/Util.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 100

org/sentrysoftware/wbem/sblim/cimclient/internal/util/WBEMConfiguration.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 226228
EmptyCatchBlock Avoid empty catch blocks 3 272274

org/sentrysoftware/wbem/sblim/cimclient/internal/util/WBEMConfigurationDefaults.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type 3 8486
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type 3 91
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type 3 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type 3 101
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type 3 106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type 3 111
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type 3 116
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type 3 121
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type 3 126
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type 3 131
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type 3 136
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type 3 141
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type 3 146
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type 3 151
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type 3 156
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type 3 161
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type 3 166
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type 3 171
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type 3 176
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type 3 181
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type 3 186
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type 3 191
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type 3 196
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type 3 201
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type 3 206
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type 3 211
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type 3 216
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type 3 221
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type 3 226
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type 3 231
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type 3 236
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type 3 241
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type 3 246
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type 3 251
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type 3 256
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type 3 261
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type 3 266
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type 3 271
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type 3 276
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type 3 281
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type 3 286
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type 3 291
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type 3 296
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type 3 301
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type 3 306
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type 3 311
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type 3 316
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type 3 321
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type 3 326
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_DEF_PROTOCOL': the field is declared in an interface type 3 331
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type 3 336
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type 3 341
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type 3 346
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type 3 351
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type 3 356
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type 3 361
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type 3 366

org/sentrysoftware/wbem/sblim/cimclient/internal/util/WBEMConstants.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP': the field is declared in an interface type 3 65
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTPS': the field is declared in an interface type 3 70
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_PORT': the field is declared in an interface type 3 75
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_SECURE_PORT': the field is declared in an interface type 3 80
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CIMOM_PATH': the field is declared in an interface type 3 85
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_LOCALES': the field is declared in an interface type 3 90
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_MPOST': the field is declared in an interface type 3 95
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_POST': the field is declared in an interface type 3 100
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type 3 105
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TRACE': the field is declared in an interface type 3 110
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DOM': the field is declared in an interface type 3 115
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'PULL': the field is declared in an interface type 3 120
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SAX': the field is declared in an interface type 3 125
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF8': the field is declared in an interface type 3 130
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MIN_HIGH_SURROGATE': the field is declared in an interface type 3 136
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MIN_LOW_SURROGATE': the field is declared in an interface type 3 142
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MAX_HIGH_SURROGATE': the field is declared in an interface type 3 148
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UTF16_MAX_LOW_SURROGATE': the field is declared in an interface type 3 154
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UNICODE_MIN_SUPPLEMENTARY_CODE_POINT': the field is declared in an interface type 3 159
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'UNICODE_MAX_CODE_POINT': the field is declared in an interface type 3 164
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_CODE': the field is declared in an interface type 3 169
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_DESCRIPTION': the field is declared in an interface type 3 174
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ISO_8859_1': the field is declared in an interface type 3 179
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'OS_NAME': the field is declared in an interface type 3 184
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'Z_OS': the field is declared in an interface type 3 189
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'INDICATION_DOS_EXCEPTION_MESSAGE': the field is declared in an interface type 3 194

org/sentrysoftware/wbem/sblim/cimclient/internal/util/XMLHostStr.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 141
UselessParentheses Useless parentheses. 4 157

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/CIMError.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 168

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/CloseableIteratorDOM.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 139

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/CloseableIteratorSAX.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 147148

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/EnumerateResponseDOM.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 121
UselessParentheses Useless parentheses. 4 121

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/EnumerateResponsePULL.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 117
UselessParentheses Useless parentheses. 4 117

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/EnumerateResponseSAX.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 125
UselessParentheses Useless parentheses. 4 125

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/WBEMClientCIMXML.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 234
UselessParentheses Useless parentheses. 4 242243
UselessParentheses Useless parentheses. 4 245247
UselessParentheses Useless parentheses. 4 253
UselessParentheses Useless parentheses. 4 255256
UselessParentheses Useless parentheses. 4 255
EmptyCatchBlock Avoid empty catch blocks 3 10611063
UselessParentheses Useless parentheses. 4 1629
SimplifiedTernary Ternary operators that can be simplified with || or && 3 17321733
UselessParentheses Useless parentheses. 4 1818
UselessParentheses Useless parentheses. 4 1886
UselessParentheses Useless parentheses. 4 2079

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/indications/CIMIndicationHandler.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 186188
UselessParentheses Useless parentheses. 4 526527
UselessParentheses Useless parentheses. 4 539

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/indications/ReliableIndicationHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 340
UselessParentheses Useless parentheses. 4 340
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 410
UnnecessaryReturn Avoid unnecessary return statements 3 659

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorNamesOp.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pResultRole'. 3 77

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorsOp.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pResultRole'. 3 84

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMGetClassOp.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pPropertyList'. 3 76

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMOperation.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110

org/sentrysoftware/wbem/sblim/cimclient/internal/wbem/operations/CIMReferencesOp.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'pPropertyList'. 3 78

org/sentrysoftware/wbem/sblim/slp/Advertiser.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type 3 67
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'register': the method is declared in an interface type 3 8182
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'deregister': the method is declared in an interface type 3 94
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'addAttributes': the method is declared in an interface type 3 109110
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'deleteAttributes': the method is declared in an interface type 3 128129

org/sentrysoftware/wbem/sblim/slp/Locator.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type 3 68
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type 3 8586
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type 3 109111
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type 3 134135
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type 3 163165
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 3 188189
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 3 218220
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 3 244245
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type 3 274276

org/sentrysoftware/wbem/sblim/slp/SLPConfigProperties.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_CONFIG_URL': the field is declared in an interface type 3 74
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type 3 84
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type 3 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ADDRESSES': the field is declared in an interface type 3 129
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ATTRIBUTES': the field is declared in an interface type 3 138
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type 3 148
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_HEARTBEAT': the field is declared in an interface type 3 158
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_DATAGRAM_TIMEOUTS': the field is declared in an interface type 3 167
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_INTERFACES': the field is declared in an interface type 3 191
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_BROADCAST_ONLY': the field is declared in an interface type 3 198
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_DA': the field is declared in an interface type 3 206
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_LOCALE': the field is declared in an interface type 3 217
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MAX_RESULTS': the field is declared in an interface type 3 234
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MTU': the field is declared in an interface type 3 244
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 3 252
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TIMEOUTS': the field is declared in an interface type 3 270
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TTL': the field is declared in an interface type 3 277
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_PASSIVE_DA_DETECTION': the field is declared in an interface type 3 286
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_PORT': the field is declared in an interface type 3 293
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV6': the field is declared in an interface type 3 300
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV4': the field is declared in an interface type 3 307
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_RANDOM_WAIT_BOUND': the field is declared in an interface type 3 317
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SA_ATTRIBUTES': the field is declared in an interface type 3 326
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SAONLY_SCOPES': the field is declared in an interface type 3 335
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SECURITY_ENABLED': the field is declared in an interface type 3 344
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SERIALIZED_REG_URL': the field is declared in an interface type 3 355
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 3 365
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TCPTIMEOUT': the field is declared in an interface type 3 375
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DA_TRAFFIC': the field is declared in an interface type 3 384
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DROP': the field is declared in an interface type 3 394
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_MSG': the field is declared in an interface type 3 402
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_REG': the field is declared in an interface type 3 413
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TYPE_HINT': the field is declared in an interface type 3 434
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_USE_SCOPES': the field is declared in an interface type 3 452
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'NET_SLP_TRC_LEVEL': the field is declared in an interface type 3 459

org/sentrysoftware/wbem/sblim/slp/ServiceLocationAttributeDescriptor.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getId': the method is declared in an interface type 3 67
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getValueType': the method is declared in an interface type 3 102
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type 3 109
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAllowedValues': the method is declared in an interface type 3 118
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDefaultValues': the method is declared in an interface type 3 127
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getRequiresExplicitMatch': the method is declared in an interface type 3 135
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsMultivalued': the method is declared in an interface type 3 142
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsOptional': the method is declared in an interface type 3 149
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsLiteral': the method is declared in an interface type 3 156
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getIsKeyword': the method is declared in an interface type 3 164

org/sentrysoftware/wbem/sblim/slp/ServiceLocationAttributeVerifier.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getServiceType': the method is declared in an interface type 3 70
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type 3 77
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getVersion': the method is declared in an interface type 3 84
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getURLSyntax': the method is declared in an interface type 3 91
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type 3 98
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptor': the method is declared in an interface type 3 111
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptors': the method is declared in an interface type 3 123
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'verifyAttribute': the method is declared in an interface type 3 136137
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'verifyRegistration': the method is declared in an interface type 3 152153

org/sentrysoftware/wbem/sblim/slp/ServiceLocationEnumeration.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'next': the method is declared in an interface type 3 72
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'nextException': the method is declared in an interface type 3 85
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'hasMoreExceptions': the method is declared in an interface type 3 91

org/sentrysoftware/wbem/sblim/slp/ServiceURL.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 337
UselessParentheses Useless parentheses. 4 337

org/sentrysoftware/wbem/sblim/slp/internal/SLPConfig.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 193195
UselessParentheses Useless parentheses. 4 399
EmptyCatchBlock Avoid empty catch blocks 3 458460
EmptyCatchBlock Avoid empty catch blocks 3 558560
EmptyCatchBlock Avoid empty catch blocks 3 560562
EmptyCatchBlock Avoid empty catch blocks 3 572574

org/sentrysoftware/wbem/sblim/slp/internal/SLPDefaults.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ALL_AUTHORITIES': the field is declared in an interface type 3 68
AvoidUsingHardCodedIP Do not hard code the IP address 3 73
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'BROADCAST_ADDRESS': the field is declared in an interface type 3 73
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'CONF_URLS': the field is declared in an interface type 3 7882
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type 3 87
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DA_SERVICE_TYPE': the field is declared in an interface type 3 92
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DATAGRAM_TIMEOUTS': the field is declared in an interface type 3 97
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DEFAULT_SCOPE': the field is declared in an interface type 3 102
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type 3 107
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type 3 112
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOCALE': the field is declared in an interface type 3 117
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOG_FILE': the field is declared in an interface type 3 122
AvoidUsingHardCodedIP Do not hard code the IP address 3 127
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V4': the field is declared in an interface type 3 127
AvoidUsingHardCodedIP Do not hard code the IP address 3 132
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V6': the field is declared in an interface type 3 132
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LOOPBACK_NAME': the field is declared in an interface type 3 137
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAXIMUM_RESULTS': the field is declared in an interface type 3 142
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MTU': the field is declared in an interface type 3 147
AvoidUsingHardCodedIP Do not hard code the IP address 3 152
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_ADDRESS': the field is declared in an interface type 3 152
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 3 157
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_RADIUS': the field is declared in an interface type 3 162
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MULTICAST_TIMEOUTS': the field is declared in an interface type 3 167
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SA_SERVICE_TYPE': the field is declared in an interface type 3 172
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 3 177
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SLP_PORT': the field is declared in an interface type 3 182
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'USE_IPV6': the field is declared in an interface type 3 187
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'USE_IPV4': the field is declared in an interface type 3 192
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SLP_VERSION': the field is declared in an interface type 3 197
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'TCP_TIMEOUT': the field is declared in an interface type 3 202
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ENCODING': the field is declared in an interface type 3 207
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DACACHE_TIMEOUT': the field is declared in an interface type 3 212
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'IPV6_MULTICAST_SCOPE': the field is declared in an interface type 3 217

org/sentrysoftware/wbem/sblim/slp/internal/SLPLimits.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_GRANULARITY': the field is declared in an interface type 3 56
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_INTERVAL': the field is declared in an interface type 3 61
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_MTU': the field is declared in an interface type 3 66
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 3 71
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_RADIUS': the field is declared in an interface type 3 76
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 3 81
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MAX_TCP_TIMEOUT': the field is declared in an interface type 3 86
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_GRANULARITY': the field is declared in an interface type 3 91
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_INTERVAL': the field is declared in an interface type 3 96
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_MTU': the field is declared in an interface type 3 101
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type 3 106
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_RADIUS': the field is declared in an interface type 3 111
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type 3 116
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'MIN_TCP_TIMEOUT': the field is declared in an interface type 3 121

org/sentrysoftware/wbem/sblim/slp/internal/msg/FunctionIDs.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_RQST': the field is declared in an interface type 3 53
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_RPLY': the field is declared in an interface type 3 58
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_REG': the field is declared in an interface type 3 63
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_DEREG': the field is declared in an interface type 3 68
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_ACK': the field is declared in an interface type 3 73
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTR_RQST': the field is declared in an interface type 3 78
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTR_RPLY': the field is declared in an interface type 3 83
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'DA_ADVERT': the field is declared in an interface type 3 88
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RQST': the field is declared in an interface type 3 93
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RPLY': the field is declared in an interface type 3 98
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SA_ADVERT': the field is declared in an interface type 3 103
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'FIRST_ID': the field is declared in an interface type 3 108
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'LAST_ID': the field is declared in an interface type 3 113

org/sentrysoftware/wbem/sblim/slp/internal/msg/MsgFactory.java

Rule Violation Priority Line
UnnecessaryImport Unnecessary import from the current package 'org.sentrysoftware.wbem.sblim.slp.internal.msg.FunctionIDs' 4 50
UnnecessaryModifier Unnecessary modifier 'public' on method 'parse': the method is declared in an interface type 3 7475

org/sentrysoftware/wbem/sblim/slp/internal/msg/RequestMessage.java

Rule Violation Priority Line
UnnecessaryImport Unnecessary import from the current package 'org.sentrysoftware.wbem.sblim.slp.internal.msg.SLPMessage' 4 53

org/sentrysoftware/wbem/sblim/slp/internal/msg/SLPInputStream.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'ch'. 3 490

org/sentrysoftware/wbem/sblim/slp/internal/msg/SLPOutputStream.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 420

org/sentrysoftware/wbem/sblim/slp/internal/msg/Util.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 63

org/sentrysoftware/wbem/sblim/slp/internal/sa/DatagramThread.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 112114

org/sentrysoftware/wbem/sblim/slp/internal/sa/MessageTable.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 84

org/sentrysoftware/wbem/sblim/slp/internal/sa/ServiceTable.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 224

org/sentrysoftware/wbem/sblim/slp/internal/sa/TCPThread.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8284

org/sentrysoftware/wbem/sblim/slp/internal/ua/DatagramRequester.java

Rule Violation Priority Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 315
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 358

org/sentrysoftware/wbem/sblim/slp/internal/ua/ResponseCache.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 77
No results.