Explorar o código

fixed Node.attachChild javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10900 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
rem..om %!s(int64=12) %!d(string=hai) anos
pai
achega
01419a5fa4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      engine/src/core/com/jme3/scene/Node.java

+ 1 - 1
engine/src/core/com/jme3/scene/Node.java

@@ -229,7 +229,7 @@ public class Node extends Spatial implements Savable {
      * @param child
      *            the child to attach to this node.
      * @return the number of children maintained by this node.
-     * @throws NullPointerException If child is null.
+     * @throws IllegalArgumentException if child is null.
      */
     public int attachChild(Spatial child) {
         if (child == null)