提交 fe1cbe3c 编写于 作者: M malenkov

7080613: java.beans.DefaultPersistenceDelegate.instantiate(..) doesn't throw NPE

Reviewed-by: alexsch
上级 184d3355
...@@ -149,6 +149,7 @@ public class DefaultPersistenceDelegate extends PersistenceDelegate { ...@@ -149,6 +149,7 @@ public class DefaultPersistenceDelegate extends PersistenceDelegate {
* @return An expression whose value is <code>oldInstance</code>. * @return An expression whose value is <code>oldInstance</code>.
* *
* @throws NullPointerException if {@code out} is {@code null} * @throws NullPointerException if {@code out} is {@code null}
* and this value is used in the method
* *
* @see #DefaultPersistenceDelegate(String[]) * @see #DefaultPersistenceDelegate(String[])
*/ */
......
...@@ -162,6 +162,7 @@ public abstract class PersistenceDelegate { ...@@ -162,6 +162,7 @@ public abstract class PersistenceDelegate {
* @return An expression whose value is <code>oldInstance</code>. * @return An expression whose value is <code>oldInstance</code>.
* *
* @throws NullPointerException if {@code out} is {@code null} * @throws NullPointerException if {@code out} is {@code null}
* and this value is used in the method
*/ */
protected abstract Expression instantiate(Object oldInstance, Encoder out); protected abstract Expression instantiate(Object oldInstance, Encoder out);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册