PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/joda/beans/Bean.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaBean': the method is declared in an interface type 38
UnnecessaryModifier Unnecessary modifier 'public' on method 'property': the method is declared in an interface type 54–56
UnnecessaryModifier Unnecessary modifier 'public' on method 'propertyNames': the method is declared in an interface type 66–68

org/joda/beans/BeanBuilder.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'get': the method is declared in an interface type 34
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'get': the method is declared in an interface type 44
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'set': the method is declared in an interface type 57
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'set': the method is declared in an interface type 70
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'build': the method is declared in an interface type 80

org/joda/beans/DynamicBean.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaBean': the method is declared in an interface type 34
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'property': the method is declared in an interface type 47
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyDefine': the method is declared in an interface type 58
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyRemove': the method is declared in an interface type 65

org/joda/beans/DynamicMetaBean.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'builder': the method is declared in an interface type 36
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'beanType': the method is declared in an interface type 44
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaProperty': the method is declared in an interface type 57
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaPropertyDefine': the method is declared in an interface type 69
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaPropertyRemove': the method is declared in an interface type 76

org/joda/beans/JodaBeanUtils.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 747–757

org/joda/beans/MetaBean.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'of': the method is declared in an interface type 45–47
UnnecessaryModifier Unnecessary modifier 'public' on method 'register': the method is declared in an interface type 58–60
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'isBuildable': the method is declared in an interface type 72
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'builder': the method is declared in an interface type 87
UnnecessaryModifier Unnecessary modifier 'public' on method 'beanName': the method is declared in an interface type 97–99
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'beanType': the method is declared in an interface type 109
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaPropertyCount': the method is declared in an interface type 120–122
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaPropertyExists': the method is declared in an interface type 133–135
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaProperty': the method is declared in an interface type 152–158
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaPropertyIterable': the method is declared in an interface type 169–171
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaPropertyMap': the method is declared in an interface type 180
UnnecessaryModifier Unnecessary modifier 'public' on method 'annotations': the method is declared in an interface type 197–199
UnnecessaryModifier Unnecessary modifier 'public' on method 'annotation': the method is declared in an interface type 214–222

org/joda/beans/MetaProperty.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'createProperty': the method is declared in an interface type 43–45
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaBean': the method is declared in an interface type 55
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'name': the method is declared in an interface type 65
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'declaringType': the method is declared in an interface type 74
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyType': the method is declared in an interface type 84
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyGenericType': the method is declared in an interface type 93
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'style': the method is declared in an interface type 103
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'annotations': the method is declared in an interface type 115
UnnecessaryModifier Unnecessary modifier 'public' on method 'annotation': the method is declared in an interface type 130–138
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'get': the method is declared in an interface type 152
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'set': the method is declared in an interface type 168
UnnecessaryModifier Unnecessary modifier 'public' on method 'put': the method is declared in an interface type 185–189
UnnecessaryModifier Unnecessary modifier 'public' on method 'getString': the method is declared in an interface type 208–210
UnnecessaryModifier Unnecessary modifier 'public' on method 'getString': the method is declared in an interface type 228–231
UnnecessaryModifier Unnecessary modifier 'public' on method 'setString': the method is declared in an interface type 246–248
UnnecessaryModifier Unnecessary modifier 'public' on method 'setString': the method is declared in an interface type 264–266
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'equals': the method is declared in an interface type 279
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'hashCode': the method is declared in an interface type 287

org/joda/beans/Property.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'bean': the method is declared in an interface type 36
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaProperty': the method is declared in an interface type 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'name': the method is declared in an interface type 54–56
UnnecessaryModifier Unnecessary modifier 'public' on method 'get': the method is declared in an interface type 68–70
UnnecessaryModifier Unnecessary modifier 'public' on method 'set': the method is declared in an interface type 85–87
UnnecessaryModifier Unnecessary modifier 'public' on method 'put': the method is declared in an interface type 101–103
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'equals': the method is declared in an interface type 116
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'hashCode': the method is declared in an interface type 124

org/joda/beans/TypedMetaBean.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'builder': the method is declared in an interface type 29
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'beanType': the method is declared in an interface type 32

org/joda/beans/gen/BeanGen.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 73–75

