DATAJPA-1382 - Remove superfluous method call to JpaPersistentEntityImpl.getVersionProperty().
Original pull request: #285.
This commit is contained in:
committed by
Mark Paluch
parent
c7c76bed97
commit
35ae37e3db
@@ -32,6 +32,7 @@ import org.springframework.util.Assert;
|
||||
* @author Greg Turnquist
|
||||
* @author Christoph Strobl
|
||||
* @author Mark Paluch
|
||||
* @author Michael J. Simons
|
||||
* @since 1.3
|
||||
*/
|
||||
class JpaPersistentEntityImpl<T> extends BasicPersistentEntity<T, JpaPersistentProperty>
|
||||
@@ -84,8 +85,6 @@ class JpaPersistentEntityImpl<T> extends BasicPersistentEntity<T, JpaPersistentP
|
||||
|
||||
super.verify();
|
||||
|
||||
getVersionProperty();
|
||||
|
||||
JpaPersistentProperty versionProperty = getVersionProperty();
|
||||
|
||||
if (versionProperty != null && versionProperty.isAnnotationPresent(Version.class)) {
|
||||
|
||||
Reference in New Issue
Block a user