Skip to content

Commit

Permalink
Enhances JavaDoc of deprecated method
Browse files Browse the repository at this point in the history
Fixes: SIRI-1039
  • Loading branch information
idlira committed Dec 13, 2024
1 parent 041097b commit 8f715dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/sirius/db/mixing/types/BaseEntityRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public String getUniqueObjectName() {
* Note, this might cause a database lookup if the entity is not prefetched.
*
* @return the entity being referenced or <tt>null</tt> if no entity is referenced.
* @deprecated use {@link #fetchCachedValue()} instead
* @deprecated use {@link #fetchCachedValue()} or {@link #forceFetchValue()} instead
*/
@Deprecated
public E fetchValue() {
Expand Down Expand Up @@ -235,7 +235,7 @@ public E forceFetchValueFromSecondary() {
* Note, this values returned by this method will never be cached and a new lookup is always performed.
*
* @return the entity being referenced or <tt>null</tt> if no entity is referenced.
* @deprecated use {@link #fetchCachedValueFromSecondary()} instead
* @deprecated use {@link #fetchCachedValueFromSecondary()} or {@link #forceFetchValueFromSecondary()} instead
*/
@Deprecated
public E fetchValueFromSecondary() {
Expand Down

0 comments on commit 8f715dc

Please sign in to comment.