org/joda/beans/gen/BeanGenConfig.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 125–127

org/joda/beans/gen/PropertyData.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 991–993

org/joda/beans/gen/SetterGen.java

Rule Violation Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 113

org/joda/beans/impl/BasicPropertyMap.java

Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 70

org/joda/beans/ser/SerDeserializer.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findMetaBean': the method is declared in an interface type 99
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'createBuilder': the method is declared in an interface type 110
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findMetaProperty': the method is declared in an interface type 127
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'setValue': the method is declared in an interface type 136
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'build': the method is declared in an interface type 149

org/joda/beans/ser/SerDeserializerProvider.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findDeserializer': the method is declared in an interface type 40

org/joda/beans/ser/SerOptional.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 45–47
EmptyCatchBlock Avoid empty catch blocks 55–57
EmptyCatchBlock Avoid empty catch blocks 65–67
EmptyCatchBlock Avoid empty catch blocks 75–77
EmptyCatchBlock Avoid empty catch blocks 85–87

org/joda/beans/ser/SerTypeMapper.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'settings'. 195

org/joda/beans/ser/bin/MsgPackVisualizer.java

Rule Violation Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 137

org/joda/beans/ser/json/JodaBeanSimpleJsonWriter.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'declaredType'. 107

org/joda/beans/ser/json/JsonInput.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'REPLACE'. 27

org/joda/beans/ser/map/JodaBeanSimpleMapWriter.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'declaredType'. 83

org/joda/beans/ser/xml/JodaBeanXmlReader.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 16–513
UnusedFormalParameter Avoid unused method parameters such as 'location'. 507

org/joda/beans/ser/xml/JodaBeanXmlWriter.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 16–505

org/joda/beans/test/BeanAssert.java

Rule Violation Line
UnnecessaryReturn Avoid unnecessary return statements 312

org/joda/beans/test/JodaBeanTests.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 150–152
UnusedFormalParameter Avoid unused method parameters such as 'metaPropMap'. 227
EmptyCatchBlock Avoid empty catch blocks 317–319
EmptyCatchBlock Avoid empty catch blocks 429–431
EmptyCatchBlock Avoid empty catch blocks 436–438
EmptyCatchBlock Avoid empty catch blocks 443–445
EmptyCatchBlock Avoid empty catch blocks 450–452
EmptyCatchBlock Avoid empty catch blocks 527–529

Priority 4

org/joda/beans/JodaBeanUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 205
UselessParentheses Useless parentheses. 234
UselessParentheses Useless parentheses. 546
UselessParentheses Useless parentheses. 937

org/joda/beans/gen/BeanCodeGen.java

Rule Violation Line
UselessParentheses Useless parentheses. 169
UselessParentheses Useless parentheses. 234

org/joda/beans/gen/BeanData.java

Rule Violation Line
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 331
UselessParentheses Useless parentheses. 331
UselessParentheses Useless parentheses. 339
UselessParentheses Useless parentheses. 723
UselessParentheses Useless parentheses. 1071

org/joda/beans/gen/BeanGen.java

Rule Violation Line
UselessParentheses Useless parentheses. 323
UselessParentheses Useless parentheses. 325
UselessParentheses Useless parentheses. 381
UselessParentheses Useless parentheses. 783
UselessParentheses Useless parentheses. 1072
UselessParentheses Useless parentheses. 1179–1180
UselessParentheses Useless parentheses. 1180
UselessParentheses Useless parentheses. 1493

org/joda/beans/gen/BeanParser.java

Rule Violation Line
UselessParentheses Useless parentheses. 620
UselessParentheses Useless parentheses. 626

org/joda/beans/gen/GetterGen.java

Rule Violation Line
UselessParentheses Useless parentheses. 52–54
UselessParentheses Useless parentheses. 72–74
UselessParentheses Useless parentheses. 96–98
UselessParentheses Useless parentheses. 116–118
UselessParentheses Useless parentheses. 136–138
UselessParentheses Useless parentheses. 156–158

org/joda/beans/gen/PropertyData.java

Rule Violation Line
UselessParentheses Useless parentheses. 381
UselessParentheses Useless parentheses. 455
UselessParentheses Useless parentheses. 489
UselessParentheses Useless parentheses. 689
UselessParentheses Useless parentheses. 698
UselessParentheses Useless parentheses. 1067

