NPE fix
This commit is contained in:
@@ -114,7 +114,7 @@ public class WebSecurityConfigurerAdapterReconciler implements JdtAstReconciler
|
||||
}
|
||||
|
||||
private static boolean isWebSecurityConfigurerAdapter(CompilationUnit cu, Type type) {
|
||||
if (type.isSimpleType()) {
|
||||
if (type != null && type.isSimpleType()) {
|
||||
String simpleName = ((SimpleType) type).getName().getFullyQualifiedName();
|
||||
if (FQN_WEB_SECURITY_CONFIGURER_ADAPTER.equals(simpleName)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user