Add code quality tools with dedicated GitHub Actions #10
Annotations
1 error and 10 warnings
|
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/model/EnumDefinition.java#L57
NonApiType: Prefer a java.util.List instead.
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/model/EnumDefinition.java#L44
NonApiType: Prefer a java.util.List instead.
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/URLProtocol.java#L28
ImmutableEnumChecker: enums should be immutable: 'URLProtocol' has non-final field 'protocol'
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/JacksonAnnotator.java#L216
MissingOverride: addJsonTypeInfoAnnotation implements method in AbstractTypeInfoAwareAnnotator; expected @OverRide
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/JacksonAnnotator.java#L56
StatementSwitchToExpressionSwitch: This statement switch can be converted to an equivalent expression switch
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/AnnotatorFactory.java#L44
StatementSwitchToExpressionSwitch: This statement switch can be converted to an equivalent expression switch
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/ReflectionHelper.java#L181
JdkObsolete: It is very rare for LinkedList to out-perform ArrayList or ArrayDeque. Avoid it unless you're willing to invest a lot of time into benchmarking. Caveat: LinkedList supports null elements, but ArrayDeque does not.
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/ReflectionHelper.java#L178
JdkObsolete: It is very rare for LinkedList to out-perform ArrayList or ArrayDeque. Avoid it unless you're willing to invest a lot of time into benchmarking. Caveat: LinkedList supports null elements, but ArrayDeque does not.
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/ReflectionHelper.java#L171
JdkObsolete: It is very rare for LinkedList to out-perform ArrayList or ArrayDeque. Avoid it unless you're willing to invest a lot of time into benchmarking. Caveat: LinkedList supports null elements, but ArrayDeque does not.
|
|
jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/TypeUtil.java#L65
PatternMatchingInstanceof: This code can be simplified to use a pattern-matching instanceof.
|
The logs for this run have expired and are no longer available.
Loading