Skip to content

Commit 41d740f

Browse files
Use consistent <pre> in javadocs
1 parent 040b1fd commit 41d740f

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

testutil-server/src/main/java/io/spine/testing/server/blackbox/BlackBoxBoundedContext.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -918,16 +918,14 @@ public QueryResultSubject assertQueryResult(Query query) {
918918
*
919919
* <p>The method may be used as follows:
920920
* <pre>
921-
* {@code
922-
* VerifyingCounter updateCounter =
923-
* context.assertSubscriptionUpdates(
924-
* topic,
925-
* assertEachReceived -> assertEachReceived.comparingExpectedFieldsOnly()
926-
* .isEqualTo(expected)
927-
* );
928-
* context.receivesCommand(createProject); // Some command creating the `expected`.
929-
* updateCounter.verifyEquals(1);
930-
* }
921+
* VerifyingCounter updateCounter =
922+
* context.assertSubscriptionUpdates(
923+
* topic,
924+
* assertEachReceived -> assertEachReceived.comparingExpectedFieldsOnly()
925+
* .isEqualTo(expected)
926+
* );
927+
* context.receivesCommand(createProject); // Some command creating the `expected`.
928+
* updateCounter.verifyEquals(1);
931929
* </pre>
932930
*
933931
* <p>Please note that the return value may be ignored, but then receiving {@code 0} incoming

0 commit comments

Comments
 (0)