Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit e35a494

Browse files
committed
Fix Javadoc
1 parent 3ca6d4a commit e35a494

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/proxy/HibernateProxyHandler.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class HibernateProxyHandler implements ProxyHandler, ProxyFactory {
3939

4040
/**
4141
* Check if the proxy or persistent collection is initialized.
42-
* @inheritDoc
42+
* {@inheritDoc}
4343
*/
4444
@Override
4545
public boolean isInitialized(Object o) {
@@ -48,7 +48,7 @@ public boolean isInitialized(Object o) {
4848

4949
/**
5050
* Check if an association proxy or persistent collection is initialized.
51-
* @inheritDoc
51+
* {@inheritDoc}
5252
*/
5353
@Override
5454
public boolean isInitialized(Object obj, String associationName) {
@@ -64,7 +64,7 @@ public boolean isInitialized(Object obj, String associationName) {
6464
/**
6565
* Unproxies a HibernateProxy. If the proxy is uninitialized, it automatically triggers an initialization.
6666
* In case the supplied object is null or not a proxy, the object will be returned as-is.
67-
* @inheritDoc
67+
* {@inheritDoc}
6868
* @see Hibernate#unproxy
6969
*/
7070
@Override
@@ -77,7 +77,7 @@ public Object unwrap(Object object) {
7777
}
7878

7979
/**
80-
* @inheritDoc
80+
* {@inheritDoc}
8181
* @see org.hibernate.proxy.AbstractLazyInitializer#getIdentifier
8282
*/
8383
@Override
@@ -94,7 +94,7 @@ public Serializable getIdentifier(Object o) {
9494
}
9595

9696
/**
97-
* @inheritDoc
97+
* {@inheritDoc}
9898
* @see HibernateProxyHelper#getClassWithoutInitializingProxy
9999
*/
100100
@Override
@@ -113,7 +113,7 @@ public Object unwrapIfProxy(Object instance) {
113113
}
114114

115115
/**
116-
* @inheritDoc
116+
* {@inheritDoc}
117117
*/
118118
@Override
119119
public boolean isProxy(Object o) {
@@ -122,7 +122,7 @@ public boolean isProxy(Object o) {
122122

123123
/**
124124
* Force initialization of a proxy or persistent collection.
125-
* @inheritDoc
125+
* {@inheritDoc}
126126
*/
127127
@Override
128128
public void initialize(Object o) {

grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/support/HibernateVersionSupport.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public static FlushMode getFlushMode(Session session) {
5151
/**
5252
* Set the native Hibernate FlushMode, adapting between Hibernate 5.0/5.1 and 5.2+.
5353
* @param session the Hibernate Session to get the flush mode from
54-
* @return the FlushMode (never {@code null})
5554
* @since 4.3
5655
* @deprecated Previously used for Hibernate backwards, will be removed in a future release.
5756
*/

0 commit comments

Comments
 (0)