Skip to content

Commit

Permalink
make processors final
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramn committed Oct 6, 2023
1 parent 58fd95d commit ca81600
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,14 @@ public class JacksonPlugin extends AbstractParameterizablePlugin {

public static final String NS = "http://jaxb2-commons.dev.java.net/basic/jackson";

private EnumAnnotationProcessor enumAnnotationProcessor = new EnumAnnotationProcessor();
private final EnumAnnotationProcessor enumAnnotationProcessor;

private FixedAttributeValueProcessor fixedAttributeValueProcessor = new FixedAttributeValueProcessor();
private final FixedAttributeValueProcessor fixedAttributeValueProcessor;

public JacksonPlugin() {
this.enumAnnotationProcessor = new EnumAnnotationProcessor();
this.fixedAttributeValueProcessor = new FixedAttributeValueProcessor();
}

@Override
public String getOptionName() {
Expand Down

0 comments on commit ca81600

Please sign in to comment.