diff --git a/mind-map/idea-mindmap/resources/META-INF/plugin.xml b/mind-map/idea-mindmap/resources/META-INF/plugin.xml index 49903773d..07e274465 100644 --- a/mind-map/idea-mindmap/resources/META-INF/plugin.xml +++ b/mind-map/idea-mindmap/resources/META-INF/plugin.xml @@ -2,15 +2,16 @@ nb-mind-map-idea IDEA Mind Map 1.0.0 - Igor Maznitsa + Igor Maznitsa Knowledge management
- Ported version of the NetBeans Mind Map editor to create and edit mind maps represented by MMD files.
+ IDE-integrated mind map editor, it is ported version of the NetBeans Mind Map editor. It allows to create and edit mind maps represented by MMD files.
]]>
diff --git a/mind-map/idea-mindmap/src/com/igormaznitsa/ideamindmap/utils/IdeaUtils.java b/mind-map/idea-mindmap/src/com/igormaznitsa/ideamindmap/utils/IdeaUtils.java index 29cf10d50..e304d0ca4 100644 --- a/mind-map/idea-mindmap/src/com/igormaznitsa/ideamindmap/utils/IdeaUtils.java +++ b/mind-map/idea-mindmap/src/com/igormaznitsa/ideamindmap/utils/IdeaUtils.java @@ -312,11 +312,12 @@ public static MMapURI editURI(final MindMapDocumentEditor editor, final String t return EMPTY_URI; } try { + if (!new URI(text).isAbsolute()) throw new URISyntaxException(text,"URI is not absolute one"); return new MMapURI(text.trim()); } catch (URISyntaxException ex) { editor.getDialogProvider() - .msgError(String.format(java.util.ResourceBundle.getBundle("com/igormaznitsa/nbmindmap/i18n/Bundle").getString("NbUtils.errMsgIllegalURI"), text)); + .msgError(String.format(BUNDLE.getString("NbUtils.errMsgIllegalURI"), text)); return null; } }