Skip to content

Commit c4c5974

Browse files
Escape @ in Javadoc to fix Java 11 builds (#74)
For #73 ## References - TODO <!-- References to relevant GitHub issues and pull requests, esp. upstream and downstream changes --> ## Submitter checklist - [x] Recommended: Join [WireMock Slack](https://slack.wiremock.org/) to get any help in `#help-contributing` or a project-specific channel like `#wiremock-java` - [x] Recommended: If you participate in Hacktoberfest 2023, make sure you're [signed up](https://wiremock.org/events/hacktoberfest/) there and in the WireMock form - [x] The PR request is well described and justified, including the body and the references - [x] The PR title represents the desired changelog entry - [x] The repository's code style is followed (see the contributing guide) - [x] Test coverage that demonstrates that the change works as expected - [x] For new features, there's necessary documentation in this pull request or in a subsequent PR to [wiremock.org](https://github.com/wiremock/wiremock.org) <!-- Put an `x` into the [ ] to show you have filled the information. The template comes from https://github.com/wiremock/.github/blob/main/.github/pull_request_template.md You can override it by creating .github/pull_request_template.md in your own repository -->
1 parent e8091fa commit c4c5974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/wiremock/extensions/state/StateExtension.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
* <pre>{@code
3838
* private static final Store<String, Object> store = new CaffeineStore();
3939
*
40-
* @RegisterExtension
40+
* {@literal @}RegisterExtension
4141
* public static WireMockExtension wm = WireMockExtension.newInstance()
4242
* .options(
4343
* wireMockConfig().dynamicPort().dynamicHttpsPort()
4444
* .extensions(new StateExtension(store))
4545
* )
4646
* .build();
47-
* }
47+
* }
4848
* </pre>
4949
*/
5050
public class StateExtension implements ExtensionFactory {

0 commit comments

Comments
 (0)