org/joda/beans/gen/PropertyParser.java

Rule Violation Line
UselessParentheses Useless parentheses. 177
UselessParentheses Useless parentheses. 308

org/joda/beans/gen/SetterGen.java

Rule Violation Line
UselessParentheses Useless parentheses. 64–66
UselessParentheses Useless parentheses. 113

org/joda/beans/impl/reflection/ReflectiveMetaProperty.java

Rule Violation Line
UselessParentheses Useless parentheses. 86
UselessParentheses Useless parentheses. 163–164
UselessParentheses Useless parentheses. 164

org/joda/beans/ser/CollectSerIteratorFactory.java

Rule Violation Line
UselessParentheses Useless parentheses. 198

org/joda/beans/ser/JodaBeanSer.java

Rule Violation Line
UselessParentheses Useless parentheses. 264

org/joda/beans/ser/SerIteratorFactory.java

Rule Violation Line
UselessParentheses Useless parentheses. 179

org/joda/beans/ser/SerOptional.java

Rule Violation Line
UselessParentheses Useless parentheses. 135

org/joda/beans/ser/bin/AbstractBinReader.java

Rule Violation Line
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 353
UselessParentheses Useless parentheses. 370
UselessParentheses Useless parentheses. 387

org/joda/beans/ser/bin/AbstractBinWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 81

org/joda/beans/ser/bin/JodaBeanReferencingBinWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 100

org/joda/beans/ser/bin/MsgPack.java

Rule Violation Line
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 227
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 235

org/joda/beans/ser/json/AbstractJsonReader.java

Rule Violation Line
UselessParentheses Useless parentheses. 129

org/joda/beans/ser/json/JodaBeanJsonWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 176
UselessParentheses Useless parentheses. 185

org/joda/beans/ser/json/JodaBeanSimpleJsonWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 111

org/joda/beans/ser/json/JsonInput.java

Rule Violation Line
UselessParentheses Useless parentheses. 258

org/joda/beans/ser/map/JodaBeanSimpleMapWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 87

org/joda/beans/ser/xml/JodaBeanXmlReader.java

Rule Violation Line
UselessParentheses Useless parentheses. 473

org/joda/beans/ser/xml/JodaBeanXmlWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 197
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 226

Files

org/joda/beans/Bean.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaBean': the method is declared in an interface type 3 38
UnnecessaryModifier Unnecessary modifier 'public' on method 'property': the method is declared in an interface type 3 54–56
UnnecessaryModifier Unnecessary modifier 'public' on method 'propertyNames': the method is declared in an interface type 3 66–68

org/joda/beans/BeanBuilder.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'get': the method is declared in an interface type 3 34
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'get': the method is declared in an interface type 3 44
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'set': the method is declared in an interface type 3 57
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'set': the method is declared in an interface type 3 70
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'build': the method is declared in an interface type 3 80

org/joda/beans/DynamicBean.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaBean': the method is declared in an interface type 3 34
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'property': the method is declared in an interface type 3 47
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyDefine': the method is declared in an interface type 3 58
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyRemove': the method is declared in an interface type 3 65

org/joda/beans/DynamicMetaBean.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'builder': the method is declared in an interface type 3 36
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'beanType': the method is declared in an interface type 3 44
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaProperty': the method is declared in an interface type 3 57
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaPropertyDefine': the method is declared in an interface type 3 69
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaPropertyRemove': the method is declared in an interface type 3 76

org/joda/beans/JodaBeanUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 205
UselessParentheses Useless parentheses. 4 234
UselessParentheses Useless parentheses. 4 546
CollapsibleIfStatements These nested if statements could be combined 3 747–757
UselessParentheses Useless parentheses. 4 937

