Skip to content

Commit

Permalink
add not null to options
Browse files Browse the repository at this point in the history
  • Loading branch information
vsch committed Apr 24, 2020
1 parent e0354e2 commit b474894
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public class Parser implements IParse {
final private LinkRefProcessorData linkRefProcessors;
final private List<InlineParserExtensionFactory> inlineParserExtensionFactories;
final private InlineParserFactory inlineParserFactory;
final private DataHolder options;
final private @NotNull DataHolder options;

Parser(Builder builder) {
DataSet options = builder.toImmutable();
Expand Down Expand Up @@ -407,9 +407,8 @@ private Document postProcess(Document document) {
return document;
}

@Nullable
@Override
public DataHolder getOptions() {
public @NotNull DataHolder getOptions() {
return options;
}

Expand Down

0 comments on commit b474894

Please sign in to comment.