WBEM Java Client 1.0.02
-
Home
- Project Documentation Project Reports 10
PMD Results
The following document contains the results of PMD[1] 7.7.0.
Violations By Priority
Priority 2
org/metricshub/wbem/sblim/slp/internal/ua/DatagramRequester.java
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop[2] | Avoid using a branching statement as the last in a loop. | 308[3] |
AvoidBranchingStatementAsLastInLoop[2] | Avoid using a branching statement as the last in a loop. | 349[4] |
Priority 3
org/metricshub/wbem/client/WbemExecutor.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'final' on resource specification 'matsyaWbemClient': resource specifications are implicitly final | 137[6] |
org/metricshub/wbem/javax/cim/CIMClass.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pIsAssociation'. | 132[8] |
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pIsKeyed'. | 133[9] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 283[11] |
org/metricshub/wbem/javax/cim/CIMDataType.java
Rule | Violation | Line |
---|---|---|
OverrideBothEqualsAndHashcode[12] | Ensure you override both equals() and hashCode() | 611[13] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 616[14] |
org/metricshub/wbem/javax/cim/CIMDateTime.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pDateString'. | 94[15] |
org/metricshub/wbem/javax/cim/CIMDateTimeInterval.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pMsg'. | 629[16] |
org/metricshub/wbem/javax/cim/CIMInstance.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pProp1'. | 374[17] |
org/metricshub/wbem/javax/cim/CIMObjectPath.java
Rule | Violation | Line |
---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 205[19] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 208[20] |
org/metricshub/wbem/javax/cim/CIMQualifiedElementInterface.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type | 58[21] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type | 68[22] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifierCount': the method is declared in an interface type | 75[23] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifiers': the method is declared in an interface type | 82[24] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifierValue': the method is declared in an interface type | 93[25] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'hasQualifier': the method is declared in an interface type | 104[26] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'hasQualifierValue': the method is declared in an interface type | 119[27] |
org/metricshub/wbem/javax/wbem/client/WBEMClient.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorClasses': the method is declared in an interface type | 157[28] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorInstances': the method is declared in an interface type | 241[29] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorNames': the method is declared in an interface type | 312[30] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorPaths': the method is declared in an interface type | 456[31] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associators': the method is declared in an interface type | 625[32] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'close': the method is declared in an interface type | 644[33] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'closeEnumeration': the method is declared in an interface type | 662[34] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'createClass': the method is declared in an interface type | 689[35] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'createInstance': the method is declared in an interface type | 718[36] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'deleteClass': the method is declared in an interface type | 747[37] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'deleteInstance': the method is declared in an interface type | 769[38] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'deleteQualifierType': the method is declared in an interface type | 793[39] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateClasses': the method is declared in an interface type | 842[40] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateClassNames': the method is declared in an interface type | 885[41] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstanceNames': the method is declared in an interface type | 910[42] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstancePaths': the method is declared in an interface type | 1017[43] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type | 1076[44] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type | 1215[45] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateQualifierTypes': the method is declared in an interface type | 1252[46] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerationCount': the method is declared in an interface type | 1282[47] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'execQuery': the method is declared in an interface type | 1314[48] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'execQueryInstances': the method is declared in an interface type | 1444[49] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getClass': the method is declared in an interface type | 1507[50] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstance': the method is declared in an interface type | 1560[51] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstancePaths': the method is declared in an interface type | 1605[52] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstances': the method is declared in an interface type | 1651[53] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstancesWithPath': the method is declared in an interface type | 1695[54] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type | 1711[55] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifierType': the method is declared in an interface type | 1737[56] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type | 1756[57] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'invokeMethod': the method is declared in an interface type | 1791[58] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'modifyClass': the method is declared in an interface type | 1828[59] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'modifyInstance': the method is declared in an interface type | 1863[60] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'referenceNames': the method is declared in an interface type | 2042[61] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'referencePaths': the method is declared in an interface type | 2163[62] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'references': the method is declared in an interface type | 2309[63] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setLocales': the method is declared in an interface type | 2329[64] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type | 2343[65] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setQualifierType': the method is declared in an interface type | 2368[66] |
org/metricshub/wbem/javax/wbem/listener/IndicationListener.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type | 64[67] |
org/metricshub/wbem/javax/wbem/listener/WBEMListener.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type | 69[68] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type | 88[69] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type | 98[70] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'removeListener': the method is declared in an interface type | 106[71] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type | 118[72] |
org/metricshub/wbem/sblim/cimclient/CIMXMLTraceListener.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'traceCIMXML': the method is declared in an interface type | 63[73] |
org/metricshub/wbem/sblim/cimclient/IndicationListenerSBLIM.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type | 70[74] |
org/metricshub/wbem/sblim/cimclient/LogListener.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'log': the method is declared in an interface type | 64[75] |
org/metricshub/wbem/sblim/cimclient/TraceListener.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type | 64[76] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type | 78[77] |
org/metricshub/wbem/sblim/cimclient/WBEMClientSBLIM.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type | 86[78] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperties': the method is declared in an interface type | 99[79] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperties': the method is declared in an interface type | 116[80] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type | 131[81] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type | 149[82] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getLocalProperties': the method is declared in an interface type | 164[83] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setLocalProperties': the method is declared in an interface type | 183[84] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setLocalProperty': the method is declared in an interface type | 203[85] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getCustomSocketFactory': the method is declared in an interface type | 212[86] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setCustomSocketFactory': the method is declared in an interface type | 224[87] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateNamespaces': the method is declared in an interface type | 241[88] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'isActive': the method is declared in an interface type | 250[89] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'sendIndication': the method is declared in an interface type | 271[90] |
org/metricshub/wbem/sblim/cimclient/WBEMConfigurationProperties.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type | 95[91] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type | 105[92] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type | 146[93] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type | 158[94] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type | 169[95] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type | 180[96] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type | 191[97] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type | 202[98] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type | 244[99] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type | 256[100] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type | 267[101] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type | 279[102] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type | 293[103] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type | 307[104] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_WWW_AUTHENTICATE_INFO': the field is declared in an interface type | 328[105] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type | 339[106] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type | 349[107] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type | 360[108] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type | 371[109] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type | 382[110] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type | 393[111] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_PATH': the field is declared in an interface type | 402[112] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type | 412[113] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_PASSWORD': the field is declared in an interface type | 421[114] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PATH': the field is declared in an interface type | 430[115] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type | 440[116] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PASSWORD': the field is declared in an interface type | 449[117] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_SOCKET_PROVIDER': the field is declared in an interface type | 461[118] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_SERVER_SOCKET_PROVIDER': the field is declared in an interface type | 473[119] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_PROTOCOL': the field is declared in an interface type | 485[120] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PROTOCOL': the field is declared in an interface type | 495[121] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PROTOCOL': the field is declared in an interface type | 505[122] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_KEYMANAGER_ALGORITHM': the field is declared in an interface type | 518[123] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_TRUSTMANAGER_ALGORITHM': the field is declared in an interface type | 531[124] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type | 546[125] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type | 577[126] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type | 588[127] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type | 600[128] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type | 615[129] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type | 627[130] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_TRACE_STREAM': the field is declared in an interface type | 652[131] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type | 672[132] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type | 684[133] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type | 701[134] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type | 715[135] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type | 730[136] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type | 745[137] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type | 762[138] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type | 774[139] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type | 789[140] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type | 804[141] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type | 819[142] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type | 831[143] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type | 849[144] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type | 863[145] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type | 876[146] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type | 887[147] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type | 902[148] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type | 916[149] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type | 929[150] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type | 942[151] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type | 972[152] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type | 989[153] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type | 1006[154] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type | 1025[155] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_INDICATION_TRACE_FILTER': the field is declared in an interface type | 1053[156] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type | 1070[157] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type | 1087[158] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type | 1105[159] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type | 1123[160] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type | 1144[161] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type | 1153[162] |
org/metricshub/wbem/sblim/cimclient/discovery/AdvertisementCatalog.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'static' on interface 'EventListener': member interfaces are implicitly static | 81[163] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'advertisementEvent': the method is declared in an interface type | 94[164] |
org/metricshub/wbem/sblim/cimclient/discovery/Discoverer.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'findWbemServices': the method is declared in an interface type | 59[165] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'findDirectoryServices': the method is declared in an interface type | 69[166] |
org/metricshub/wbem/sblim/cimclient/discovery/WBEMServiceAdvertisement.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_TYPE': the field is declared in an interface type | 71[167] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_VERSION': the field is declared in an interface type | 77[168] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_DESCRIPTION': the field is declared in an interface type | 83[169] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_URL_SYNTAX': the field is declared in an interface type | 95[170] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVICE_HI_NAME': the field is declared in an interface type | 102[171] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVICE_HI_DESC': the field is declared in an interface type | 109[172] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVICE_ID': the field is declared in an interface type | 115[173] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'COMM_MECHANISM': the field is declared in an interface type | 127[174] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'OTHER_COMM_MECHN_DESC': the field is declared in an interface type | 139[175] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INTEROP_NS': the field is declared in an interface type | 147[176] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROTOCOL_VERSION': the field is declared in an interface type | 154[177] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_SUPP': the field is declared in an interface type | 169[178] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_DESC': the field is declared in an interface type | 180[179] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULT_OPERATIONS_SUPP': the field is declared in an interface type | 188[180] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'AUTH_MECH_SUPP': the field is declared in an interface type | 198[181] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'AUTH_MECH_DESC': the field is declared in an interface type | 208[182] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type | 217[183] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASSINFO': the field is declared in an interface type | 228[184] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'REG_PROF_SUPP': the field is declared in an interface type | 251[185] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDirectory': the method is declared in an interface type | 258[186] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getConcreteServiceType': the method is declared in an interface type | 267[187] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getInteropNamespaces': the method is declared in an interface type | 274[188] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getServiceUrl': the method is declared in an interface type | 281[189] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttribute': the method is declared in an interface type | 290[190] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttributes': the method is declared in an interface type | 298[191] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getServiceId': the method is declared in an interface type | 305[192] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'isExpired': the method is declared in an interface type | 312[193] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'setExpired': the method is declared in an interface type | 323[194] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'createClient': the method is declared in an interface type | 339[195] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMHelper.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 87[197]–89[198] |
PrimitiveWrapperInstantiation[18] | Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` | 328[199] |
PrimitiveWrapperInstantiation[18] | Do not use `new Short(...)`, prefer `Short.valueOf(...)` | 332[200] |
PrimitiveWrapperInstantiation[18] | Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` | 336[201] |
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 340[202] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 360[203] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 364[204] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMVersion.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 85[205]–87[206] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMClientXML_HelperImpl.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pLocalPath'. | 983[207] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMXMLBuilderImpl.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 1005[208] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 1569[210]–1578[211] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMXMLParserImpl.java
Rule | Violation | Line |
---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 1190[212] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 1201[213] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 1203[214] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3828[215] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3832[216]–3834[217] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3836[218] |
EmptyControlStatement[219] | Empty if statement | 3975[220]–3977[221] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/CIMObjectFactory.java
Rule | Violation | Line |
---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` | 475[222] |
PrimitiveWrapperInstantiation[18] | Do not use `new Short(...)`, prefer `Short.valueOf(...)` | 488[223] |
PrimitiveWrapperInstantiation[18] | Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` | 501[224] |
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 514[225] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 528[226] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 542[227]–544[228] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 546[229] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/NodeConstIf.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIM': the field is declared in an interface type | 68[230] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLARATION': the field is declared in an interface type | 81[231] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLGROUP': the field is declared in an interface type | 93[232] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHNAME': the field is declared in an interface type | 105[233] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHPATH': the field is declared in an interface type | 117[234] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'QUALIFIER_DECLARATION': the field is declared in an interface type | 135[235] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SCOPE': the field is declared in an interface type | 156[236] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE': the field is declared in an interface type | 169[237] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_ARRAY': the field is declared in an interface type | 182[238] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_REFERENCE': the field is declared in an interface type | 194[239] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_REFARRAY': the field is declared in an interface type | 206[240] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_OBJECT': the field is declared in an interface type | 218[241] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDINSTANCE': the field is declared in an interface type | 231[242] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDOBJECT': the field is declared in an interface type | 243[243] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHLOCALPATH': the field is declared in an interface type | 256[244] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHPATH': the field is declared in an interface type | 269[245] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_NULL': the field is declared in an interface type | 280[246] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_INSTANCEWITHPATH': the field is declared in an interface type | 293[247] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NAMESPACEPATH': the field is declared in an interface type | 304[248] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALNAMESPACEPATH': the field is declared in an interface type | 316[249] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HOST': the field is declared in an interface type | 327[250] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type | 341[251] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASSPATH': the field is declared in an interface type | 352[252] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALCLASSPATH': the field is declared in an interface type | 365[253] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASSNAME': the field is declared in an interface type | 378[254] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INSTANCEPATH': the field is declared in an interface type | 389[255] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALINSTANCEPATH': the field is declared in an interface type | 400[256] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INSTANCENAME': the field is declared in an interface type | 414[257] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'OBJECTPATH': the field is declared in an interface type | 426[258] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYBINDING': the field is declared in an interface type | 439[259] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYVALUE': the field is declared in an interface type | 454[260] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASS': the field is declared in an interface type | 468[261] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INSTANCE': the field is declared in an interface type | 482[262] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'QUALIFIER': the field is declared in an interface type | 499[263] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROPERTY': the field is declared in an interface type | 519[264] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROPERTY_ARRAY': the field is declared in an interface type | 539[265] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROPERTY_REFERENCE': the field is declared in an interface type | 557[266] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'METHOD': the field is declared in an interface type | 574[267] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER': the field is declared in an interface type | 589[268] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER_REFERENCE': the field is declared in an interface type | 604[269] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER_ARRAY': the field is declared in an interface type | 620[270] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER_REFARRAY': the field is declared in an interface type | 636[271] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type | 654[272] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIREQ': the field is declared in an interface type | 665[273] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIEXPREQ': the field is declared in an interface type | 676[274] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLEREQ': the field is declared in an interface type | 687[275] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLEEXPREQ': the field is declared in an interface type | 698[276] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IMETHODCALL': the field is declared in an interface type | 711[277] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'METHODCALL': the field is declared in an interface type | 725[278] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'EXPMETHODCALL': the field is declared in an interface type | 738[279] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMVALUE': the field is declared in an interface type | 754[280] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IPARAMVALUE': the field is declared in an interface type | 768[281] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'EXPPARAMVALUE': the field is declared in an interface type | 782[282] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIRSP': the field is declared in an interface type | 793[283] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIEXPRSP': the field is declared in an interface type | 804[284] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLERSP': the field is declared in an interface type | 815[285] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLEEXPRSP': the field is declared in an interface type | 826[286] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'METHODRESPONSE': the field is declared in an interface type | 841[287] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'EXPMETHODRESPONSE': the field is declared in an interface type | 855[288] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IMETHODRESPONSE': the field is declared in an interface type | 869[289] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ERROR': the field is declared in an interface type | 884[290] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'RETURNVALUE': the field is declared in an interface type | 899[291] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IRETURNVALUE': the field is declared in an interface type | 911[292] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CORRELATOR': the field is declared in an interface type | 925[293] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/NodeFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 92[294] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/XMLDefaultHandlerImpl.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 175[295]–177[296] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ArrayIf.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'size': the method is declared in an interface type | 51[297] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'elementAt': the method is declared in an interface type | 59[298] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/CIMNode.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 98[300] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ErrorIf.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getCIMError': the method is declared in an interface type | 53[301] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/InstanceNameNode.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 105[302]–107[303] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/KeyValueNode.java
Rule | Violation | Line |
---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 182[304] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 193[305] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 195[306] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/NonVolatileIf.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'addChild': the method is declared in an interface type | 54[307] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ParamValueNode.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 127[308]–135[309] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 128[310]–134[311] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/RetValPipeIf.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getReturnValueCount': the method is declared in an interface type | 51[312] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'readReturnValue': the method is declared in an interface type | 58[313] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleExpReqNode.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty if statement | 67[314]–69[315] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleReqNode.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty if statement | 69[316]–71[317] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/TypedIf.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type | 53[318] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ValueIf.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type | 54[319] |
org/metricshub/wbem/sblim/cimclient/internal/http/AuthorizationInfo.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 391[320] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 392[321] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 393[322] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 394[323] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 395[324] |
org/metricshub/wbem/sblim/cimclient/internal/http/Challenge.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty if statement | 146[325]–152[326] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 259[327] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpClient.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty else statement | 320[328]–322[329] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 527[330]–529[331] |
EmptyControlStatement[219] | Empty for statement | 1147[332]–1153[333] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpException.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'cimError'. | 96[334] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpHeader.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 178[335] |
EmptyControlStatement[219] | Empty else statement | 268[336]–270[337] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpHeaderParser.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty while statement | 90[338]–95[339] |
EmptyControlStatement[219] | Empty while statement | 116[340]–121[341] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpMethod.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty for statement | 110[342]–112[343] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpServerConnection.java
Rule | Violation | Line |
---|---|---|
AvoidUsingHardCodedIP[344] | Do not hard code the IP address ${variableName} | 202[345] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address ${variableName} | 214[346] |
AvoidThreadGroup[347] | Avoid using java.lang.ThreadGroup; it is not thread safe | 232[348] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 289[349]–291[350] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 299[351]–301[352] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 306[353]–308[354] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 384[355]–386[356] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 398[357]–400[358] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 415[359]–417[360] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpSocketFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 396[361] |
UnnecessaryReturn[299] | Unnecessary return statement | 404[362] |
org/metricshub/wbem/sblim/cimclient/internal/http/WwwAuthInfo.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 281[363]–288[364] |
org/metricshub/wbem/sblim/cimclient/internal/http/io/ASCIIPrintStream.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pEncoding'. | 107[365] |
org/metricshub/wbem/sblim/cimclient/internal/http/io/BoundedInputStream.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty while statement | 144[366]–146[367] |
org/metricshub/wbem/sblim/cimclient/internal/http/io/ChunkedInputStream.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty while statement | 207[368]–209[369] |
org/metricshub/wbem/sblim/cimclient/internal/logging/LogAndTraceBroker.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 185[370]–187[371] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 221[372]–223[373] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 250[374]–252[375] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 284[376]–286[377] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 320[378]–322[379] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 360[380]–362[381] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 366[382]–368[383] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 717[384]–719[385] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 740[386]–742[387] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 765[388]–767[389] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 791[390]–793[391] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 862[392]–864[393] |
org/metricshub/wbem/sblim/cimclient/internal/logging/Messages.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'GREETING': the field is declared in an interface type | 53[394] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'RELEASE': the field is declared in an interface type | 58[395] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'OS': the field is declared in an interface type | 63[396] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'JRE': the field is declared in an interface type | 68[397] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'JVM': the field is declared in an interface type | 73[398] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'CONFIGURATION_URL': the field is declared in an interface type | 78[399] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'CONFIGURATION_LOAD_FAILED': the field is declared in an interface type | 83[400] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'EXCEPTION_DURING_CONFIGURATION_LOAD': the field is declared in an interface type | 88[401] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'INVALID_KEY_IN_CONFIG_FILE': the field is declared in an interface type | 93[402] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_PROXY_AUTH_UNSUPPORTED': the field is declared in an interface type | 98[403] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_CONNECTION_FAILED': the field is declared in an interface type | 103[404] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_NO_SOCKET_FACTORY': the field is declared in an interface type | 108[405] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_AUTH_MODULE_INVALID': the field is declared in an interface type | 113[406] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_INVALID_HEADER': the field is declared in an interface type | 118[407] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_HANDLE_CONNECTION_FAILED': the field is declared in an interface type | 123[408] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_PEGASUS_LOCAL_AUTH_READ': the field is declared in an interface type | 128[409] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_JSSE_PROVIDER_LOAD_FAILED': the field is declared in an interface type | 133[410] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_FOUND': the field is declared in an interface type | 138[411] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_READABLE': the field is declared in an interface type | 143[412] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_CERT': the field is declared in an interface type | 148[413] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_UNRECOVERABLE_KEY': the field is declared in an interface type | 153[414] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID': the field is declared in an interface type | 158[415] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_OTHER': the field is declared in an interface type | 163[416] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_FALLBACK': the field is declared in an interface type | 168[417] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_CONTEXT_INIT_FAILED': the field is declared in an interface type | 173[418] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_ALGORITHM': the field is declared in an interface type | 178[419] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NULL': the field is declared in an interface type | 183[420] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_FOUND': the field is declared in an interface type | 188[421] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_READABLE': the field is declared in an interface type | 193[422] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_CERT': the field is declared in an interface type | 198[423] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID': the field is declared in an interface type | 203[424] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_OTHER': the field is declared in an interface type | 208[425] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK': the field is declared in an interface type | 213[426] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_ALGORITHM': the field is declared in an interface type | 218[427] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_ACTIVE': the field is declared in an interface type | 223[428] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NULL': the field is declared in an interface type | 228[429] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INACTIVE': the field is declared in an interface type | 233[430] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK_NOTRUST': the field is declared in an interface type | 238[431] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'CIM_XMLHELPER_FAILED': the field is declared in an interface type | 243[432] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'TEST_MESSAGE': the field is declared in an interface type | 248[433] |
org/metricshub/wbem/sblim/cimclient/internal/pullparser/XMLPullParser.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement[219] | Empty else statement | 377[434]–379[435] |
EmptyControlStatement[219] | Empty if statement | 724[436]–734[437] |
EmptyControlStatement[219] | Empty if statement | 1036[438]–1038[439] |
EmptyControlStatement[219] | Empty else statement | 1039[440]–1041[441] |
UnnecessaryReturn[299] | Unnecessary return statement | 1053[442] |
EmptyControlStatement[219] | Empty else statement | 1242[443]–1244[444] |
org/metricshub/wbem/sblim/cimclient/internal/uri/KeyValuePairs.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 71[445]–74[446] |
org/metricshub/wbem/sblim/cimclient/internal/uri/NamespacePath.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 84[447] |
org/metricshub/wbem/sblim/cimclient/internal/uri/QuotedValue.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'toQuotedString': the method is declared in an interface type | 52[448] |
org/metricshub/wbem/sblim/cimclient/internal/uri/RealValue.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 89[449]–91[450] |
org/metricshub/wbem/sblim/cimclient/internal/uri/URI.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pTyped'. | 333[451] |
org/metricshub/wbem/sblim/cimclient/internal/util/ThreadPool.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 143[452]–145[453] |
AvoidThreadGroup[347] | Avoid using java.lang.ThreadGroup; it is not thread safe | 202[454] |
org/metricshub/wbem/sblim/cimclient/internal/util/WBEMConfiguration.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 217[455]–219[456] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 263[457]–265[458] |
org/metricshub/wbem/sblim/cimclient/internal/util/WBEMConfigurationDefaults.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type | 81[459] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type | 90[460] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type | 95[461] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type | 100[462] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type | 105[463] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type | 110[464] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type | 115[465] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type | 120[466] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type | 125[467] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type | 130[468] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type | 135[469] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type | 140[470] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type | 145[471] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type | 150[472] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type | 155[473] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type | 160[474] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type | 165[475] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type | 170[476] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type | 175[477] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type | 180[478] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type | 185[479] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type | 190[480] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type | 195[481] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type | 200[482] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type | 205[483] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type | 210[484] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type | 215[485] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type | 220[486] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type | 225[487] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type | 230[488] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type | 235[489] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type | 240[490] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type | 245[491] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type | 250[492] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type | 255[493] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type | 260[494] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type | 265[495] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type | 270[496] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type | 275[497] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type | 280[498] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type | 285[499] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type | 290[500] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type | 295[501] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type | 300[502] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type | 305[503] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type | 310[504] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type | 315[505] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type | 320[506] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type | 325[507] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_DEF_PROTOCOL': the field is declared in an interface type | 330[508] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type | 335[509] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type | 340[510] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type | 345[511] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type | 350[512] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type | 355[513] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type | 360[514] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type | 365[515] |
org/metricshub/wbem/sblim/cimclient/internal/util/WBEMConstants.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP': the field is declared in an interface type | 62[516] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTPS': the field is declared in an interface type | 67[517] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_PORT': the field is declared in an interface type | 72[518] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_SECURE_PORT': the field is declared in an interface type | 77[519] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMOM_PATH': the field is declared in an interface type | 82[520] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_LOCALES': the field is declared in an interface type | 87[521] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_MPOST': the field is declared in an interface type | 92[522] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_POST': the field is declared in an interface type | 97[523] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type | 102[524] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE': the field is declared in an interface type | 107[525] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DOM': the field is declared in an interface type | 112[526] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PULL': the field is declared in an interface type | 117[527] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SAX': the field is declared in an interface type | 122[528] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF8': the field is declared in an interface type | 127[529] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MIN_HIGH_SURROGATE': the field is declared in an interface type | 133[530] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MIN_LOW_SURROGATE': the field is declared in an interface type | 139[531] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MAX_HIGH_SURROGATE': the field is declared in an interface type | 145[532] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MAX_LOW_SURROGATE': the field is declared in an interface type | 151[533] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UNICODE_MIN_SUPPLEMENTARY_CODE_POINT': the field is declared in an interface type | 156[534] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UNICODE_MAX_CODE_POINT': the field is declared in an interface type | 161[535] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_CODE': the field is declared in an interface type | 166[536] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_DESCRIPTION': the field is declared in an interface type | 171[537] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ISO_8859_1': the field is declared in an interface type | 176[538] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'OS_NAME': the field is declared in an interface type | 181[539] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'Z_OS': the field is declared in an interface type | 186[540] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INDICATION_DOS_EXCEPTION_MESSAGE': the field is declared in an interface type | 191[541] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/CloseableIteratorDOM.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 133[542] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/CloseableIteratorSAX.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 144[543] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/WBEMClientCIMXML.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 777[544] |
UnnecessaryReturn[299] | Unnecessary return statement | 821[545] |
UnnecessaryReturn[299] | Unnecessary return statement | 864[546] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 1076[547]–1078[548] |
UnnecessaryReturn[299] | Unnecessary return statement | 1462[549] |
UnnecessaryReturn[299] | Unnecessary return statement | 1506[550] |
UnnecessaryReturn[299] | Unnecessary return statement | 1710[551] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 1779[552] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/CIMEventDispatcher.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 174[553]–176[554] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/CIMIndicationHandler.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 180[555]–182[556] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/ReliableIndicationHandler.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 671[557] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorNamesOp.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pResultRole'. | 78[558] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorsOp.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pResultRole'. | 85[559] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMGetClassOp.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pPropertyList'. | 77[560] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMReferencesOp.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pPropertyList'. | 80[561] |
org/metricshub/wbem/sblim/slp/Advertiser.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type | 64[562] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'register': the method is declared in an interface type | 78[563] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'deregister': the method is declared in an interface type | 91[564] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'addAttributes': the method is declared in an interface type | 106[565] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'deleteAttributes': the method is declared in an interface type | 125[566] |
org/metricshub/wbem/sblim/slp/Locator.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type | 65[567] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type | 82[568] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type | 106[569] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type | 134[570] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type | 167[571] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 196[572] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 230[573] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 260[574] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 294[575] |
org/metricshub/wbem/sblim/slp/SLPConfigProperties.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_CONFIG_URL': the field is declared in an interface type | 71[576] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type | 81[577] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type | 93[578] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ADDRESSES': the field is declared in an interface type | 126[579] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ATTRIBUTES': the field is declared in an interface type | 135[580] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type | 145[581] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_HEARTBEAT': the field is declared in an interface type | 155[582] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DATAGRAM_TIMEOUTS': the field is declared in an interface type | 164[583] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_INTERFACES': the field is declared in an interface type | 188[584] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_BROADCAST_ONLY': the field is declared in an interface type | 195[585] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_DA': the field is declared in an interface type | 203[586] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_LOCALE': the field is declared in an interface type | 214[587] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MAX_RESULTS': the field is declared in an interface type | 231[588] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MTU': the field is declared in an interface type | 241[589] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 249[590] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TIMEOUTS': the field is declared in an interface type | 267[591] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TTL': the field is declared in an interface type | 274[592] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_PASSIVE_DA_DETECTION': the field is declared in an interface type | 283[593] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_PORT': the field is declared in an interface type | 290[594] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV6': the field is declared in an interface type | 297[595] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV4': the field is declared in an interface type | 304[596] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_RANDOM_WAIT_BOUND': the field is declared in an interface type | 314[597] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SA_ATTRIBUTES': the field is declared in an interface type | 323[598] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SAONLY_SCOPES': the field is declared in an interface type | 332[599] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SECURITY_ENABLED': the field is declared in an interface type | 341[600] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SERIALIZED_REG_URL': the field is declared in an interface type | 352[601] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 362[602] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TCPTIMEOUT': the field is declared in an interface type | 372[603] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DA_TRAFFIC': the field is declared in an interface type | 381[604] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DROP': the field is declared in an interface type | 391[605] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_MSG': the field is declared in an interface type | 399[606] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_REG': the field is declared in an interface type | 410[607] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TYPE_HINT': the field is declared in an interface type | 431[608] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_USE_SCOPES': the field is declared in an interface type | 449[609] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRC_LEVEL': the field is declared in an interface type | 456[610] |
org/metricshub/wbem/sblim/slp/ServiceLocationAttributeDescriptor.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getId': the method is declared in an interface type | 64[611] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getValueType': the method is declared in an interface type | 99[612] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type | 106[613] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAllowedValues': the method is declared in an interface type | 115[614] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDefaultValues': the method is declared in an interface type | 124[615] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getRequiresExplicitMatch': the method is declared in an interface type | 132[616] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsMultivalued': the method is declared in an interface type | 139[617] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsOptional': the method is declared in an interface type | 146[618] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsLiteral': the method is declared in an interface type | 153[619] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsKeyword': the method is declared in an interface type | 161[620] |
org/metricshub/wbem/sblim/slp/ServiceLocationAttributeVerifier.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getServiceType': the method is declared in an interface type | 67[621] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type | 74[622] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getVersion': the method is declared in an interface type | 81[623] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getURLSyntax': the method is declared in an interface type | 88[624] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type | 95[625] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptor': the method is declared in an interface type | 108[626] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptors': the method is declared in an interface type | 120[627] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'verifyAttribute': the method is declared in an interface type | 133[628] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'verifyRegistration': the method is declared in an interface type | 148[629] |
org/metricshub/wbem/sblim/slp/ServiceLocationEnumeration.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'next': the method is declared in an interface type | 69[630] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'nextException': the method is declared in an interface type | 82[631] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'hasMoreExceptions': the method is declared in an interface type | 88[632] |
org/metricshub/wbem/sblim/slp/internal/SLPConfig.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 188[633]–190[634] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 455[635]–457[636] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 561[637]–563[638] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 563[638]–565[639] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 575[640]–577[641] |
org/metricshub/wbem/sblim/slp/internal/SLPDefaults.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ALL_AUTHORITIES': the field is declared in an interface type | 64[642] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'BROADCAST_ADDRESS': the field is declared in an interface type | 69[643] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address BROADCAST_ADDRESS | 69[643] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CONF_URLS': the field is declared in an interface type | 74[644] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type | 84[645] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DA_SERVICE_TYPE': the field is declared in an interface type | 89[646] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DATAGRAM_TIMEOUTS': the field is declared in an interface type | 94[647] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_SCOPE': the field is declared in an interface type | 99[648] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type | 104[649] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type | 109[650] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALE': the field is declared in an interface type | 114[651] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE': the field is declared in an interface type | 119[652] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V4': the field is declared in an interface type | 124[653] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address LOOPBACK_ADDRESS_V4 | 124[653] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V6': the field is declared in an interface type | 129[654] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address LOOPBACK_ADDRESS_V6 | 129[654] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOOPBACK_NAME': the field is declared in an interface type | 134[655] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAXIMUM_RESULTS': the field is declared in an interface type | 139[656] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MTU': the field is declared in an interface type | 144[657] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_ADDRESS': the field is declared in an interface type | 149[658] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address MULTICAST_ADDRESS | 149[658] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 154[659] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_RADIUS': the field is declared in an interface type | 159[660] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_TIMEOUTS': the field is declared in an interface type | 164[661] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SA_SERVICE_TYPE': the field is declared in an interface type | 169[662] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 174[663] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SLP_PORT': the field is declared in an interface type | 179[664] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'USE_IPV6': the field is declared in an interface type | 184[665] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'USE_IPV4': the field is declared in an interface type | 189[666] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SLP_VERSION': the field is declared in an interface type | 194[667] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TCP_TIMEOUT': the field is declared in an interface type | 199[668] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ENCODING': the field is declared in an interface type | 204[669] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DACACHE_TIMEOUT': the field is declared in an interface type | 209[670] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IPV6_MULTICAST_SCOPE': the field is declared in an interface type | 214[671] |
org/metricshub/wbem/sblim/slp/internal/SLPLimits.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_GRANULARITY': the field is declared in an interface type | 53[672] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_INTERVAL': the field is declared in an interface type | 58[673] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_MTU': the field is declared in an interface type | 63[674] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 68[675] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_RADIUS': the field is declared in an interface type | 73[676] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 78[677] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_TCP_TIMEOUT': the field is declared in an interface type | 83[678] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_GRANULARITY': the field is declared in an interface type | 88[679] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_INTERVAL': the field is declared in an interface type | 93[680] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_MTU': the field is declared in an interface type | 98[681] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 103[682] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_RADIUS': the field is declared in an interface type | 108[683] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 113[684] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_TCP_TIMEOUT': the field is declared in an interface type | 118[685] |
org/metricshub/wbem/sblim/slp/internal/msg/FunctionIDs.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_RQST': the field is declared in an interface type | 50[686] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_RPLY': the field is declared in an interface type | 55[687] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_REG': the field is declared in an interface type | 60[688] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_DEREG': the field is declared in an interface type | 65[689] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_ACK': the field is declared in an interface type | 70[690] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ATTR_RQST': the field is declared in an interface type | 75[691] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ATTR_RPLY': the field is declared in an interface type | 80[692] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DA_ADVERT': the field is declared in an interface type | 85[693] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RQST': the field is declared in an interface type | 90[694] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RPLY': the field is declared in an interface type | 95[695] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SA_ADVERT': the field is declared in an interface type | 100[696] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'FIRST_ID': the field is declared in an interface type | 105[697] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LAST_ID': the field is declared in an interface type | 110[698] |
org/metricshub/wbem/sblim/slp/internal/msg/MsgFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'parse': the method is declared in an interface type | 70[699] |
org/metricshub/wbem/sblim/slp/internal/msg/SLPInputStream.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'ch'. | 492[700] |
org/metricshub/wbem/sblim/slp/internal/sa/DatagramThread.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 108[701]–110[702] |
org/metricshub/wbem/sblim/slp/internal/sa/RecieverThread.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 88[703] |
org/metricshub/wbem/sblim/slp/internal/sa/ServiceAgent.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 112[704]–114[705] |
org/metricshub/wbem/sblim/slp/internal/sa/ServiceTable.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 214[706] |
org/metricshub/wbem/sblim/slp/internal/sa/TCPThread.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 78[707]–80[708] |
Priority 4
org/metricshub/wbem/javax/cim/CIMDataType.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 616[14] |
UselessParentheses[709] | Useless parentheses. | 617[710] |
org/metricshub/wbem/javax/cim/CIMObjectPath.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 472[711] |
UselessParentheses[709] | Useless parentheses. | 475[712]–478[713] |
UselessParentheses[709] | Useless parentheses. | 520[714]–524[715] |
UselessParentheses[709] | Useless parentheses. | 526[716]–530[717] |
org/metricshub/wbem/javax/cim/CIMProperty.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 137[718]–141[719] |
org/metricshub/wbem/javax/wbem/client/RolePrincipal.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 97[720]–100[721] |
org/metricshub/wbem/javax/wbem/client/UserPrincipal.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 104[722]–107[723] |
org/metricshub/wbem/sblim/cimclient/discovery/AdvertisementCatalog.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 378[724]–382[725] |
org/metricshub/wbem/sblim/cimclient/discovery/DiscovererFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryImport[726] | Unnecessary import from the current package 'org.metricshub.wbem.sblim.cimclient.discovery.Discoverer' | 44[727] |
org/metricshub/wbem/sblim/cimclient/discovery/WBEMProtocol.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 115[728] |
UselessParentheses[709] | Useless parentheses. | 115[728] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMHelper.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 238[729]–251[730] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMOctetString.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 147[731] |
UselessParentheses[709] | Useless parentheses. | 442[732] |
UselessParentheses[709] | Useless parentheses. | 458[733] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMVersion.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 144[734] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMMessage.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 147[735] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMXMLParserImpl.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 1772[736] |
UselessParentheses[709] | Useless parentheses. | 2330[737] |
UselessParentheses[709] | Useless parentheses. | 3518[738] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/EmbObjHandler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 185[739]–189[740] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/LocalNameSpacePathNode.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 130[741]–133[742] |
org/metricshub/wbem/sblim/cimclient/internal/discovery/slp/WBEMServiceAdvertisementSLP.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 149[743]–151[744] |
org/metricshub/wbem/sblim/cimclient/internal/http/AuthorizationInfo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 396[745] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpClient.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 222[746] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpConnectionHandler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 137[747] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpHeaderParser.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 81[748] |
UselessParentheses[709] | Useless parentheses. | 107[749] |
UselessParentheses[709] | Useless parentheses. | 137[750] |
UselessParentheses[709] | Useless parentheses. | 142[751] |
UselessParentheses[709] | Useless parentheses. | 142[751] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpServerMethod.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'HttpMethod': 'readLine' is already in scope | 100[753] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpSocketFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'java.security': 'Provider' is already in scope because it is imported in this file | 179[754] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpUrlConnection.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 93[755]–101[756] |
org/metricshub/wbem/sblim/cimclient/internal/http/MessageReader.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 89[757] |
UselessParentheses[709] | Useless parentheses. | 170[758] |
UselessParentheses[709] | Useless parentheses. | 182[759] |
org/metricshub/wbem/sblim/cimclient/internal/http/WwwAuthInfo.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 94[760]–103[761] |
UselessParentheses[709] | Useless parentheses. | 247[762] |
UselessParentheses[709] | Useless parentheses. | 272[763] |
UselessParentheses[709] | Useless parentheses. | 303[764] |
UselessParentheses[709] | Useless parentheses. | 331[765] |
UselessParentheses[709] | Useless parentheses. | 336[766]–349[767] |
org/metricshub/wbem/sblim/cimclient/internal/http/io/ChunkedInputStream.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 199[768] |
UselessParentheses[709] | Useless parentheses. | 199[768] |
org/metricshub/wbem/sblim/cimclient/internal/logging/LogAndTraceBroker.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 875[769] |
org/metricshub/wbem/sblim/cimclient/internal/pullparser/XMLPullParser.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 320[770] |
UselessParentheses[709] | Useless parentheses. | 322[771] |
UselessParentheses[709] | Useless parentheses. | 335[772] |
UselessParentheses[709] | Useless parentheses. | 838[773] |
UselessParentheses[709] | Useless parentheses. | 924[774]–953[775] |
UselessParentheses[709] | Useless parentheses. | 966[776]–982[777] |
UselessParentheses[709] | Useless parentheses. | 968[778]–981[779] |
UselessParentheses[709] | Useless parentheses. | 1185[780] |
UselessParentheses[709] | Useless parentheses. | 1187[781] |
UselessParentheses[709] | Useless parentheses. | 1200[782] |
org/metricshub/wbem/sblim/cimclient/internal/uri/Authority.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 237[783]–239[784] |
org/metricshub/wbem/sblim/cimclient/internal/util/MOF.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 374[785]–381[786] |
UselessParentheses[709] | Useless parentheses. | 433[787]–444[788] |
UselessParentheses[709] | Useless parentheses. | 496[789] |
org/metricshub/wbem/sblim/cimclient/internal/util/ThreadPool.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'Thread': 'currentThread' is already in scope | 130[790] |
org/metricshub/wbem/sblim/cimclient/internal/util/Util.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 96[791] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/WBEMClientCIMXML.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 247[792]–251[793] |
UselessParentheses[709] | Useless parentheses. | 258[794]–262[795] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/CIMIndicationHandler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 301[796] |
UselessParentheses[709] | Useless parentheses. | 301[796] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/ReliableIndicationHandler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 209[797] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMOperation.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 107[798] |
org/metricshub/wbem/sblim/slp/ServiceType.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 144[799]–146[800] |
UselessParentheses[709] | Useless parentheses. | 174[801]–179[802] |
UselessParentheses[709] | Useless parentheses. | 193[803]–198[804] |
org/metricshub/wbem/sblim/slp/ServiceURL.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 217[805]–222[806] |
org/metricshub/wbem/sblim/slp/internal/AttributeHandler.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'AttributeHandler': 'escapeValue' is already in scope | 80[807] |
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'AttributeHandler': 'mkOpaqueStr' is already in scope | 101[808] |
org/metricshub/wbem/sblim/slp/internal/TRC.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 298[809]–312[810] |
org/metricshub/wbem/sblim/slp/internal/msg/AttributeReply.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 137[811]–139[812] |
org/metricshub/wbem/sblim/slp/internal/msg/AttributeRequest.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 181[813]–186[814] |
org/metricshub/wbem/sblim/slp/internal/msg/DAAdvert.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 203[815]–210[816] |
org/metricshub/wbem/sblim/slp/internal/msg/MsgFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryImport[726] | Unnecessary import from the current package 'org.metricshub.wbem.sblim.slp.internal.msg.FunctionIDs' | 48[817] |
org/metricshub/wbem/sblim/slp/internal/msg/RequestMessage.java
Rule | Violation | Line |
---|---|---|
UnnecessaryImport[726] | Unnecessary import from the current package 'org.metricshub.wbem.sblim.slp.internal.msg.SLPMessage' | 51[818] |
org/metricshub/wbem/sblim/slp/internal/msg/SAAdvert.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 153[819]–157[820] |
org/metricshub/wbem/sblim/slp/internal/msg/SLPOutputStream.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 413[821] |
org/metricshub/wbem/sblim/slp/internal/msg/ServiceDeregistration.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 149[822]–151[823] |
org/metricshub/wbem/sblim/slp/internal/msg/ServiceRegistration.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 197[824]–203[825] |
org/metricshub/wbem/sblim/slp/internal/msg/ServiceRequest.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 188[826]–193[827] |
org/metricshub/wbem/sblim/slp/internal/ua/DatagramRequester.java
Rule | Violation | Line |
---|---|---|
UselessParentheses[709] | Useless parentheses. | 235[828]–239[829] |
Files
org/metricshub/wbem/client/WbemExecutor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'final' on resource specification 'matsyaWbemClient': resource specifications are implicitly final | 3 | 137[6] |
org/metricshub/wbem/javax/cim/CIMClass.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pIsAssociation'. | 3 | 132[8] |
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pIsKeyed'. | 3 | 133[9] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 283[11] |
org/metricshub/wbem/javax/cim/CIMDataType.java
Rule | Violation | Priority | Line |
---|---|---|---|
OverrideBothEqualsAndHashcode[12] | Ensure you override both equals() and hashCode() | 3 | 611[13] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 616[14] |
UselessParentheses[709] | Useless parentheses. | 4 | 616[14] |
UselessParentheses[709] | Useless parentheses. | 4 | 617[710] |
org/metricshub/wbem/javax/cim/CIMDateTime.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pDateString'. | 3 | 94[15] |
org/metricshub/wbem/javax/cim/CIMDateTimeInterval.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pMsg'. | 3 | 629[16] |
org/metricshub/wbem/javax/cim/CIMInstance.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pProp1'. | 3 | 374[17] |
org/metricshub/wbem/javax/cim/CIMObjectPath.java
Rule | Violation | Priority | Line |
---|---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 205[19] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 208[20] |
UselessParentheses[709] | Useless parentheses. | 4 | 472[711] |
UselessParentheses[709] | Useless parentheses. | 4 | 475[712]–478[713] |
UselessParentheses[709] | Useless parentheses. | 4 | 520[714]–524[715] |
UselessParentheses[709] | Useless parentheses. | 4 | 526[716]–530[717] |
org/metricshub/wbem/javax/cim/CIMProperty.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 137[718]–141[719] |
org/metricshub/wbem/javax/cim/CIMQualifiedElementInterface.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type | 3 | 58[21] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifier': the method is declared in an interface type | 3 | 68[22] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifierCount': the method is declared in an interface type | 3 | 75[23] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifiers': the method is declared in an interface type | 3 | 82[24] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifierValue': the method is declared in an interface type | 3 | 93[25] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'hasQualifier': the method is declared in an interface type | 3 | 104[26] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'hasQualifierValue': the method is declared in an interface type | 3 | 119[27] |
org/metricshub/wbem/javax/wbem/client/RolePrincipal.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 97[720]–100[721] |
org/metricshub/wbem/javax/wbem/client/UserPrincipal.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 104[722]–107[723] |
org/metricshub/wbem/javax/wbem/client/WBEMClient.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorClasses': the method is declared in an interface type | 3 | 157[28] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorInstances': the method is declared in an interface type | 3 | 241[29] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorNames': the method is declared in an interface type | 3 | 312[30] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associatorPaths': the method is declared in an interface type | 3 | 456[31] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'associators': the method is declared in an interface type | 3 | 625[32] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'close': the method is declared in an interface type | 3 | 644[33] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'closeEnumeration': the method is declared in an interface type | 3 | 662[34] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'createClass': the method is declared in an interface type | 3 | 689[35] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'createInstance': the method is declared in an interface type | 3 | 718[36] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'deleteClass': the method is declared in an interface type | 3 | 747[37] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'deleteInstance': the method is declared in an interface type | 3 | 769[38] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'deleteQualifierType': the method is declared in an interface type | 3 | 793[39] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateClasses': the method is declared in an interface type | 3 | 842[40] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateClassNames': the method is declared in an interface type | 3 | 885[41] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstanceNames': the method is declared in an interface type | 3 | 910[42] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstancePaths': the method is declared in an interface type | 3 | 1017[43] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type | 3 | 1076[44] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateInstances': the method is declared in an interface type | 3 | 1215[45] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateQualifierTypes': the method is declared in an interface type | 3 | 1252[46] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerationCount': the method is declared in an interface type | 3 | 1282[47] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'execQuery': the method is declared in an interface type | 3 | 1314[48] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'execQueryInstances': the method is declared in an interface type | 3 | 1444[49] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getClass': the method is declared in an interface type | 3 | 1507[50] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstance': the method is declared in an interface type | 3 | 1560[51] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstancePaths': the method is declared in an interface type | 3 | 1605[52] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstances': the method is declared in an interface type | 3 | 1651[53] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getInstancesWithPath': the method is declared in an interface type | 3 | 1695[54] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type | 3 | 1711[55] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getQualifierType': the method is declared in an interface type | 3 | 1737[56] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type | 3 | 1756[57] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'invokeMethod': the method is declared in an interface type | 3 | 1791[58] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'modifyClass': the method is declared in an interface type | 3 | 1828[59] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'modifyInstance': the method is declared in an interface type | 3 | 1863[60] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'referenceNames': the method is declared in an interface type | 3 | 2042[61] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'referencePaths': the method is declared in an interface type | 3 | 2163[62] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'references': the method is declared in an interface type | 3 | 2309[63] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setLocales': the method is declared in an interface type | 3 | 2329[64] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type | 3 | 2343[65] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setQualifierType': the method is declared in an interface type | 3 | 2368[66] |
org/metricshub/wbem/javax/wbem/listener/IndicationListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type | 3 | 64[67] |
org/metricshub/wbem/javax/wbem/listener/WBEMListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type | 3 | 69[68] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'addListener': the method is declared in an interface type | 3 | 88[69] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type | 3 | 98[70] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'removeListener': the method is declared in an interface type | 3 | 106[71] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type | 3 | 118[72] |
org/metricshub/wbem/sblim/cimclient/CIMXMLTraceListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'traceCIMXML': the method is declared in an interface type | 3 | 63[73] |
org/metricshub/wbem/sblim/cimclient/IndicationListenerSBLIM.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'indicationOccured': the method is declared in an interface type | 3 | 70[74] |
org/metricshub/wbem/sblim/cimclient/LogListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'log': the method is declared in an interface type | 3 | 64[75] |
org/metricshub/wbem/sblim/cimclient/TraceListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type | 3 | 64[76] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'trace': the method is declared in an interface type | 3 | 78[77] |
org/metricshub/wbem/sblim/cimclient/WBEMClientSBLIM.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'initialize': the method is declared in an interface type | 3 | 86[78] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperties': the method is declared in an interface type | 3 | 99[79] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperties': the method is declared in an interface type | 3 | 116[80] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getProperty': the method is declared in an interface type | 3 | 131[81] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setProperty': the method is declared in an interface type | 3 | 149[82] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getLocalProperties': the method is declared in an interface type | 3 | 164[83] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setLocalProperties': the method is declared in an interface type | 3 | 183[84] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setLocalProperty': the method is declared in an interface type | 3 | 203[85] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getCustomSocketFactory': the method is declared in an interface type | 3 | 212[86] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'setCustomSocketFactory': the method is declared in an interface type | 3 | 224[87] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'enumerateNamespaces': the method is declared in an interface type | 3 | 241[88] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'isActive': the method is declared in an interface type | 3 | 250[89] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'sendIndication': the method is declared in an interface type | 3 | 271[90] |
org/metricshub/wbem/sblim/cimclient/WBEMConfigurationProperties.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type | 3 | 95[91] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type | 3 | 105[92] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type | 3 | 146[93] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type | 3 | 158[94] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type | 3 | 169[95] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type | 3 | 180[96] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type | 3 | 191[97] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type | 3 | 202[98] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type | 3 | 244[99] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type | 3 | 256[100] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type | 3 | 267[101] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type | 3 | 279[102] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type | 3 | 293[103] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type | 3 | 307[104] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_WWW_AUTHENTICATE_INFO': the field is declared in an interface type | 3 | 328[105] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type | 3 | 339[106] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type | 3 | 349[107] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type | 3 | 360[108] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type | 3 | 371[109] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type | 3 | 382[110] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type | 3 | 393[111] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_PATH': the field is declared in an interface type | 3 | 402[112] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type | 3 | 412[113] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_PASSWORD': the field is declared in an interface type | 3 | 421[114] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PATH': the field is declared in an interface type | 3 | 430[115] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type | 3 | 440[116] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_PASSWORD': the field is declared in an interface type | 3 | 449[117] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_SOCKET_PROVIDER': the field is declared in an interface type | 3 | 461[118] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_SERVER_SOCKET_PROVIDER': the field is declared in an interface type | 3 | 473[119] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_PROTOCOL': the field is declared in an interface type | 3 | 485[120] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PROTOCOL': the field is declared in an interface type | 3 | 495[121] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PROTOCOL': the field is declared in an interface type | 3 | 505[122] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_KEYMANAGER_ALGORITHM': the field is declared in an interface type | 3 | 518[123] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_TRUSTMANAGER_ALGORITHM': the field is declared in an interface type | 3 | 531[124] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type | 3 | 546[125] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type | 3 | 577[126] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type | 3 | 588[127] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_CIPHER_SUITES_TO_DISABLE': the field is declared in an interface type | 3 | 600[128] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type | 3 | 615[129] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type | 3 | 627[130] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_TRACE_STREAM': the field is declared in an interface type | 3 | 652[131] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type | 3 | 672[132] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type | 3 | 684[133] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type | 3 | 701[134] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type | 3 | 715[135] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type | 3 | 730[136] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type | 3 | 745[137] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type | 3 | 762[138] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type | 3 | 774[139] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type | 3 | 789[140] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type | 3 | 804[141] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type | 3 | 819[142] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type | 3 | 831[143] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type | 3 | 849[144] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type | 3 | 863[145] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type | 3 | 876[146] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type | 3 | 887[147] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type | 3 | 902[148] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type | 3 | 916[149] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type | 3 | 929[150] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type | 3 | 942[151] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type | 3 | 972[152] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type | 3 | 989[153] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type | 3 | 1006[154] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type | 3 | 1025[155] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_INDICATION_TRACE_FILTER': the field is declared in an interface type | 3 | 1053[156] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type | 3 | 1070[157] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type | 3 | 1087[158] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type | 3 | 1105[159] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type | 3 | 1123[160] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type | 3 | 1144[161] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type | 3 | 1153[162] |
org/metricshub/wbem/sblim/cimclient/discovery/AdvertisementCatalog.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'static' on interface 'EventListener': member interfaces are implicitly static | 3 | 81[163] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'advertisementEvent': the method is declared in an interface type | 3 | 94[164] |
UselessParentheses[709] | Useless parentheses. | 4 | 378[724]–382[725] |
org/metricshub/wbem/sblim/cimclient/discovery/Discoverer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'findWbemServices': the method is declared in an interface type | 3 | 59[165] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'findDirectoryServices': the method is declared in an interface type | 3 | 69[166] |
org/metricshub/wbem/sblim/cimclient/discovery/DiscovererFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryImport[726] | Unnecessary import from the current package 'org.metricshub.wbem.sblim.cimclient.discovery.Discoverer' | 4 | 44[727] |
org/metricshub/wbem/sblim/cimclient/discovery/WBEMProtocol.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 115[728] |
UselessParentheses[709] | Useless parentheses. | 4 | 115[728] |
org/metricshub/wbem/sblim/cimclient/discovery/WBEMServiceAdvertisement.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_TYPE': the field is declared in an interface type | 3 | 71[167] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_VERSION': the field is declared in an interface type | 3 | 77[168] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_DESCRIPTION': the field is declared in an interface type | 3 | 83[169] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TEMPLATE_URL_SYNTAX': the field is declared in an interface type | 3 | 95[170] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVICE_HI_NAME': the field is declared in an interface type | 3 | 102[171] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVICE_HI_DESC': the field is declared in an interface type | 3 | 109[172] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVICE_ID': the field is declared in an interface type | 3 | 115[173] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'COMM_MECHANISM': the field is declared in an interface type | 3 | 127[174] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'OTHER_COMM_MECHN_DESC': the field is declared in an interface type | 3 | 139[175] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INTEROP_NS': the field is declared in an interface type | 3 | 147[176] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROTOCOL_VERSION': the field is declared in an interface type | 3 | 154[177] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_SUPP': the field is declared in an interface type | 3 | 169[178] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'FUNCTIONAL_PROF_DESC': the field is declared in an interface type | 3 | 180[179] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULT_OPERATIONS_SUPP': the field is declared in an interface type | 3 | 188[180] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'AUTH_MECH_SUPP': the field is declared in an interface type | 3 | 198[181] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'AUTH_MECH_DESC': the field is declared in an interface type | 3 | 208[182] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type | 3 | 217[183] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASSINFO': the field is declared in an interface type | 3 | 228[184] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'REG_PROF_SUPP': the field is declared in an interface type | 3 | 251[185] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDirectory': the method is declared in an interface type | 3 | 258[186] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getConcreteServiceType': the method is declared in an interface type | 3 | 267[187] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getInteropNamespaces': the method is declared in an interface type | 3 | 274[188] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getServiceUrl': the method is declared in an interface type | 3 | 281[189] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttribute': the method is declared in an interface type | 3 | 290[190] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttributes': the method is declared in an interface type | 3 | 298[191] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getServiceId': the method is declared in an interface type | 3 | 305[192] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'isExpired': the method is declared in an interface type | 3 | 312[193] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'setExpired': the method is declared in an interface type | 3 | 323[194] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'createClient': the method is declared in an interface type | 3 | 339[195] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMHelper.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 87[197]–89[198] |
UselessParentheses[709] | Useless parentheses. | 4 | 238[729]–251[730] |
PrimitiveWrapperInstantiation[18] | Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` | 3 | 328[199] |
PrimitiveWrapperInstantiation[18] | Do not use `new Short(...)`, prefer `Short.valueOf(...)` | 3 | 332[200] |
PrimitiveWrapperInstantiation[18] | Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` | 3 | 336[201] |
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 340[202] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 360[203] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 364[204] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMOctetString.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 147[731] |
UselessParentheses[709] | Useless parentheses. | 4 | 442[732] |
UselessParentheses[709] | Useless parentheses. | 4 | 458[733] |
org/metricshub/wbem/sblim/cimclient/internal/cim/CIMVersion.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 85[205]–87[206] |
UselessParentheses[709] | Useless parentheses. | 4 | 144[734] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMClientXML_HelperImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pLocalPath'. | 3 | 983[207] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMMessage.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 147[735] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMXMLBuilderImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 1005[208] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 1569[210]–1578[211] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/CIMXMLParserImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 1190[212] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 1201[213] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 1203[214] |
UselessParentheses[709] | Useless parentheses. | 4 | 1772[736] |
UselessParentheses[709] | Useless parentheses. | 4 | 2330[737] |
UselessParentheses[709] | Useless parentheses. | 4 | 3518[738] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 3828[215] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 3832[216]–3834[217] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 3836[218] |
EmptyControlStatement[219] | Empty if statement | 3 | 3975[220]–3977[221] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/CIMObjectFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Byte(...)`, prefer `Byte.valueOf(...)` | 3 | 475[222] |
PrimitiveWrapperInstantiation[18] | Do not use `new Short(...)`, prefer `Short.valueOf(...)` | 3 | 488[223] |
PrimitiveWrapperInstantiation[18] | Do not use `new Integer(...)`, prefer `Integer.valueOf(...)` | 3 | 501[224] |
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 514[225] |
PrimitiveWrapperInstantiation[18] | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 528[226] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 542[227]–544[228] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 546[229] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/EmbObjHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 185[739]–189[740] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/NodeConstIf.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIM': the field is declared in an interface type | 3 | 68[230] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLARATION': the field is declared in an interface type | 3 | 81[231] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLGROUP': the field is declared in an interface type | 3 | 93[232] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHNAME': the field is declared in an interface type | 3 | 105[233] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DECLGROUP_WITHPATH': the field is declared in an interface type | 3 | 117[234] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'QUALIFIER_DECLARATION': the field is declared in an interface type | 3 | 135[235] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SCOPE': the field is declared in an interface type | 3 | 156[236] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE': the field is declared in an interface type | 3 | 169[237] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_ARRAY': the field is declared in an interface type | 3 | 182[238] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_REFERENCE': the field is declared in an interface type | 3 | 194[239] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_REFARRAY': the field is declared in an interface type | 3 | 206[240] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_OBJECT': the field is declared in an interface type | 3 | 218[241] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDINSTANCE': the field is declared in an interface type | 3 | 231[242] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_NAMEDOBJECT': the field is declared in an interface type | 3 | 243[243] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHLOCALPATH': the field is declared in an interface type | 3 | 256[244] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_OBJECTWITHPATH': the field is declared in an interface type | 3 | 269[245] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_NULL': the field is declared in an interface type | 3 | 280[246] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VALUE_INSTANCEWITHPATH': the field is declared in an interface type | 3 | 293[247] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NAMESPACEPATH': the field is declared in an interface type | 3 | 304[248] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALNAMESPACEPATH': the field is declared in an interface type | 3 | 316[249] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HOST': the field is declared in an interface type | 3 | 327[250] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NAMESPACE': the field is declared in an interface type | 3 | 341[251] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASSPATH': the field is declared in an interface type | 3 | 352[252] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALCLASSPATH': the field is declared in an interface type | 3 | 365[253] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASSNAME': the field is declared in an interface type | 3 | 378[254] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INSTANCEPATH': the field is declared in an interface type | 3 | 389[255] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALINSTANCEPATH': the field is declared in an interface type | 3 | 400[256] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INSTANCENAME': the field is declared in an interface type | 3 | 414[257] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'OBJECTPATH': the field is declared in an interface type | 3 | 426[258] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYBINDING': the field is declared in an interface type | 3 | 439[259] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYVALUE': the field is declared in an interface type | 3 | 454[260] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CLASS': the field is declared in an interface type | 3 | 468[261] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INSTANCE': the field is declared in an interface type | 3 | 482[262] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'QUALIFIER': the field is declared in an interface type | 3 | 499[263] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROPERTY': the field is declared in an interface type | 3 | 519[264] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROPERTY_ARRAY': the field is declared in an interface type | 3 | 539[265] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PROPERTY_REFERENCE': the field is declared in an interface type | 3 | 557[266] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'METHOD': the field is declared in an interface type | 3 | 574[267] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER': the field is declared in an interface type | 3 | 589[268] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER_REFERENCE': the field is declared in an interface type | 3 | 604[269] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER_ARRAY': the field is declared in an interface type | 3 | 620[270] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMETER_REFARRAY': the field is declared in an interface type | 3 | 636[271] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type | 3 | 654[272] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIREQ': the field is declared in an interface type | 3 | 665[273] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIEXPREQ': the field is declared in an interface type | 3 | 676[274] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLEREQ': the field is declared in an interface type | 3 | 687[275] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLEEXPREQ': the field is declared in an interface type | 3 | 698[276] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IMETHODCALL': the field is declared in an interface type | 3 | 711[277] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'METHODCALL': the field is declared in an interface type | 3 | 725[278] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'EXPMETHODCALL': the field is declared in an interface type | 3 | 738[279] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PARAMVALUE': the field is declared in an interface type | 3 | 754[280] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IPARAMVALUE': the field is declared in an interface type | 3 | 768[281] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'EXPPARAMVALUE': the field is declared in an interface type | 3 | 782[282] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIRSP': the field is declared in an interface type | 3 | 793[283] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTIEXPRSP': the field is declared in an interface type | 3 | 804[284] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLERSP': the field is declared in an interface type | 3 | 815[285] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SIMPLEEXPRSP': the field is declared in an interface type | 3 | 826[286] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'METHODRESPONSE': the field is declared in an interface type | 3 | 841[287] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'EXPMETHODRESPONSE': the field is declared in an interface type | 3 | 855[288] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IMETHODRESPONSE': the field is declared in an interface type | 3 | 869[289] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ERROR': the field is declared in an interface type | 3 | 884[290] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'RETURNVALUE': the field is declared in an interface type | 3 | 899[291] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IRETURNVALUE': the field is declared in an interface type | 3 | 911[292] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CORRELATOR': the field is declared in an interface type | 3 | 925[293] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/NodeFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'create': the method is declared in an interface type | 3 | 92[294] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/XMLDefaultHandlerImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 175[295]–177[296] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ArrayIf.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'size': the method is declared in an interface type | 3 | 51[297] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'elementAt': the method is declared in an interface type | 3 | 59[298] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/CIMNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 98[300] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ErrorIf.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getCIMError': the method is declared in an interface type | 3 | 53[301] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/InstanceNameNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 105[302]–107[303] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/KeyValueNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
PrimitiveWrapperInstantiation[18] | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 182[304] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 193[305] |
PrimitiveWrapperInstantiation[18] | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 195[306] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/LocalNameSpacePathNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 130[741]–133[742] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/NonVolatileIf.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'addChild': the method is declared in an interface type | 3 | 54[307] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ParamValueNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 127[308]–135[309] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 128[310]–134[311] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/RetValPipeIf.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getReturnValueCount': the method is declared in an interface type | 3 | 51[312] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'readReturnValue': the method is declared in an interface type | 3 | 58[313] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleExpReqNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement[219] | Empty if statement | 3 | 67[314]–69[315] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/SimpleReqNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement[219] | Empty if statement | 3 | 69[316]–71[317] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/TypedIf.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type | 3 | 53[318] |
org/metricshub/wbem/sblim/cimclient/internal/cimxml/sax/node/ValueIf.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type | 3 | 54[319] |
org/metricshub/wbem/sblim/cimclient/internal/discovery/slp/WBEMServiceAdvertisementSLP.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 149[743]–151[744] |
org/metricshub/wbem/sblim/cimclient/internal/http/AuthorizationInfo.java
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 391[320] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 392[321] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 393[322] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 394[323] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 395[324] |
UselessParentheses[709] | Useless parentheses. | 4 | 396[745] |
org/metricshub/wbem/sblim/cimclient/internal/http/Challenge.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement[219] | Empty if statement | 3 | 146[325]–152[326] |
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 259[327] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpClient.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 222[746] |
EmptyControlStatement[219] | Empty else statement | 3 | 320[328]–322[329] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 527[330]–529[331] |
EmptyControlStatement[219] | Empty for statement | 3 | 1147[332]–1153[333] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpConnectionHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 137[747] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'cimError'. | 3 | 96[334] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpHeader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 178[335] |
EmptyControlStatement[219] | Empty else statement | 3 | 268[336]–270[337] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpHeaderParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 81[748] |
EmptyControlStatement[219] | Empty while statement | 3 | 90[338]–95[339] |
UselessParentheses[709] | Useless parentheses. | 4 | 107[749] |
EmptyControlStatement[219] | Empty while statement | 3 | 116[340]–121[341] |
UselessParentheses[709] | Useless parentheses. | 4 | 137[750] |
UselessParentheses[709] | Useless parentheses. | 4 | 142[751] |
UselessParentheses[709] | Useless parentheses. | 4 | 142[751] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpMethod.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement[219] | Empty for statement | 3 | 110[342]–112[343] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpServerConnection.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingHardCodedIP[344] | Do not hard code the IP address ${variableName} | 3 | 202[345] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address ${variableName} | 3 | 214[346] |
AvoidThreadGroup[347] | Avoid using java.lang.ThreadGroup; it is not thread safe | 3 | 232[348] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 289[349]–291[350] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 299[351]–301[352] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 306[353]–308[354] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 384[355]–386[356] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 398[357]–400[358] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 415[359]–417[360] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpServerMethod.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'HttpMethod': 'readLine' is already in scope | 4 | 100[753] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpSocketFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'java.security': 'Provider' is already in scope because it is imported in this file | 4 | 179[754] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 396[361] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 404[362] |
org/metricshub/wbem/sblim/cimclient/internal/http/HttpUrlConnection.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 93[755]–101[756] |
org/metricshub/wbem/sblim/cimclient/internal/http/MessageReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 89[757] |
UselessParentheses[709] | Useless parentheses. | 4 | 170[758] |
UselessParentheses[709] | Useless parentheses. | 4 | 182[759] |
org/metricshub/wbem/sblim/cimclient/internal/http/WwwAuthInfo.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 94[760]–103[761] |
UselessParentheses[709] | Useless parentheses. | 4 | 247[762] |
UselessParentheses[709] | Useless parentheses. | 4 | 272[763] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 281[363]–288[364] |
UselessParentheses[709] | Useless parentheses. | 4 | 303[764] |
UselessParentheses[709] | Useless parentheses. | 4 | 331[765] |
UselessParentheses[709] | Useless parentheses. | 4 | 336[766]–349[767] |
org/metricshub/wbem/sblim/cimclient/internal/http/io/ASCIIPrintStream.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pEncoding'. | 3 | 107[365] |
org/metricshub/wbem/sblim/cimclient/internal/http/io/BoundedInputStream.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement[219] | Empty while statement | 3 | 144[366]–146[367] |
org/metricshub/wbem/sblim/cimclient/internal/http/io/ChunkedInputStream.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 199[768] |
UselessParentheses[709] | Useless parentheses. | 4 | 199[768] |
EmptyControlStatement[219] | Empty while statement | 3 | 207[368]–209[369] |
org/metricshub/wbem/sblim/cimclient/internal/logging/LogAndTraceBroker.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 185[370]–187[371] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 221[372]–223[373] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 250[374]–252[375] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 284[376]–286[377] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 320[378]–322[379] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 360[380]–362[381] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 366[382]–368[383] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 717[384]–719[385] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 740[386]–742[387] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 765[388]–767[389] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 791[390]–793[391] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 862[392]–864[393] |
UselessParentheses[709] | Useless parentheses. | 4 | 875[769] |
org/metricshub/wbem/sblim/cimclient/internal/logging/Messages.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'GREETING': the field is declared in an interface type | 3 | 53[394] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'RELEASE': the field is declared in an interface type | 3 | 58[395] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'OS': the field is declared in an interface type | 3 | 63[396] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'JRE': the field is declared in an interface type | 3 | 68[397] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'JVM': the field is declared in an interface type | 3 | 73[398] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'CONFIGURATION_URL': the field is declared in an interface type | 3 | 78[399] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'CONFIGURATION_LOAD_FAILED': the field is declared in an interface type | 3 | 83[400] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'EXCEPTION_DURING_CONFIGURATION_LOAD': the field is declared in an interface type | 3 | 88[401] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'INVALID_KEY_IN_CONFIG_FILE': the field is declared in an interface type | 3 | 93[402] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_PROXY_AUTH_UNSUPPORTED': the field is declared in an interface type | 3 | 98[403] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_CONNECTION_FAILED': the field is declared in an interface type | 3 | 103[404] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_NO_SOCKET_FACTORY': the field is declared in an interface type | 3 | 108[405] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_AUTH_MODULE_INVALID': the field is declared in an interface type | 3 | 113[406] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_INVALID_HEADER': the field is declared in an interface type | 3 | 118[407] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_HANDLE_CONNECTION_FAILED': the field is declared in an interface type | 3 | 123[408] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'HTTP_PEGASUS_LOCAL_AUTH_READ': the field is declared in an interface type | 3 | 128[409] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_JSSE_PROVIDER_LOAD_FAILED': the field is declared in an interface type | 3 | 133[410] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_FOUND': the field is declared in an interface type | 3 | 138[411] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NOT_READABLE': the field is declared in an interface type | 3 | 143[412] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_CERT': the field is declared in an interface type | 3 | 148[413] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_UNRECOVERABLE_KEY': the field is declared in an interface type | 3 | 153[414] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID': the field is declared in an interface type | 3 | 158[415] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_OTHER': the field is declared in an interface type | 3 | 163[416] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_FALLBACK': the field is declared in an interface type | 3 | 168[417] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_CONTEXT_INIT_FAILED': the field is declared in an interface type | 3 | 173[418] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_INVALID_ALGORITHM': the field is declared in an interface type | 3 | 178[419] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_KEYSTORE_NULL': the field is declared in an interface type | 3 | 183[420] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_FOUND': the field is declared in an interface type | 3 | 188[421] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NOT_READABLE': the field is declared in an interface type | 3 | 193[422] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_CERT': the field is declared in an interface type | 3 | 198[423] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID': the field is declared in an interface type | 3 | 203[424] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_OTHER': the field is declared in an interface type | 3 | 208[425] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK': the field is declared in an interface type | 3 | 213[426] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INVALID_ALGORITHM': the field is declared in an interface type | 3 | 218[427] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_ACTIVE': the field is declared in an interface type | 3 | 223[428] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_NULL': the field is declared in an interface type | 3 | 228[429] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_INACTIVE': the field is declared in an interface type | 3 | 233[430] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'SSL_TRUSTSTORE_FALLBACK_NOTRUST': the field is declared in an interface type | 3 | 238[431] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'CIM_XMLHELPER_FAILED': the field is declared in an interface type | 3 | 243[432] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on field 'TEST_MESSAGE': the field is declared in an interface type | 3 | 248[433] |
org/metricshub/wbem/sblim/cimclient/internal/pullparser/XMLPullParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 320[770] |
UselessParentheses[709] | Useless parentheses. | 4 | 322[771] |
UselessParentheses[709] | Useless parentheses. | 4 | 335[772] |
EmptyControlStatement[219] | Empty else statement | 3 | 377[434]–379[435] |
EmptyControlStatement[219] | Empty if statement | 3 | 724[436]–734[437] |
UselessParentheses[709] | Useless parentheses. | 4 | 838[773] |
UselessParentheses[709] | Useless parentheses. | 4 | 924[774]–953[775] |
UselessParentheses[709] | Useless parentheses. | 4 | 966[776]–982[777] |
UselessParentheses[709] | Useless parentheses. | 4 | 968[778]–981[779] |
EmptyControlStatement[219] | Empty if statement | 3 | 1036[438]–1038[439] |
EmptyControlStatement[219] | Empty else statement | 3 | 1039[440]–1041[441] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 1053[442] |
UselessParentheses[709] | Useless parentheses. | 4 | 1185[780] |
UselessParentheses[709] | Useless parentheses. | 4 | 1187[781] |
UselessParentheses[709] | Useless parentheses. | 4 | 1200[782] |
EmptyControlStatement[219] | Empty else statement | 3 | 1242[443]–1244[444] |
org/metricshub/wbem/sblim/cimclient/internal/uri/Authority.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 237[783]–239[784] |
org/metricshub/wbem/sblim/cimclient/internal/uri/KeyValuePairs.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 71[445]–74[446] |
org/metricshub/wbem/sblim/cimclient/internal/uri/NamespacePath.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 84[447] |
org/metricshub/wbem/sblim/cimclient/internal/uri/QuotedValue.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'toQuotedString': the method is declared in an interface type | 3 | 52[448] |
org/metricshub/wbem/sblim/cimclient/internal/uri/RealValue.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements[209] | This if statement could be combined with its parent | 3 | 89[449]–91[450] |
org/metricshub/wbem/sblim/cimclient/internal/uri/URI.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'pTyped'. | 3 | 333[451] |
org/metricshub/wbem/sblim/cimclient/internal/util/MOF.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 374[785]–381[786] |
UselessParentheses[709] | Useless parentheses. | 4 | 433[787]–444[788] |
UselessParentheses[709] | Useless parentheses. | 4 | 496[789] |
org/metricshub/wbem/sblim/cimclient/internal/util/ThreadPool.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'Thread': 'currentThread' is already in scope | 4 | 130[790] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 143[452]–145[453] |
AvoidThreadGroup[347] | Avoid using java.lang.ThreadGroup; it is not thread safe | 3 | 202[454] |
org/metricshub/wbem/sblim/cimclient/internal/util/Util.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 96[791] |
org/metricshub/wbem/sblim/cimclient/internal/util/WBEMConfiguration.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 217[455]–219[456] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 263[457]–265[458] |
org/metricshub/wbem/sblim/cimclient/internal/util/WBEMConfigurationDefaults.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CONFIG_URL': the field is declared in an interface type | 3 | 81[459] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LEVEL': the field is declared in an interface type | 3 | 90[460] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_LOCATION': the field is declared in an interface type | 3 | 95[461] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_SIZE_LIMIT': the field is declared in an interface type | 3 | 100[462] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE_COUNT': the field is declared in an interface type | 3 | 105[463] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_LEVEL': the field is declared in an interface type | 3 | 110[464] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_CONSOLE_TYPE': the field is declared in an interface type | 3 | 115[465] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LEVEL': the field is declared in an interface type | 3 | 120[466] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_LOCATION': the field is declared in an interface type | 3 | 125[467] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_SIZE_LIMIT': the field is declared in an interface type | 3 | 130[468] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE_FILE_COUNT': the field is declared in an interface type | 3 | 135[469] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TIMEOUT': the field is declared in an interface type | 3 | 140[470] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_POOL_SIZE': the field is declared in an interface type | 3 | 145[471] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_AUTHENTICATION_MODULE': the field is declared in an interface type | 3 | 150[472] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_MPOST': the field is declared in an interface type | 3 | 155[473] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_USE_CHUNKING': the field is declared in an interface type | 3 | 160[474] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_VERSION': the field is declared in an interface type | 3 | 165[475] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEYSTORE_TYPE': the field is declared in an interface type | 3 | 170[476] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRUSTSTORE_TYPE': the field is declared in an interface type | 3 | 175[477] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONNECTION_RETRIES': the field is declared in an interface type | 3 | 180[478] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_ENABLE_CONTENT_LENGTH_RETRY': the field is declared in an interface type | 3 | 185[479] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_CONTENT_LENGTH_THRESHOLD': the field is declared in an interface type | 3 | 190[480] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER': the field is declared in an interface type | 3 | 195[481] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_TRACING': the field is declared in an interface type | 3 | 200[482] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_EMBOBJBUILDER': the field is declared in an interface type | 3 | 205[483] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_STRICT_EMBOBJ_TYPES': the field is declared in an interface type | 3 | 210[484] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_BUILDER_UPPERCASE_EMBOBJ_ENTITIES': the field is declared in an interface type | 3 | 215[485] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PERFORM_SSL_HANDSHAKE': the field is declared in an interface type | 3 | 220[486] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZED_SSL_HANDSHAKE': the field is declared in an interface type | 3 | 225[487] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_WITH_TIMEOUT': the field is declared in an interface type | 3 | 230[488] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_CONNECT_TIMEOUT': the field is declared in an interface type | 3 | 235[489] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SOCKET_IDLE_TIMEOUT': the field is declared in an interface type | 3 | 240[490] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_CREDENTIALS_DEFAULT_ENABLED': the field is declared in an interface type | 3 | 245[491] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_PRINCIPAL': the field is declared in an interface type | 3 | 250[492] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'KEY_DEFAULT_CREDENTIAL': the field is declared in an interface type | 3 | 255[493] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_TIMEOUT': the field is declared in an interface type | 3 | 260[494] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_HEADER_TIMEOUT': the field is declared in an interface type | 3 | 265[495] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HTTP_MAX_ALLOWED_TIMEOUTS': the field is declared in an interface type | 3 | 270[496] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_POOL_SIZE': the field is declared in an interface type | 3 | 275[497] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MIN_POOL_SIZE': the field is declared in an interface type | 3 | 280[498] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUE_SIZE': the field is declared in an interface type | 3 | 285[499] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_BACKLOG': the field is declared in an interface type | 3 | 290[500] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_HANDLER_MAX_IDLE': the field is declared in an interface type | 3 | 295[501] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_MAX_QUEUED_EVENTS': the field is declared in an interface type | 3 | 300[502] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ENABLE_RELIABLE_INDICATIONS': the field is declared in an interface type | 3 | 305[503] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_ATTEMPTS': the field is declared in an interface type | 3 | 310[504] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_DELIVERY_RETRY_INTERVAL': the field is declared in an interface type | 3 | 315[505] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_RELIABLE_INDICATION_HASHTABLE_CAPACITY': the field is declared in an interface type | 3 | 320[506] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LISTENER_ADD_SENDER_IP_ADDRESS': the field is declared in an interface type | 3 | 325[507] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_DEF_PROTOCOL': the field is declared in an interface type | 3 | 330[508] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_CLIENT_PEER_VERIFICATION': the field is declared in an interface type | 3 | 335[509] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SSL_LISTENER_PEER_VERIFICATION': the field is declared in an interface type | 3 | 340[510] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'VERIFY_JAVA_LANG_DOUBLE_STRINGS': the field is declared in an interface type | 3 | 345[511] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SYNCHRONIZE_NUMERIC_KEY_DATA_TYPES': the field is declared in an interface type | 3 | 350[512] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ENABLE_GZIP_ENCODING': the field is declared in an interface type | 3 | 355[513] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMXML_PARSER_ALLOW_EMPTY_LOCALNAMESPACEPATH': the field is declared in an interface type | 3 | 360[514] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_KEEP_ALIVE_STRICT_MODE': the field is declared in an interface type | 3 | 365[515] |
org/metricshub/wbem/sblim/cimclient/internal/util/WBEMConstants.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP': the field is declared in an interface type | 3 | 62[516] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTPS': the field is declared in an interface type | 3 | 67[517] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_PORT': the field is declared in an interface type | 3 | 72[518] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_WBEM_SECURE_PORT': the field is declared in an interface type | 3 | 77[519] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CIMOM_PATH': the field is declared in an interface type | 3 | 82[520] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_LOCALES': the field is declared in an interface type | 3 | 87[521] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_MPOST': the field is declared in an interface type | 3 | 92[522] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_POST': the field is declared in an interface type | 3 | 97[523] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MESSAGE': the field is declared in an interface type | 3 | 102[524] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TRACE': the field is declared in an interface type | 3 | 107[525] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DOM': the field is declared in an interface type | 3 | 112[526] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'PULL': the field is declared in an interface type | 3 | 117[527] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SAX': the field is declared in an interface type | 3 | 122[528] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF8': the field is declared in an interface type | 3 | 127[529] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MIN_HIGH_SURROGATE': the field is declared in an interface type | 3 | 133[530] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MIN_LOW_SURROGATE': the field is declared in an interface type | 3 | 139[531] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MAX_HIGH_SURROGATE': the field is declared in an interface type | 3 | 145[532] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UTF16_MAX_LOW_SURROGATE': the field is declared in an interface type | 3 | 151[533] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UNICODE_MIN_SUPPLEMENTARY_CODE_POINT': the field is declared in an interface type | 3 | 156[534] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'UNICODE_MAX_CODE_POINT': the field is declared in an interface type | 3 | 161[535] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_CODE': the field is declared in an interface type | 3 | 166[536] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'HTTP_TRAILER_STATUS_DESCRIPTION': the field is declared in an interface type | 3 | 171[537] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ISO_8859_1': the field is declared in an interface type | 3 | 176[538] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'OS_NAME': the field is declared in an interface type | 3 | 181[539] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'Z_OS': the field is declared in an interface type | 3 | 186[540] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'INDICATION_DOS_EXCEPTION_MESSAGE': the field is declared in an interface type | 3 | 191[541] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/CloseableIteratorDOM.java
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 133[542] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/CloseableIteratorSAX.java
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 144[543] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/WBEMClientCIMXML.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 247[792]–251[793] |
UselessParentheses[709] | Useless parentheses. | 4 | 258[794]–262[795] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 777[544] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 821[545] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 864[546] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 1076[547]–1078[548] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 1462[549] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 1506[550] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 1710[551] |
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 1779[552] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/CIMEventDispatcher.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 174[553]–176[554] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/CIMIndicationHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 180[555]–182[556] |
UselessParentheses[709] | Useless parentheses. | 4 | 301[796] |
UselessParentheses[709] | Useless parentheses. | 4 | 301[796] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/indications/ReliableIndicationHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 209[797] |
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 671[557] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorNamesOp.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pResultRole'. | 3 | 78[558] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMAssociatorsOp.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pResultRole'. | 3 | 85[559] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMGetClassOp.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pPropertyList'. | 3 | 77[560] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMOperation.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 107[798] |
org/metricshub/wbem/sblim/cimclient/internal/wbem/operations/CIMReferencesOp.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused constructor parameters such as 'pPropertyList'. | 3 | 80[561] |
org/metricshub/wbem/sblim/slp/Advertiser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type | 3 | 64[562] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'register': the method is declared in an interface type | 3 | 78[563] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'deregister': the method is declared in an interface type | 3 | 91[564] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'addAttributes': the method is declared in an interface type | 3 | 106[565] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'deleteAttributes': the method is declared in an interface type | 3 | 125[566] |
org/metricshub/wbem/sblim/slp/Locator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type | 3 | 65[567] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type | 3 | 82[568] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServiceTypes': the method is declared in an interface type | 3 | 106[569] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type | 3 | 134[570] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findServices': the method is declared in an interface type | 3 | 167[571] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 3 | 196[572] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 3 | 230[573] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 3 | 260[574] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'findAttributes': the method is declared in an interface type | 3 | 294[575] |
org/metricshub/wbem/sblim/slp/SLPConfigProperties.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_CONFIG_URL': the field is declared in an interface type | 3 | 71[576] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type | 3 | 81[577] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type | 3 | 93[578] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ADDRESSES': the field is declared in an interface type | 3 | 126[579] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_ATTRIBUTES': the field is declared in an interface type | 3 | 135[580] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type | 3 | 145[581] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DA_HEARTBEAT': the field is declared in an interface type | 3 | 155[582] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_DATAGRAM_TIMEOUTS': the field is declared in an interface type | 3 | 164[583] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_INTERFACES': the field is declared in an interface type | 3 | 188[584] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_BROADCAST_ONLY': the field is declared in an interface type | 3 | 195[585] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_IS_DA': the field is declared in an interface type | 3 | 203[586] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_LOCALE': the field is declared in an interface type | 3 | 214[587] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MAX_RESULTS': the field is declared in an interface type | 3 | 231[588] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MTU': the field is declared in an interface type | 3 | 241[589] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 3 | 249[590] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TIMEOUTS': the field is declared in an interface type | 3 | 267[591] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_MULTICAST_TTL': the field is declared in an interface type | 3 | 274[592] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_PASSIVE_DA_DETECTION': the field is declared in an interface type | 3 | 283[593] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_PORT': the field is declared in an interface type | 3 | 290[594] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV6': the field is declared in an interface type | 3 | 297[595] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_USEIPV4': the field is declared in an interface type | 3 | 304[596] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_RANDOM_WAIT_BOUND': the field is declared in an interface type | 3 | 314[597] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SA_ATTRIBUTES': the field is declared in an interface type | 3 | 323[598] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SAONLY_SCOPES': the field is declared in an interface type | 3 | 332[599] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SECURITY_ENABLED': the field is declared in an interface type | 3 | 341[600] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SERIALIZED_REG_URL': the field is declared in an interface type | 3 | 352[601] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 3 | 362[602] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TCPTIMEOUT': the field is declared in an interface type | 3 | 372[603] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DA_TRAFFIC': the field is declared in an interface type | 3 | 381[604] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_DROP': the field is declared in an interface type | 3 | 391[605] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_MSG': the field is declared in an interface type | 3 | 399[606] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRACE_REG': the field is declared in an interface type | 3 | 410[607] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TYPE_HINT': the field is declared in an interface type | 3 | 431[608] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_USE_SCOPES': the field is declared in an interface type | 3 | 449[609] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'NET_SLP_TRC_LEVEL': the field is declared in an interface type | 3 | 456[610] |
org/metricshub/wbem/sblim/slp/ServiceLocationAttributeDescriptor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getId': the method is declared in an interface type | 3 | 64[611] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getValueType': the method is declared in an interface type | 3 | 99[612] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type | 3 | 106[613] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAllowedValues': the method is declared in an interface type | 3 | 115[614] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDefaultValues': the method is declared in an interface type | 3 | 124[615] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getRequiresExplicitMatch': the method is declared in an interface type | 3 | 132[616] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsMultivalued': the method is declared in an interface type | 3 | 139[617] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsOptional': the method is declared in an interface type | 3 | 146[618] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsLiteral': the method is declared in an interface type | 3 | 153[619] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getIsKeyword': the method is declared in an interface type | 3 | 161[620] |
org/metricshub/wbem/sblim/slp/ServiceLocationAttributeVerifier.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getServiceType': the method is declared in an interface type | 3 | 67[621] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getLocale': the method is declared in an interface type | 3 | 74[622] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getVersion': the method is declared in an interface type | 3 | 81[623] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getURLSyntax': the method is declared in an interface type | 3 | 88[624] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getDescription': the method is declared in an interface type | 3 | 95[625] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptor': the method is declared in an interface type | 3 | 108[626] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'getAttributeDescriptors': the method is declared in an interface type | 3 | 120[627] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'verifyAttribute': the method is declared in an interface type | 3 | 133[628] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'verifyRegistration': the method is declared in an interface type | 3 | 148[629] |
org/metricshub/wbem/sblim/slp/ServiceLocationEnumeration.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'next': the method is declared in an interface type | 3 | 69[630] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'nextException': the method is declared in an interface type | 3 | 82[631] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public abstract' on method 'hasMoreExceptions': the method is declared in an interface type | 3 | 88[632] |
org/metricshub/wbem/sblim/slp/ServiceType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 144[799]–146[800] |
UselessParentheses[709] | Useless parentheses. | 4 | 174[801]–179[802] |
UselessParentheses[709] | Useless parentheses. | 4 | 193[803]–198[804] |
org/metricshub/wbem/sblim/slp/ServiceURL.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 217[805]–222[806] |
org/metricshub/wbem/sblim/slp/internal/AttributeHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'AttributeHandler': 'escapeValue' is already in scope | 4 | 80[807] |
UnnecessaryFullyQualifiedName[752] | Unnecessary qualifier 'AttributeHandler': 'mkOpaqueStr' is already in scope | 4 | 101[808] |
org/metricshub/wbem/sblim/slp/internal/SLPConfig.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 188[633]–190[634] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 455[635]–457[636] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 561[637]–563[638] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 563[638]–565[639] |
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 575[640]–577[641] |
org/metricshub/wbem/sblim/slp/internal/SLPDefaults.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ALL_AUTHORITIES': the field is declared in an interface type | 3 | 64[642] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'BROADCAST_ADDRESS': the field is declared in an interface type | 3 | 69[643] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address BROADCAST_ADDRESS | 3 | 69[643] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'CONF_URLS': the field is declared in an interface type | 3 | 74[644] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DA_DISCOVERY_TIMEOUTS': the field is declared in an interface type | 3 | 84[645] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DA_SERVICE_TYPE': the field is declared in an interface type | 3 | 89[646] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DATAGRAM_TIMEOUTS': the field is declared in an interface type | 3 | 94[647] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DEFAULT_SCOPE': the field is declared in an interface type | 3 | 99[648] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_GRANULARITY': the field is declared in an interface type | 3 | 104[649] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ACTIVE_DISCOVERY_INTERVAL': the field is declared in an interface type | 3 | 109[650] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOCALE': the field is declared in an interface type | 3 | 114[651] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOG_FILE': the field is declared in an interface type | 3 | 119[652] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V4': the field is declared in an interface type | 3 | 124[653] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address LOOPBACK_ADDRESS_V4 | 3 | 124[653] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOOPBACK_ADDRESS_V6': the field is declared in an interface type | 3 | 129[654] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address LOOPBACK_ADDRESS_V6 | 3 | 129[654] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LOOPBACK_NAME': the field is declared in an interface type | 3 | 134[655] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAXIMUM_RESULTS': the field is declared in an interface type | 3 | 139[656] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MTU': the field is declared in an interface type | 3 | 144[657] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_ADDRESS': the field is declared in an interface type | 3 | 149[658] |
AvoidUsingHardCodedIP[344] | Do not hard code the IP address MULTICAST_ADDRESS | 3 | 149[658] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 3 | 154[659] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_RADIUS': the field is declared in an interface type | 3 | 159[660] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MULTICAST_TIMEOUTS': the field is declared in an interface type | 3 | 164[661] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SA_SERVICE_TYPE': the field is declared in an interface type | 3 | 169[662] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 3 | 174[663] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SLP_PORT': the field is declared in an interface type | 3 | 179[664] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'USE_IPV6': the field is declared in an interface type | 3 | 184[665] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'USE_IPV4': the field is declared in an interface type | 3 | 189[666] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SLP_VERSION': the field is declared in an interface type | 3 | 194[667] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'TCP_TIMEOUT': the field is declared in an interface type | 3 | 199[668] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ENCODING': the field is declared in an interface type | 3 | 204[669] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DACACHE_TIMEOUT': the field is declared in an interface type | 3 | 209[670] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'IPV6_MULTICAST_SCOPE': the field is declared in an interface type | 3 | 214[671] |
org/metricshub/wbem/sblim/slp/internal/SLPLimits.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_GRANULARITY': the field is declared in an interface type | 3 | 53[672] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_DISCOVERY_INTERVAL': the field is declared in an interface type | 3 | 58[673] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_MTU': the field is declared in an interface type | 3 | 63[674] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 3 | 68[675] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_MULTICAST_RADIUS': the field is declared in an interface type | 3 | 73[676] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 3 | 78[677] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MAX_TCP_TIMEOUT': the field is declared in an interface type | 3 | 83[678] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_GRANULARITY': the field is declared in an interface type | 3 | 88[679] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_DISCOVERY_INTERVAL': the field is declared in an interface type | 3 | 93[680] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_MTU': the field is declared in an interface type | 3 | 98[681] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_MAXIMUM_WAIT': the field is declared in an interface type | 3 | 103[682] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_MULTICAST_RADIUS': the field is declared in an interface type | 3 | 108[683] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_SERVER_SOCKET_QUEUE_LENGTH': the field is declared in an interface type | 3 | 113[684] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'MIN_TCP_TIMEOUT': the field is declared in an interface type | 3 | 118[685] |
org/metricshub/wbem/sblim/slp/internal/TRC.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 298[809]–312[810] |
org/metricshub/wbem/sblim/slp/internal/msg/AttributeReply.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 137[811]–139[812] |
org/metricshub/wbem/sblim/slp/internal/msg/AttributeRequest.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 181[813]–186[814] |
org/metricshub/wbem/sblim/slp/internal/msg/DAAdvert.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 203[815]–210[816] |
org/metricshub/wbem/sblim/slp/internal/msg/FunctionIDs.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_RQST': the field is declared in an interface type | 3 | 50[686] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_RPLY': the field is declared in an interface type | 3 | 55[687] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_REG': the field is declared in an interface type | 3 | 60[688] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_DEREG': the field is declared in an interface type | 3 | 65[689] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_ACK': the field is declared in an interface type | 3 | 70[690] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ATTR_RQST': the field is declared in an interface type | 3 | 75[691] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'ATTR_RPLY': the field is declared in an interface type | 3 | 80[692] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'DA_ADVERT': the field is declared in an interface type | 3 | 85[693] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RQST': the field is declared in an interface type | 3 | 90[694] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SRV_TYPE_RPLY': the field is declared in an interface type | 3 | 95[695] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'SA_ADVERT': the field is declared in an interface type | 3 | 100[696] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'FIRST_ID': the field is declared in an interface type | 3 | 105[697] |
UnnecessaryModifier[5] | Unnecessary modifiers 'public static final' on field 'LAST_ID': the field is declared in an interface type | 3 | 110[698] |
org/metricshub/wbem/sblim/slp/internal/msg/MsgFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryImport[726] | Unnecessary import from the current package 'org.metricshub.wbem.sblim.slp.internal.msg.FunctionIDs' | 4 | 48[817] |
UnnecessaryModifier[5] | Unnecessary modifier 'public' on method 'parse': the method is declared in an interface type | 3 | 70[699] |
org/metricshub/wbem/sblim/slp/internal/msg/RequestMessage.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryImport[726] | Unnecessary import from the current package 'org.metricshub.wbem.sblim.slp.internal.msg.SLPMessage' | 4 | 51[818] |
org/metricshub/wbem/sblim/slp/internal/msg/SAAdvert.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 153[819]–157[820] |
org/metricshub/wbem/sblim/slp/internal/msg/SLPInputStream.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter[7] | Avoid unused method parameters such as 'ch'. | 3 | 492[700] |
org/metricshub/wbem/sblim/slp/internal/msg/SLPOutputStream.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 413[821] |
org/metricshub/wbem/sblim/slp/internal/msg/ServiceDeregistration.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 149[822]–151[823] |
org/metricshub/wbem/sblim/slp/internal/msg/ServiceRegistration.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 197[824]–203[825] |
org/metricshub/wbem/sblim/slp/internal/msg/ServiceRequest.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 188[826]–193[827] |
org/metricshub/wbem/sblim/slp/internal/sa/DatagramThread.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 108[701]–110[702] |
org/metricshub/wbem/sblim/slp/internal/sa/RecieverThread.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryReturn[299] | Unnecessary return statement | 3 | 88[703] |
org/metricshub/wbem/sblim/slp/internal/sa/ServiceAgent.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 112[704]–114[705] |
org/metricshub/wbem/sblim/slp/internal/sa/ServiceTable.java
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary[10] | This conditional expression can be simplified with || or && | 3 | 214[706] |
org/metricshub/wbem/sblim/slp/internal/sa/TCPThread.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock[196] | Avoid empty catch blocks | 3 | 78[707]–80[708] |
org/metricshub/wbem/sblim/slp/internal/ua/DatagramRequester.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses[709] | Useless parentheses. | 4 | 235[828]–239[829] |
AvoidBranchingStatementAsLastInLoop[2] | Avoid using a branching statement as the last in a loop. | 2 | 308[3] |
AvoidBranchingStatementAsLastInLoop[2] | Avoid using a branching statement as the last in a loop. | 2 | 349[4] |
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.