org/joda/beans/MetaBean.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'of': the method is declared in an interface type 3 45–47
UnnecessaryModifier Unnecessary modifier 'public' on method 'register': the method is declared in an interface type 3 58–60
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'isBuildable': the method is declared in an interface type 3 72
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'builder': the method is declared in an interface type 3 87
UnnecessaryModifier Unnecessary modifier 'public' on method 'beanName': the method is declared in an interface type 3 97–99
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'beanType': the method is declared in an interface type 3 109
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaPropertyCount': the method is declared in an interface type 3 120–122
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaPropertyExists': the method is declared in an interface type 3 133–135
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaProperty': the method is declared in an interface type 3 152–158
UnnecessaryModifier Unnecessary modifier 'public' on method 'metaPropertyIterable': the method is declared in an interface type 3 169–171
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaPropertyMap': the method is declared in an interface type 3 180
UnnecessaryModifier Unnecessary modifier 'public' on method 'annotations': the method is declared in an interface type 3 197–199
UnnecessaryModifier Unnecessary modifier 'public' on method 'annotation': the method is declared in an interface type 3 214–222

org/joda/beans/MetaProperty.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'createProperty': the method is declared in an interface type 3 43–45
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaBean': the method is declared in an interface type 3 55
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'name': the method is declared in an interface type 3 65
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'declaringType': the method is declared in an interface type 3 74
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyType': the method is declared in an interface type 3 84
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'propertyGenericType': the method is declared in an interface type 3 93
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'style': the method is declared in an interface type 3 103
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'annotations': the method is declared in an interface type 3 115
UnnecessaryModifier Unnecessary modifier 'public' on method 'annotation': the method is declared in an interface type 3 130–138
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'get': the method is declared in an interface type 3 152
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'set': the method is declared in an interface type 3 168
UnnecessaryModifier Unnecessary modifier 'public' on method 'put': the method is declared in an interface type 3 185–189
UnnecessaryModifier Unnecessary modifier 'public' on method 'getString': the method is declared in an interface type 3 208–210
UnnecessaryModifier Unnecessary modifier 'public' on method 'getString': the method is declared in an interface type 3 228–231
UnnecessaryModifier Unnecessary modifier 'public' on method 'setString': the method is declared in an interface type 3 246–248
UnnecessaryModifier Unnecessary modifier 'public' on method 'setString': the method is declared in an interface type 3 264–266
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'equals': the method is declared in an interface type 3 279
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'hashCode': the method is declared in an interface type 3 287

org/joda/beans/Property.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'bean': the method is declared in an interface type 3 36
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'metaProperty': the method is declared in an interface type 3 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'name': the method is declared in an interface type 3 54–56
UnnecessaryModifier Unnecessary modifier 'public' on method 'get': the method is declared in an interface type 3 68–70
UnnecessaryModifier Unnecessary modifier 'public' on method 'set': the method is declared in an interface type 3 85–87
UnnecessaryModifier Unnecessary modifier 'public' on method 'put': the method is declared in an interface type 3 101–103
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'equals': the method is declared in an interface type 3 116
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'hashCode': the method is declared in an interface type 3 124

org/joda/beans/TypedMetaBean.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'builder': the method is declared in an interface type 3 29
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'beanType': the method is declared in an interface type 3 32

org/joda/beans/gen/BeanCodeGen.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 169
UselessParentheses Useless parentheses. 4 234

org/joda/beans/gen/BeanData.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 331
UselessParentheses Useless parentheses. 4 331
UselessParentheses Useless parentheses. 4 339
UselessParentheses Useless parentheses. 4 723
UselessParentheses Useless parentheses. 4 1071

org/joda/beans/gen/BeanGen.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 73–75
UselessParentheses Useless parentheses. 4 323
UselessParentheses Useless parentheses. 4 325
UselessParentheses Useless parentheses. 4 381
UselessParentheses Useless parentheses. 4 783
UselessParentheses Useless parentheses. 4 1072
UselessParentheses Useless parentheses. 4 1179–1180
UselessParentheses Useless parentheses. 4 1180
UselessParentheses Useless parentheses. 4 1493

org/joda/beans/gen/BeanGenConfig.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 125–127

org/joda/beans/gen/BeanParser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 620
UselessParentheses Useless parentheses. 4 626

org/joda/beans/gen/GetterGen.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 52–54
UselessParentheses Useless parentheses. 4 72–74
UselessParentheses Useless parentheses. 4 96–98
UselessParentheses Useless parentheses. 4 116–118
UselessParentheses Useless parentheses. 4 136–138
UselessParentheses Useless parentheses. 4 156–158

