Skip to content

Commit 80307cc

Browse files
authored
fix javadoc (#25)
fix javadoc
1 parent 6ac5cc9 commit 80307cc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
with:
1414
distribution: 'temurin'
1515
java-version: 20
16-
- run: ./gradlew compiler:test
16+
- run: ./gradlew simple-component:javadoc compiler:javadoc compiler:test

simple-component/src/main/java/io/jbock/simple/Component.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,13 @@
6767
* the forwarding delegate class could live in {@code src/test/java/com/my/component} and look
6868
* like this:
6969
*
70-
* <pre>
71-
* {@code
70+
* <pre>{@code
7271
* public class MockBuilderAccess {
7372
* public static MyComponent_Impl.MockBuilder mockBuilder() {
7473
* return MyComponent_Impl.mockBuilder();
7574
* }
7675
* }
77-
* </pre>
76+
* }</pre>
7877
*
7978
* @return {@code true} if the {@code mockBuilder} method should have the same visibility
8079
* as the component.

0 commit comments

Comments
 (0)