浏览代码

fixed Node.attachChild javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10900 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
rem..om 12 年之前
父节点
当前提交
01419a5fa4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)