org/joda/beans/gen/PropertyData.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 381
UselessParentheses Useless parentheses. 4 455
UselessParentheses Useless parentheses. 4 489
UselessParentheses Useless parentheses. 4 689
UselessParentheses Useless parentheses. 4 698
CollapsibleIfStatements These nested if statements could be combined 3 991–993
UselessParentheses Useless parentheses. 4 1067

org/joda/beans/gen/PropertyParser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 177
UselessParentheses Useless parentheses. 4 308

org/joda/beans/gen/SetterGen.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 64–66
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 113
UselessParentheses Useless parentheses. 4 113

org/joda/beans/impl/BasicPropertyMap.java

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

org/joda/beans/impl/reflection/ReflectiveMetaProperty.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 86
UselessParentheses Useless parentheses. 4 163–164
UselessParentheses Useless parentheses. 4 164

org/joda/beans/ser/CollectSerIteratorFactory.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 198

org/joda/beans/ser/JodaBeanSer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 264

org/joda/beans/ser/SerDeserializer.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findMetaBean': the method is declared in an interface type 3 99
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'createBuilder': the method is declared in an interface type 3 110
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'findMetaProperty': the method is declared in an interface type 3 127
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'setValue': the method is declared in an interface type 3 136
UnnecessaryModifier Unnecessary modifiers 'public abstract' on method 'build': the method is declared in an interface type 3 149

org/joda/beans/ser/SerDeserializerProvider.java

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

org/joda/beans/ser/SerIteratorFactory.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 179

org/joda/beans/ser/SerOptional.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 45–47
EmptyCatchBlock Avoid empty catch blocks 3 55–57
EmptyCatchBlock Avoid empty catch blocks 3 65–67
EmptyCatchBlock Avoid empty catch blocks 3 75–77
EmptyCatchBlock Avoid empty catch blocks 3 85–87
UselessParentheses Useless parentheses. 4 135

org/joda/beans/ser/SerTypeMapper.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'settings'. 3 195

org/joda/beans/ser/bin/AbstractBinReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 353
UselessParentheses Useless parentheses. 4 370
UselessParentheses Useless parentheses. 4 387

org/joda/beans/ser/bin/AbstractBinWriter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 81

org/joda/beans/ser/bin/JodaBeanReferencingBinWriter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 100

org/joda/beans/ser/bin/MsgPack.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 227
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 235

org/joda/beans/ser/bin/MsgPackVisualizer.java

Rule Violation Priority Line
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 137

org/joda/beans/ser/json/AbstractJsonReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 129

org/joda/beans/ser/json/JodaBeanJsonWriter.java

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

org/joda/beans/ser/json/JodaBeanSimpleJsonWriter.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'declaredType'. 3 107
UselessParentheses Useless parentheses. 4 111

org/joda/beans/ser/json/JsonInput.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'REPLACE'. 3 27
UselessParentheses Useless parentheses. 4 258

org/joda/beans/ser/map/JodaBeanSimpleMapWriter.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'declaredType'. 3 83
UselessParentheses Useless parentheses. 4 87

org/joda/beans/ser/xml/JodaBeanXmlReader.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 16–513
UselessParentheses Useless parentheses. 4 473
UnusedFormalParameter Avoid unused method parameters such as 'location'. 3 507

org/joda/beans/ser/xml/JodaBeanXmlWriter.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 16–505
UselessParentheses Useless parentheses. 4 197
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 226

org/joda/beans/test/BeanAssert.java

Rule Violation Priority Line
UnnecessaryReturn Avoid unnecessary return statements 3 312

org/joda/beans/test/JodaBeanTests.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 150–152
UnusedFormalParameter Avoid unused method parameters such as 'metaPropMap'. 3 227
EmptyCatchBlock Avoid empty catch blocks 3 317–319
EmptyCatchBlock Avoid empty catch blocks 3 429–431
EmptyCatchBlock Avoid empty catch blocks 3 436–438
EmptyCatchBlock Avoid empty catch blocks 3 443–445
EmptyCatchBlock Avoid empty catch blocks 3 450–452
EmptyCatchBlock Avoid empty catch blocks 3 527–529

Back to top

Version: 2.7.1. Last Published: 2019-06-05.

Reflow Maven skin.