Apache Commons logo Commons BeanUtils

PMD Results

The following document contains the results of PMD 5.3.5.

Files

org/apache/commons/beanutils/BaseDynaBeanMapDecorator.java

Violation Line
Useless parentheses. 193
Useless parentheses. 362364
Useless parentheses. 362
Useless parentheses. 363364

org/apache/commons/beanutils/BasicDynaBean.java

Violation Line
Useless parentheses. 124
Useless parentheses. 147
Useless parentheses. 153
Useless parentheses. 158
Useless parentheses. 160
Useless parentheses. 162
Useless parentheses. 164
Useless parentheses. 166
Useless parentheses. 168
Useless parentheses. 170
Useless parentheses. 172
Useless parentheses. 174
Useless parentheses. 203
Useless parentheses. 234
Useless parentheses. 251
Useless parentheses. 413
Useless parentheses. 429
Useless parentheses. 429
Useless parentheses. 429
Useless parentheses. 430
Useless parentheses. 430
Useless parentheses. 430
Useless parentheses. 431
Useless parentheses. 431
Useless parentheses. 431
Useless parentheses. 432
Useless parentheses. 432
Useless parentheses. 432
Useless parentheses. 433
Useless parentheses. 433
Useless parentheses. 433
Useless parentheses. 434
Useless parentheses. 434
Useless parentheses. 434
Useless parentheses. 435
Useless parentheses. 435
Useless parentheses. 435
Useless parentheses. 436
Useless parentheses. 436
Useless parentheses. 436
Useless parentheses. 437
Useless parentheses. 439

org/apache/commons/beanutils/BasicDynaClass.java

Violation Line
Useless parentheses. 157
Useless parentheses. 196
Useless parentheses. 242

org/apache/commons/beanutils/BeanComparator.java

Violation Line
Useless parentheses. 207

org/apache/commons/beanutils/BeanIntrospectionData.java

Violation Line
Avoid empty catch blocks 122124

org/apache/commons/beanutils/BeanMap.java

Violation Line
Overriding method merely calls super 389392

org/apache/commons/beanutils/BeanPropertyValueChangeClosure.java

Violation Line
Useless parentheses. 138
Useless parentheses. 138

org/apache/commons/beanutils/BeanPropertyValueEqualsPredicate.java

Violation Line
Useless parentheses. 168
Useless parentheses. 168
Useless parentheses. 249
Useless parentheses. 249
Useless parentheses. 249

org/apache/commons/beanutils/BeanToPropertyValueTransformer.java

Violation Line
Useless parentheses. 123
Useless parentheses. 123

org/apache/commons/beanutils/BeanUtils.java

Violation Line
Useless parentheses. 67

org/apache/commons/beanutils/BeanUtilsBean.java

Violation Line
Useless parentheses. 183
Avoid empty catch blocks 285287
Unnecessary use of fully qualified name 'java.util.HashMap' due to existing import 'java.util.HashMap' 491
Useless parentheses. 491
Useless parentheses. 517
Useless parentheses. 543
Useless parentheses. 554
Useless parentheses. 567
Useless parentheses. 571
Useless parentheses. 601
Useless parentheses. 629
Useless parentheses. 658
Useless parentheses. 686
Useless parentheses. 713
Useless parentheses. 738
Useless parentheses. 763
Useless parentheses. 807
Useless parentheses. 807
Useless parentheses. 984

org/apache/commons/beanutils/ConstructorUtils.java

Violation Line
Useless parentheses. 309
Useless parentheses. 324
Useless parentheses. 329
Useless parentheses. 335
Avoid empty catch blocks 392394
Avoid empty catch blocks 397398
Avoid empty catch blocks 425429

org/apache/commons/beanutils/ContextClassLoaderLocal.java

Violation Line
Useless parentheses. 153
Avoid empty catch blocks 162
Avoid empty catch blocks 192
Avoid empty catch blocks 208

org/apache/commons/beanutils/ConversionException.java

Violation Line
Useless parentheses. 90

org/apache/commons/beanutils/ConvertUtils.java

Violation Line
Useless parentheses. 45
Useless parentheses. 183

org/apache/commons/beanutils/ConvertUtilsBean.java

