HHH-12720 Deprecate a useless constructor in AbstractSerializableProxy
A no-arg constructor is only necessary for superclasses of serializable classes that are not themselves serializable. Here the class is serializable, so the constructor is useless.
This commit is contained in:
parent
41943fb920
commit
415f964a67
|
@ -21,8 +21,10 @@ public abstract class AbstractSerializableProxy implements Serializable {
|
|||
private boolean allowLoadOutsideTransaction;
|
||||
|
||||
/**
|
||||
* For serialization
|
||||
* @deprecated This constructor was initially intended for serialization only, and is not useful anymore.
|
||||
* In any case it should not be relied on by user code.
|
||||
*/
|
||||
@Deprecated
|
||||
protected AbstractSerializableProxy() {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue