PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
Johnzon :: Core - org/apache/johnzon/core/JohnzonJsonParser.java
Rule |
Violation |
Line |
SimplifiedTernary |
Ternary operators that can be simplified with || or && |
55–56 |
Johnzon :: Core - org/apache/johnzon/core/JsonArrayImpl.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
170 |
Johnzon :: Core - org/apache/johnzon/core/JsonChars.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'START_ARRAY': the field is declared in an interface type |
66 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'START_OBJECT': the field is declared in an interface type |
67 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'KEY_NAME': the field is declared in an interface type |
68 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_STRING': the field is declared in an interface type |
69 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_NUMBER': the field is declared in an interface type |
70 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_TRUE': the field is declared in an interface type |
71 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_FALSE': the field is declared in an interface type |
72 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_NULL': the field is declared in an interface type |
73 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'END_OBJECT': the field is declared in an interface type |
74 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'END_ARRAY': the field is declared in an interface type |
75 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'COMMA_EVENT': the field is declared in an interface type |
77 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'KEY_SEPARATOR_EVENT': the field is declared in an interface type |
78 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'EVT_MAP': the field is declared in an interface type |
80 |
Johnzon :: Core - org/apache/johnzon/core/JsonGeneratorImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonObjectImpl.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
150 |
Johnzon :: Core - org/apache/johnzon/core/JsonStreamParserImpl.java
Johnzon :: Core - org/apache/johnzon/core/Snippet.java
Rule |
Violation |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'max'. |
45 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'b': resource specifications are implicitly final |
73 |
Johnzon :: JSON-B Extensions - org/apache/johnzon/jsonb/extras/polymorphism/Polymorphic.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/DefaultPropertyVisibilityStrategy.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JohnzonBuilder.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JohnzonJsonb.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'jsonObjectGenerator': resource specifications are implicitly final |
542 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JsonbAccessMode.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/adapter/JsonbEnumAdapter.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/extension/JsonValueWriter.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
60 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/factory/CdiJohnzonAdapterFactory.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/order/PerHierarchyAndLexicographicalOrderFieldComparator.java
Johnzon :: JSON Logic - org/apache/johnzon/jsonlogic/JohnzonJsonLogic.java
Rule |
Violation |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'cacheJsonMergePatches'. |
61 |
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/generator/PojoGenerator.java
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/generator/SchemaProcessor.java
Johnzon :: Mapper - org/apache/johnzon/mapper/ExceptionMessages.java
Johnzon :: Mapper - org/apache/johnzon/mapper/JohnzonConverter.java
Johnzon :: Mapper - org/apache/johnzon/mapper/JohnzonCores.java
Johnzon :: Mapper - org/apache/johnzon/mapper/Mapper.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
116 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
126 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'w': resource specifications are implicitly final |
169 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
181 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
271 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
277 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
283–284 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
290 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
304 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
310 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
316 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
322 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
328 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
334 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
340 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
346 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
352 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
358 |
Johnzon :: Mapper - org/apache/johnzon/mapper/MappingGeneratorImpl.java
Johnzon :: Mapper - org/apache/johnzon/mapper/MappingParserImpl.java
Johnzon :: Mapper - org/apache/johnzon/mapper/Mappings.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/BaseAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/FieldAndMethodAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/KnownNotOpenedJavaTypesAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/MethodAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/map/LazyConverterMap.java
Johnzon :: Mapper - org/apache/johnzon/mapper/reflection/Generics.java
Johnzon :: Mapper - org/apache/johnzon/mapper/reflection/Records.java
Johnzon :: Maven Plugin - org/apache/johnzon/maven/plugin/ExampleToModelMojo.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
106 |
UnusedPrivateMethod |
Avoid unused private methods such as 'visit(JsonStructure,Visitor)'. |
331 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'writer': resource specifications are implicitly final |
347 |
Johnzon :: Maven Plugin - org/apache/johnzon/maven/plugin/JsonSchemaToPojoMojo.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
110 |
Johnzon :: Maven Plugin - org/apache/johnzon/maven/plugin/PojoToJsonSchemaMojo.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'loader': resource specifications are implicitly final |
81 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'jsonb': resource specifications are implicitly final |
82–84 |
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/Activator.java
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/Config.java
Rule |
Violation |
Line |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'CONFIG_PID': the field is declared in an annotation type |
33 |
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/cdi/package-info.java
Johnzon :: WebSocket - org/apache/johnzon/websocket/jsr/JsrObjectDecoder.java
Johnzon :: WebSocket - org/apache/johnzon/websocket/jsr/JsrStructureDecoder.java
Priority 4
Johnzon :: Core - org/apache/johnzon/core/JsonDoubleImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonGeneratorImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonLongImpl.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' |
53 |
Johnzon :: Core - org/apache/johnzon/core/JsonObjectImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonProviderImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonStreamParserImpl.java
Johnzon :: Core - org/apache/johnzon/core/RFC4627AwareInputStreamReader.java
Johnzon :: Core - org/apache/johnzon/core/util/ArrayUtil.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/DefaultPropertyVisibilityStrategy.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'jakarta.json.bind.config.PropertyVisibilityStrategy' due to existing import 'jakarta.json.bind.config.PropertyVisibilityStrategy' |
35 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JohnzonBuilder.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Optional.ofNullable' due to existing static import 'java.util.Optional.ofNullable' |
239 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Optional.ofNullable' due to existing static import 'java.util.Optional.ofNullable' |
244 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JsonbAccessMode.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/converter/JsonbDateConverterBase.java
Johnzon :: JSON Logic - org/apache/johnzon/jsonlogic/JohnzonJsonLogic.java
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/JsonSchemaValidatorFactory.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Optional.ofNullable' due to existing static import 'java.util.Optional.ofNullable' |
201 |
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/generator/PojoGenerator.java
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/generator/SchemaProcessor.java
Johnzon :: Mapper - org/apache/johnzon/mapper/MappingGeneratorImpl.java
Johnzon :: Mapper - org/apache/johnzon/mapper/MappingParserImpl.java
Johnzon :: Mapper - org/apache/johnzon/mapper/Mappings.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/FieldAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/FieldAndMethodAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/map/LazyConverterMap.java
Johnzon :: Mapper - org/apache/johnzon/mapper/number/Validator.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' |
32 |
Johnzon :: Maven Plugin - org/apache/johnzon/maven/plugin/ExampleToModelMojo.java
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/cdi/RegisterCdiExtension.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.johnzon.osgi.cdi.CdiExtensionFactory' due to existing same package import 'org.apache.johnzon.osgi.cdi.*' |
45 |
Files
Johnzon :: Core - org/apache/johnzon/core/JohnzonJsonParser.java
Rule |
Violation |
Priority |
Line |
SimplifiedTernary |
Ternary operators that can be simplified with || or && |
3 |
55–56 |
Johnzon :: Core - org/apache/johnzon/core/JsonArrayImpl.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
3 |
170 |
Johnzon :: Core - org/apache/johnzon/core/JsonChars.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'START_ARRAY': the field is declared in an interface type |
3 |
66 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'START_OBJECT': the field is declared in an interface type |
3 |
67 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'KEY_NAME': the field is declared in an interface type |
3 |
68 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_STRING': the field is declared in an interface type |
3 |
69 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_NUMBER': the field is declared in an interface type |
3 |
70 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_TRUE': the field is declared in an interface type |
3 |
71 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_FALSE': the field is declared in an interface type |
3 |
72 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'VALUE_NULL': the field is declared in an interface type |
3 |
73 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'END_OBJECT': the field is declared in an interface type |
3 |
74 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'END_ARRAY': the field is declared in an interface type |
3 |
75 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'COMMA_EVENT': the field is declared in an interface type |
3 |
77 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'KEY_SEPARATOR_EVENT': the field is declared in an interface type |
3 |
78 |
UnnecessaryModifier |
Unnecessary modifiers 'static final' on field 'EVT_MAP': the field is declared in an interface type |
3 |
80 |
Johnzon :: Core - org/apache/johnzon/core/JsonDoubleImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonGeneratorImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonLongImpl.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' |
4 |
53 |
Johnzon :: Core - org/apache/johnzon/core/JsonObjectImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonProviderImpl.java
Johnzon :: Core - org/apache/johnzon/core/JsonStreamParserImpl.java
Johnzon :: Core - org/apache/johnzon/core/RFC4627AwareInputStreamReader.java
Johnzon :: Core - org/apache/johnzon/core/Snippet.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'max'. |
3 |
45 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'b': resource specifications are implicitly final |
3 |
73 |
Johnzon :: Core - org/apache/johnzon/core/util/ArrayUtil.java
Johnzon :: JSON-B Extensions - org/apache/johnzon/jsonb/extras/polymorphism/Polymorphic.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
19–206 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/DefaultPropertyVisibilityStrategy.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'jakarta.json.bind.config.PropertyVisibilityStrategy' due to existing import 'jakarta.json.bind.config.PropertyVisibilityStrategy' |
4 |
35 |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
131–133 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JohnzonBuilder.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
19–492 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Optional.ofNullable' due to existing static import 'java.util.Optional.ofNullable' |
4 |
239 |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Optional.ofNullable' due to existing static import 'java.util.Optional.ofNullable' |
4 |
244 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JohnzonJsonb.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'jsonObjectGenerator': resource specifications are implicitly final |
3 |
542 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/JsonbAccessMode.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/adapter/JsonbEnumAdapter.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
85–87 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/converter/JsonbDateConverterBase.java
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/extension/JsonValueWriter.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
60 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/factory/CdiJohnzonAdapterFactory.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
46–48 |
Johnzon :: JSON-B Implementation - org/apache/johnzon/jsonb/order/PerHierarchyAndLexicographicalOrderFieldComparator.java
Johnzon :: JSON Logic - org/apache/johnzon/jsonlogic/JohnzonJsonLogic.java
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/JsonSchemaValidatorFactory.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'Optional.ofNullable' due to existing static import 'java.util.Optional.ofNullable' |
4 |
201 |
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/generator/PojoGenerator.java
Johnzon :: JSON Schema - org/apache/johnzon/jsonschema/generator/SchemaProcessor.java
Johnzon :: Mapper - org/apache/johnzon/mapper/ExceptionMessages.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
17–109 |
Johnzon :: Mapper - org/apache/johnzon/mapper/JohnzonConverter.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
19–34 |
Johnzon :: Mapper - org/apache/johnzon/mapper/JohnzonCores.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
44–46 |
Johnzon :: Mapper - org/apache/johnzon/mapper/Mapper.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
3 |
116 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
3 |
126 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'w': resource specifications are implicitly final |
3 |
169 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'generator': resource specifications are implicitly final |
3 |
181 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
271 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
277 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
283–284 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
290 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
304 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
310 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
316 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
322 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
328 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
334 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
340 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
346 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
352 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
358 |
Johnzon :: Mapper - org/apache/johnzon/mapper/MappingGeneratorImpl.java
Johnzon :: Mapper - org/apache/johnzon/mapper/MappingParserImpl.java
Johnzon :: Mapper - org/apache/johnzon/mapper/Mappings.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/BaseAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/FieldAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/FieldAndMethodAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/KnownNotOpenedJavaTypesAccessMode.java
Johnzon :: Mapper - org/apache/johnzon/mapper/access/MethodAccessMode.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
75–77 |
Johnzon :: Mapper - org/apache/johnzon/mapper/map/LazyConverterMap.java
Johnzon :: Mapper - org/apache/johnzon/mapper/number/Validator.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'java.lang.ArithmeticException' due to existing implicit import 'java.lang.*' |
4 |
32 |
Johnzon :: Mapper - org/apache/johnzon/mapper/reflection/Generics.java
Johnzon :: Mapper - org/apache/johnzon/mapper/reflection/Records.java
Rule |
Violation |
Priority |
Line |
EmptyCatchBlock |
Avoid empty catch blocks |
3 |
31–33 |
Johnzon :: Maven Plugin - org/apache/johnzon/maven/plugin/ExampleToModelMojo.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
106 |
UselessParentheses |
Useless parentheses. |
4 |
310 |
UnusedPrivateMethod |
Avoid unused private methods such as 'visit(JsonStructure,Visitor)'. |
3 |
331 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'writer': resource specifications are implicitly final |
3 |
347 |
Johnzon :: Maven Plugin - org/apache/johnzon/maven/plugin/JsonSchemaToPojoMojo.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'reader': resource specifications are implicitly final |
3 |
110 |
Johnzon :: Maven Plugin - org/apache/johnzon/maven/plugin/PojoToJsonSchemaMojo.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'loader': resource specifications are implicitly final |
3 |
81 |
UnnecessaryModifier |
Unnecessary modifier 'final' on resource specification 'jsonb': resource specifications are implicitly final |
3 |
82–84 |
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/Activator.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
20–189 |
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/Config.java
Rule |
Violation |
Priority |
Line |
UnnecessaryModifier |
Unnecessary modifiers 'public static final' on field 'CONFIG_PID': the field is declared in an annotation type |
3 |
33 |
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/cdi/RegisterCdiExtension.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary use of fully qualified name 'org.apache.johnzon.osgi.cdi.CdiExtensionFactory' due to existing same package import 'org.apache.johnzon.osgi.cdi.*' |
4 |
45 |
Johnzon :: Support for OSGI Jaxrs Whiteboard - org/apache/johnzon/osgi/cdi/package-info.java
Rule |
Violation |
Priority |
Line |
TooManyStaticImports |
Too many static imports may lead to messy code |
3 |
20–41 |
Johnzon :: WebSocket - org/apache/johnzon/websocket/jsr/JsrObjectDecoder.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'factory'. |
3 |
28 |
Johnzon :: WebSocket - org/apache/johnzon/websocket/jsr/JsrStructureDecoder.java
Rule |
Violation |
Priority |
Line |
UnusedPrivateField |
Avoid unused private fields such as 'factory'. |
3 |
28 |