fixed NPE in injection

This commit is contained in:
Greg Wilkins 2013-05-29 09:14:27 +10:00
parent ddd187882f
commit 10539d5a3f
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ public class Util
javax.servlet.http.HttpSessionListener.class.isAssignableFrom(c) ||
javax.servlet.http.HttpSessionAttributeListener.class.isAssignableFrom(c) ||
javax.servlet.AsyncListener.class.isAssignableFrom(c) ||
javax.servlet.http.HttpUpgradeHandler.class.isAssignableFrom(null))
javax.servlet.http.HttpUpgradeHandler.class.isAssignableFrom(c))
return true;
return false;
@ -99,7 +99,7 @@ public class Util
javax.servlet.http.HttpSessionListener.class.isAssignableFrom(c) ||
javax.servlet.http.HttpSessionAttributeListener.class.isAssignableFrom(c) ||
javax.servlet.AsyncListener.class.isAssignableFrom(c) ||
javax.servlet.http.HttpUpgradeHandler.class.isAssignableFrom(null))
javax.servlet.http.HttpUpgradeHandler.class.isAssignableFrom(c))
return true;
return false;