jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "ExamplesPage" by Andreas
Date Tue, 19 Oct 2010 15:04:58 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "ExamplesPage" page has been changed by Andreas.
http://wiki.apache.org/jackrabbit/ExamplesPage?action=diff&rev1=36&rev2=37

--------------------------------------------------

      void rename(Node node, String newName) throws RepositoryException 
      {
          node.getSession().move(node.getPath(), node.getParent().getPath() + "/" + newName);
+         // Don't forget - not necessarily here at this place:
-         node.getSession().save();
+         // node.getSession().save();
      }
  }}}
  

Mime
View raw message