Make it easier to extend ------------------------- Key: MAGNOLIA-536 URL: http://jira.magnolia.info/browse/MAGNOLIA-536 Project: magnolia wcm Type: Improvement Components: core Versions: 2.1 Final Environment: all Reporter: Michael Aemisegger Assigned to: Boris Kraft
if getHierarchyManager() is private, a lot of redundant code has to be maintained in the subclass. Note that the patch format below is different from the previos ones. The patch is directly extracted from my own global patch file. I hope you can apply the patch via command line the usual way. If not, I always can produce a special patch for you. Let me know. patch for revision 1437 of tagged version /magnolia2.1 : --- /home/maem/workspace/Pagnolia2.1/src/originals/magnolia-2.1/src/main/info/magnolia/cms/exchange/simple/SimpleExchangeServlet.java 2005-08-31 11:29:13.000000000 +0200 +++ /home/maem/workspace/Pagnolia2.1/src/patched/magnolia-2.1/src/main/info/magnolia/cms/exchange/simple/SimpleExchangeServlet.java 2005-08-31 11:31:31.000000000 +0200 @@ -275,7 +275,7 @@ } } - private HierarchyManager getHierarchyManager() throws Exception { + protected HierarchyManager getHierarchyManager() throws Exception { return this.hierarchyManager; } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------