Violation Line
Useless parentheses. 183
Useless parentheses. 216
Useless parentheses. 249
Useless parentheses. 284
Useless parentheses. 317
Useless parentheses. 350
Useless parentheses. 383
Useless parentheses. 416
Useless parentheses. 451
Useless parentheses. 458
Useless parentheses. 462
Useless parentheses. 491
Useless parentheses. 530
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 688
Useless parentheses. 834

org/apache/commons/beanutils/Converter.java

Violation Line
Avoid modifiers which are implied by the context 54

org/apache/commons/beanutils/DefaultBeanIntrospector.java

Violation Line
Unnecessary use of fully qualified name 'java.util.List' due to existing import 'java.util.List' 57

org/apache/commons/beanutils/DynaBean.java

Violation Line
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 103
Avoid modifiers which are implied by the context 117
Avoid modifiers which are implied by the context 133
Avoid modifiers which are implied by the context 152
Avoid modifiers which are implied by the context 169

org/apache/commons/beanutils/DynaClass.java

Violation Line
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 8283

org/apache/commons/beanutils/DynaProperty.java

Violation Line
Useless parentheses. 125
Useless parentheses. 143
Useless parentheses. 176
Useless parentheses. 178
Useless parentheses. 180
Useless parentheses. 182
Useless parentheses. 197
Useless parentheses. 199
Useless parentheses. 217
Useless parentheses. 219
Useless parentheses. 222
Useless parentheses. 222
Useless parentheses. 222
Useless parentheses. 223
Useless parentheses. 223
Useless parentheses. 223
Useless parentheses. 224
Useless parentheses. 224
Useless parentheses. 224
Useless parentheses. 262

org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java

Violation Line
Useless parentheses. 164
Avoid unused method parameters such as 'propertyName'. 177

org/apache/commons/beanutils/JDBCDynaClass.java

Violation Line
Useless parentheses. 82
Useless parentheses. 100
Useless parentheses. 111
Unnecessary use of fully qualified name 'java.sql.Date' due to existing import 'java.sql.Date' 202
Unnecessary use of fully qualified name 'java.sql.Timestamp' due to existing import 'java.sql.Timestamp' 204
Unnecessary use of fully qualified name 'java.sql.Time' due to existing import 'java.sql.Time' 206
Avoid empty catch blocks 210213

org/apache/commons/beanutils/LazyDynaBean.java

Violation Line
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 133
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 135
Useless parentheses. 251
Useless parentheses. 284
Useless parentheses. 409
Useless parentheses. 635
Useless parentheses. 922
Useless parentheses. 922
Useless parentheses. 922
Useless parentheses. 923
Useless parentheses. 923
Useless parentheses. 923
Useless parentheses. 924
Useless parentheses. 924
Useless parentheses. 924
Useless parentheses. 925
Useless parentheses. 925
Useless parentheses. 925
Useless parentheses. 926
Useless parentheses. 926
Useless parentheses. 926
Useless parentheses. 927
Useless parentheses. 927
Useless parentheses. 927
Useless parentheses. 928
Useless parentheses. 928
Useless parentheses. 928
Useless parentheses. 929
Useless parentheses. 929
Useless parentheses. 929
Useless parentheses. 930
Useless parentheses. 932

org/apache/commons/beanutils/LazyDynaList.java

Violation Line
Useless parentheses. 445
Useless parentheses. 446
Useless parentheses. 450
Useless parentheses. 517

org/apache/commons/beanutils/MappedPropertyDescriptor.java

Violation Line
Avoid empty catch blocks 112116
Useless parentheses. 123
Useless parentheses. 123
Avoid empty catch blocks 516518

org/apache/commons/beanutils/MethodUtils.java

Violation Line
Useless parentheses. 740
Useless parentheses. 756
Useless parentheses. 778
Useless parentheses. 783
Useless parentheses. 802
Useless parentheses. 821
Avoid empty catch blocks 888892
Useless parentheses. 911
Avoid empty catch blocks 968
These nested if statements could be combined 12981300
Useless parentheses. 13531356

org/apache/commons/beanutils/MutableDynaClass.java

