PMD Results

The following document contains the results of PMD 4.2.5.

Files

com/intel/bluetooth/BlueCoveImpl.java

Violation Line
Avoid empty catch blocks 305 - 306
Avoid empty catch blocks 388 - 390
Avoid empty catch blocks 417 - 419
Avoid empty catch blocks 847 - 848

com/intel/bluetooth/BluetoothL2CAPConnection.java

Violation Line
Avoid empty catch blocks 174 - 175
Avoid empty catch blocks 206 - 207

com/intel/bluetooth/BluetoothRFCommConnection.java

Violation Line
Avoid empty catch blocks 241 - 242
Avoid empty catch blocks 273 - 274

com/intel/bluetooth/BluetoothStackMicrosoft.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 359
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 368
Avoid empty catch blocks 695 - 696
Avoid empty catch blocks 704 - 705

com/intel/bluetooth/BluetoothStackOSX.java

Violation Line
Avoid unused private methods such as 'isLocalDeviceFeatureSwitchRoles()'. 220
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 336
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 342
Avoid unused method parameters such as 'transmitMTU'. 741 - 745

com/intel/bluetooth/BluetoothStackToshiba.java

Violation Line
Avoid unused imports such as 'java.io.ByteArrayOutputStream' 27
Avoid unused imports such as 'javax.bluetooth.DiscoveryAgent' 36
Avoid unused imports such as 'javax.bluetooth.ServiceRecord' 39
Avoid empty catch blocks 445 - 446

com/intel/bluetooth/BluetoothStackWIDCOMM.java

Violation Line
Avoid unused method parameters such as 'transmitMTU'. 882 - 900

com/intel/bluetooth/DebugLog.java

Violation Line
Avoid empty catch blocks 106 - 107
Avoid empty catch blocks 279 - 281
Avoid empty catch blocks 415 - 416

com/intel/bluetooth/MicroeditionConnector.java

Violation Line
Avoid unused method parameters such as 'mode'. 159 - 435
These nested if statements could be combined 253 - 255

com/intel/bluetooth/NativeLibLoader.java

Violation Line
Avoid empty if statements 207 - 209
Avoid empty if statements 211 - 213
Avoid empty if statements 239 - 243
These nested if statements could be combined 315 - 317
Avoid unused private methods such as 'tryloadPathIBMj9MIDP(String,String)'. 340
Avoid empty catch blocks 362 - 363
Avoid empty catch blocks 395 - 397
Avoid empty catch blocks 472 - 474
Avoid empty catch blocks 482 - 484
Avoid empty catch blocks 497 - 499

com/intel/bluetooth/Utils.java

Violation Line
Avoid empty catch blocks 131 - 132

com/intel/bluetooth/UtilsJavaSE.java

Violation Line
Avoid empty catch blocks 108 - 109
Avoid empty catch blocks 180 - 181
Avoid empty catch blocks 196 - 197
Avoid empty catch blocks 207 - 208
Avoid empty catch blocks 225 - 226
Avoid empty catch blocks 238 - 239
Avoid empty catch blocks 271 - 272
Avoid empty catch blocks 276 - 277

com/intel/bluetooth/obex/OBEXHeaderSetImpl.java

Violation Line
Avoid unused private fields such as 'OBEX_MAX_FIELD_LEN'. 130

com/intel/bluetooth/obex/OBEXServerSessionImpl.java

Violation Line
Avoid unused method parameters such as 'finalPacket'. 370 - 401