Skip to content

Commit

Permalink
javadoc fix: do not import ValidateComponent_Impl
Browse files Browse the repository at this point in the history
  • Loading branch information
h908714124 committed Nov 15, 2023
1 parent a7d8935 commit 0d3429b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/src/main/java/net/jbock/processor/CommandStep.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import net.jbock.common.TypeTool;
import net.jbock.common.Util;
import net.jbock.common.ValidationFailure;
import net.jbock.validate.ValidateComponent_Impl;
import net.jbock.validate.ValidateComponent;
import net.jbock.writing.ContextComponent;

import javax.annotation.processing.Messager;
Expand Down Expand Up @@ -72,7 +72,7 @@ public Set<? extends Element> process(Map<String, Set<Element>> elementsByAnnota
}

private void processSourceElement(SourceElement sourceElement) {
ValidateComponent_Impl.builder()
ValidateComponent.getBuilder()
.util(util)
.tool(tool)
.sourceElement(sourceElement)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ interface Builder {
ValidateComponent build();
}

static ValidateComponent.Builder getBuilder() {
return ValidateComponent_Impl.builder();
}

@Provides
static Set<Matcher> allMatchers(
@Named("optional") Matcher optionalMatcher,
Expand Down

0 comments on commit 0d3429b

Please sign in to comment.