mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix NPE in create ns declaration fix
This commit is contained in:
+1
@@ -194,6 +194,7 @@ public class CreateNSDeclarationIntentionFix implements HintAction, LocalQuickFi
|
||||
}
|
||||
|
||||
public boolean showHint(final Editor editor) {
|
||||
if (myToken == null) return false;
|
||||
XmlToken token = (XmlToken)myToken.retrieve();
|
||||
if (token == null) return false;
|
||||
if (!XmlSettings.getInstance().SHOW_XML_ADD_IMPORT_HINTS || myNamespacePrefix.length() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user