Skip to content

Commit

Permalink
Review change - make instance variables final
Browse files Browse the repository at this point in the history
  • Loading branch information
markharwood committed Mar 6, 2019
1 parent 6eaa5ca commit 8e58f21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ public AnnotationToken getAnnotation(int index) {
// When asked to tokenize plain-text versions by the highlighter it tokenizes the
// original markup form in order to inject annotations.
public static final class AnnotatedHighlighterAnalyzer extends AnalyzerWrapper {
private Analyzer delegate;
private HitContext hitContext;
private final Analyzer delegate;
private final HitContext hitContext;
public AnnotatedHighlighterAnalyzer(Analyzer delegate, HitContext hitContext){
super(delegate.getReuseStrategy());
this.delegate = delegate;
Expand Down

0 comments on commit 8e58f21

Please sign in to comment.