Source code Changes To

incubator / nbplugins / trunk / ahrefhyperlink.revamped / src / com / wp / nbguru / ahrefhyperlink / revamped / OpenThreadImpl.java

From revision 80 to 79:

--- OpenThreadImpl.java	(revision 80)
+++ OpenThreadImpl.java	(revision 79)
@@ -245,9 +245,9 @@
      * This basically checks that the identifier present in the hyperlink,
      * if the file exists in relative path, then is it open or not?
      * If not, then opens it, also takes care of the anchors presence, in the
-     * <code>newIdentifier</code>.
+     * <code>splitIdentifier</code>.
      *
-     * @param newIdentifier
+     * @param splitIdentifier
      */
     private void verifyHyperlinkStatus(String newIdentifier) {
         try {
@@ -278,10 +278,8 @@
                                     if (hyperLink.length <= 1) {
                                         anchorName = null;
                                     }
-                                    if (panes != null) {
-                                        setPosition(panes[0].getDocument());
-                                        setEditorFlag(false);
-                                    }
+                                    setPosition(panes[0].getDocument());
+                                    setEditorFlag(false);
                                 }
                             });
                             if (editorFlag == false) {
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20100127.c5638cb)
 
 
loading
Please Confirm