Skip to content

Add code quality tools with dedicated GitHub Actions #10

Add code quality tools with dedicated GitHub Actions

Add code quality tools with dedicated GitHub Actions #10

Triggered via pull request February 14, 2026 10:35
Status Failure
Total duration 1m 9s
Artifacts

errorprone.yml

on: pull_request
Error Prone Analysis
1m 6s
Error Prone Analysis
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Error Prone Analysis
Process completed with exit code 1.
Error Prone Analysis: jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/URLProtocol.java#L28
ImmutableEnumChecker: enums should be immutable: 'URLProtocol' has non-final field 'protocol'
Error Prone Analysis: jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/JacksonAnnotator.java#L216
MissingOverride: addJsonTypeInfoAnnotation implements method in AbstractTypeInfoAwareAnnotator; expected @OverRide
Error Prone Analysis: jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/JacksonAnnotator.java#L56
StatementSwitchToExpressionSwitch: This statement switch can be converted to an equivalent expression switch
Error Prone Analysis: jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/AnnotatorFactory.java#L44
StatementSwitchToExpressionSwitch: This statement switch can be converted to an equivalent expression switch
Error Prone Analysis: 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.
Error Prone Analysis: 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.
Error Prone Analysis: 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.
Error Prone Analysis: jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/TypeUtil.java#L65
PatternMatchingInstanceof: This code can be simplified to use a pattern-matching instanceof.