Violation Line
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 8283
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 110
Avoid modifiers which are implied by the context 118

org/apache/commons/beanutils/PropertyUtils.java

Violation Line
Useless parentheses. 127
Useless parentheses. 245
Useless parentheses. 277
Useless parentheses. 310
Useless parentheses. 337
Useless parentheses. 464
Useless parentheses. 618

org/apache/commons/beanutils/PropertyUtilsBean.java

Violation Line
Useless parentheses. 387
Useless parentheses. 446
Useless parentheses. 501
Useless parentheses. 521
Unnecessary use of fully qualified name 'java.util.List' due to existing import 'java.util.List' 544
Unnecessary use of fully qualified name 'java.util.List' due to existing import 'java.util.List' 549
Useless parentheses. 554
Useless parentheses. 614
Useless parentheses. 660
Unnecessary use of fully qualified name 'java.util.Map' due to existing import 'java.util.Map' 692
Unnecessary use of fully qualified name 'java.util.Map' due to existing import 'java.util.Map' 693
Useless parentheses. 743
Useless parentheses. 884
Useless parentheses. 951
Avoid empty catch blocks 972976
Useless parentheses. 1023
Useless parentheses. 1073
Useless parentheses. 1075
Useless parentheses. 1146
Useless parentheses. 1150
Useless parentheses. 1152
Useless parentheses. 1154
Useless parentheses. 1161
Useless parentheses. 11631164
Useless parentheses. 11661167
Useless parentheses. 1169
Useless parentheses. 1186
Useless parentheses. 1202
Useless parentheses. 1261
Useless parentheses. 1279
Useless parentheses. 1300
Useless parentheses. 13181319
Useless parentheses. 1383
Useless parentheses. 1398
Useless parentheses. 1400
Useless parentheses. 1403
Useless parentheses. 1405
Useless parentheses. 1407
Useless parentheses. 1474
Useless parentheses. 1489
Useless parentheses. 1491
Useless parentheses. 1494
Useless parentheses. 1496
Useless parentheses. 1498
Unnecessary use of fully qualified name 'java.util.Map' due to existing import 'java.util.Map' 1828
Unnecessary use of fully qualified name 'java.util.Map' due to existing import 'java.util.Map' 1829
Useless parentheses. 2141
Useless parentheses. 2178

org/apache/commons/beanutils/ResultSetDynaClass.java

Violation Line
Useless parentheses. 195
Useless parentheses. 221

org/apache/commons/beanutils/ResultSetIterator.java

Violation Line
Useless parentheses. 180
Useless parentheses. 291
Useless parentheses. 312

org/apache/commons/beanutils/RowSetDynaClass.java

Violation Line
Useless parentheses. 266
Useless parentheses. 309

org/apache/commons/beanutils/WeakFastHashMap.java

Violation Line
Useless parentheses. 128
Useless parentheses. 158
Useless parentheses. 161
Useless parentheses. 174
Useless parentheses. 177
Useless parentheses. 190
Useless parentheses. 193
Useless parentheses. 208
Useless parentheses. 211
Useless parentheses. 226
Useless parentheses. 229
Useless parentheses. 256
Useless parentheses. 260
Useless parentheses. 300
Useless parentheses. 304
Useless parentheses. 341
Useless parentheses. 343
Useless parentheses. 350
Useless parentheses. 357
Useless parentheses. 361
Useless parentheses. 365
Useless parentheses. 370
Useless parentheses. 377
Useless parentheses. 381
Useless parentheses. 385
Useless parentheses. 404
Useless parentheses. 411
Useless parentheses. 433

org/apache/commons/beanutils/WrapDynaBean.java

Violation Line
Useless parentheses. 146
Useless parentheses. 184
Useless parentheses. 217
Useless parentheses. 233
Useless parentheses. 390

org/apache/commons/beanutils/WrapDynaClass.java

Violation Line
Useless parentheses. 309
Useless parentheses. 327
Useless parentheses. 377
Useless parentheses. 430

org/apache/commons/beanutils/converters/AbstractArrayConverter.java

Violation Line
Useless parentheses. 191
Useless parentheses. 192
Useless parentheses. 203

org/apache/commons/beanutils/converters/AbstractConverter.java

