Null pointer checking goodness

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4015 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Mark Johnson
2006-04-13 00:48:25 +00:00
parent 2fad609d6e
commit 6b9700bebc
@@ -347,7 +347,7 @@ public class BundledComponentRepository
// if this is a shadow image, no need to freak out as they are
// optional
if (type.equals(StandardActions.SHADOW_TYPE)) {
if (type != null && type.equals(StandardActions.SHADOW_TYPE)) {
return null;
}