jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java
changeset 4849 c83eca4dbb8f
parent 1280 f58fc9f575e3
child 5506 202f599c92aa
child 5583 6cb5bb2e8335
--- a/jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java	Thu Jan 28 17:06:54 2010 +0300
+++ b/jdk/src/share/classes/java/beans/DefaultPersistenceDelegate.java	Thu Jan 28 20:49:00 2010 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2008 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2000-2010 Sun Microsystems, Inc.  All Rights Reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -146,6 +146,8 @@
      * @param  out The code output stream.
      * @return An expression whose value is <code>oldInstance</code>.
      *
+     * @throws NullPointerException if {@code out} is {@code null}
+     *
      * @see #DefaultPersistenceDelegate(String[])
      */
     protected Expression instantiate(Object oldInstance, Encoder out) {
@@ -367,6 +369,8 @@
      * @param newInstance The instance that is to be modified.
      * @param out The stream to which any initialization statements should be written.
      *
+     * @throws NullPointerException if {@code out} is {@code null}
+     *
      * @see java.beans.Introspector#getBeanInfo
      * @see java.beans.PropertyDescriptor
      */