Violation Line
Avoid unused method parameters such as 'targetClass'. 457

org/apache/commons/beanutils/converters/ArrayConverter.java

Violation Line
Useless parentheses. 465
Useless parentheses. 465
Useless parentheses. 488

org/apache/commons/beanutils/converters/BooleanArrayConverter.java

Violation Line
Useless parentheses. 188
Useless parentheses. 196
Useless parentheses. 212
Useless parentheses. 215
Useless parentheses. 234
Useless parentheses. 237

org/apache/commons/beanutils/converters/ByteArrayConverter.java

Violation Line
Useless parentheses. 98
Useless parentheses. 106
Useless parentheses. 117
Useless parentheses. 120
Useless parentheses. 135
Useless parentheses. 138

org/apache/commons/beanutils/converters/CharacterArrayConverter.java

Violation Line
Useless parentheses. 99
Useless parentheses. 107
Useless parentheses. 118
Useless parentheses. 121
Useless parentheses. 136
Useless parentheses. 139

org/apache/commons/beanutils/converters/ClassConverter.java

Violation Line
Useless parentheses. 75
Avoid empty catch blocks 9699

org/apache/commons/beanutils/converters/DateTimeConverter.java

Violation Line
Useless parentheses. 304

org/apache/commons/beanutils/converters/DoubleArrayConverter.java

Violation Line
Useless parentheses. 98
Useless parentheses. 106
Useless parentheses. 117
Useless parentheses. 120
Useless parentheses. 135
Useless parentheses. 138

org/apache/commons/beanutils/converters/FloatArrayConverter.java

Violation Line
Useless parentheses. 99
Useless parentheses. 107
Useless parentheses. 118
Useless parentheses. 121
Useless parentheses. 136
Useless parentheses. 139

org/apache/commons/beanutils/converters/IntegerArrayConverter.java

Violation Line
Useless parentheses. 99
Useless parentheses. 107
Useless parentheses. 118
Useless parentheses. 121
Useless parentheses. 136
Useless parentheses. 139

org/apache/commons/beanutils/converters/LongArrayConverter.java

Violation Line
Useless parentheses. 99
Useless parentheses. 107
Useless parentheses. 118
Useless parentheses. 121
Useless parentheses. 136
Useless parentheses. 139

org/apache/commons/beanutils/converters/ShortArrayConverter.java

Violation Line
Useless parentheses. 99
Useless parentheses. 107
Useless parentheses. 118
Useless parentheses. 121
Useless parentheses. 136
Useless parentheses. 139

org/apache/commons/beanutils/converters/StringArrayConverter.java

Violation Line
Useless parentheses. 129
Useless parentheses. 137
Useless parentheses. 150
Useless parentheses. 161
Useless parentheses. 164

org/apache/commons/beanutils/expression/DefaultResolver.java

Violation Line
Useless parentheses. 167

org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java

Violation Line
Useless parentheses. 768
Useless parentheses. 821

org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java

Violation Line
Useless parentheses. 286
Useless parentheses. 352

org/apache/commons/beanutils/locale/LocaleConverter.java

Violation Line
Avoid modifiers which are implied by the context 47

org/apache/commons/beanutils/locale/converters/DateLocaleConverter.java

Violation Line
Useless parentheses. 354
Useless parentheses. 355

org/apache/commons/beanutils/locale/converters/DoubleLocaleConverter.java

Violation Line
Useless parentheses. 221

org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java

Violation Line
Useless parentheses. 221
Useless parentheses. 221

org/apache/commons/beanutils/locale/converters/SqlTimeLocaleConverter.java

Violation Line
Avoid unused constructor parameters such as 'locPattern'. 141

org/apache/commons/beanutils/locale/converters/SqlTimestampLocaleConverter.java

Violation Line
Avoid unused constructor parameters such as 'locPattern'. 86

org/apache/commons/beanutils/locale/converters/StringLocaleConverter.java

Violation Line
Useless parentheses. 236
Useless parentheses. 237
Useless parentheses. 238
Useless parentheses. 239
Useless parentheses. 240
Useless parentheses. 244
Useless parentheses. 245
Useless parentheses. 246