Skip to content

Commit 160c8c3

Browse files
committed
fix misspelling in Javadoc
It should have been "proxies". But anyway I rewrote the sentence.
1 parent 6cc86b1 commit 160c8c3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -846,14 +846,16 @@ default Uni<Void> lock(Object entity, LockModeType lockModeType) {
846846
Uni<Void> flush();
847847

848848
/**
849-
* Asynchronously fetch an association that's configured for lazy loading.
849+
* Asynchronously fetch an association configured for lazy loading.
850850
* <p>
851851
* <pre>
852852
* {@code session.fetch(author.getBook()).thenAccept(book -> print(book.getTitle()));}
853853
* </pre>
854854
* </p>
855855
* <p>
856-
* It can also initialize proxys. For example:
856+
* This operation may be even be used to initialize a reference returned by
857+
* {@link #getReference(Class, Object)}.
858+
* <p>
857859
* <pre>
858860
* {@code session.fetch(session.getReference(Author.class, authorId))}
859861
* </pre>

hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -870,14 +870,16 @@ default CompletionStage<Void> lock(Object entity, LockModeType lockModeType) {
870870
CompletionStage<Void> flush();
871871

872872
/**
873-
* Asynchronously fetch an association that's configured for lazy loading.
873+
* Asynchronously fetch an association configured for lazy loading.
874874
* <p>
875875
* <pre>
876876
* {@code session.fetch(author.getBook()).thenAccept(book -> print(book.getTitle()))}
877877
* </pre>
878878
* </p>
879879
* <p>
880-
* It can also initialize proxys. For example:
880+
* This operation may be even be used to initialize a reference returned by
881+
* {@link #getReference(Class, Object)}.
882+
* <p>
881883
* <pre>
882884
* {@code session.fetch(session.getReference(Author.class, authorId))}
883885
* </pre>

0 commit comments

Comments
 (0)