diff options
author | paulby <[email protected]> | 2007-01-23 16:51:52 +0000 |
---|---|---|
committer | paulby <[email protected]> | 2007-01-23 16:51:52 +0000 |
commit | b061b1590bd702871d09ec60e33831a2af65ec38 (patch) | |
tree | 85446932d26bada5f28d40aa3cc8b8937ef02854 /src/classes | |
parent | 7b35e61db0e13dca17ac68ec0e180e5a20fd721d (diff) |
Fix issue 437 (NPE)
git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@147 9497e636-51bd-65ba-982d-a4982e1767a5
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java index 4ade79a..e5b442e 100644 --- a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java +++ b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/SymbolTable.java @@ -698,7 +698,8 @@ public class SymbolTable extends java.lang.Object implements SceneGraphObjectRef * Add all the named objects in <code>map</code> */ public void addNamedObjects( HashMap map ) { - namedObjects.putAll( map ); + if (map!=null) + namedObjects.putAll( map ); } /** |