7080613: java.beans.DefaultPersistenceDelegate.instantiate(..) doesn't throw NPE
Reviewed-by: alexsch
This commit is contained in:
parent
df7849845e
commit
a7e60f4913
@ -149,6 +149,7 @@ public class DefaultPersistenceDelegate extends PersistenceDelegate {
|
||||
* @return An expression whose value is <code>oldInstance</code>.
|
||||
*
|
||||
* @throws NullPointerException if {@code out} is {@code null}
|
||||
* and this value is used in the method
|
||||
*
|
||||
* @see #DefaultPersistenceDelegate(String[])
|
||||
*/
|
||||
|
@ -162,6 +162,7 @@ public abstract class PersistenceDelegate {
|
||||
* @return An expression whose value is <code>oldInstance</code>.
|
||||
*
|
||||
* @throws NullPointerException if {@code out} is {@code null}
|
||||
* and this value is used in the method
|
||||
*/
|
||||
protected abstract Expression instantiate(Object oldInstance, Encoder out);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user