PMD Results

The following document contains the results of PMD 3.9.

Files

com/intel/bluetooth/BlueCoveImpl.java

Violation Line
Avoid empty catch blocks 290 - 291
Avoid empty catch blocks 367 - 369
Avoid empty catch blocks 391 - 393
Avoid empty catch blocks 784 - 785

com/intel/bluetooth/BluetoothL2CAPConnection.java

Violation Line
Avoid empty catch blocks 172 - 173
Avoid empty catch blocks 204 - 205

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()'. 212
Avoid unused method parameters such as 'transmitMTU'. 700 - 704

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'. 852 - 870

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'. 165 - 423
These nested if statements could be combined 260 - 262

com/intel/bluetooth/NativeLibLoader.java

Violation Line
Avoid empty if statements 161 - 163
Avoid empty if statements 165 - 167
Avoid empty if statements 185 - 189
Avoid unused private methods such as 'tryloadPathIBMj9MIDP(String,String)'. 254
Avoid empty catch blocks 276 - 277
Avoid empty catch blocks 306 - 308
Avoid empty catch blocks 372 - 374
Avoid empty catch blocks 382 - 384
Avoid empty catch blocks 397 - 399

com/intel/bluetooth/Utils.java

Violation Line
Avoid empty catch blocks 131 - 132

com/intel/bluetooth/UtilsJavaSE.java

Violation Line
Avoid empty catch blocks 110 - 111
Avoid empty catch blocks 182 - 183
Avoid empty catch blocks 198 - 199
Avoid empty catch blocks 209 - 210
Avoid empty catch blocks 227 - 228
Avoid empty catch blocks 240 - 241
Avoid empty catch blocks 273 - 274
Avoid empty catch blocks 278 - 279

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