[MAGNOLIA-1232] Cannot override method showNode in Tree.java because it is private Created: 27/Nov/06  Updated: 23/Jan/13  Resolved: 27/Mar/07

Status: Closed
Project: Magnolia
Component/s: admininterface, core
Affects Version/s: 3.0 Final
Fix Version/s: 3.0.3, 3.1 M1

Type: Bug Priority: Major
Reporter: Ali Hammadi Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File Tree.patch    
Issue Links:
duplicate
is duplicated by MAGNOLIA-1382 Change the showNode method in Tree.ja... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

I'm creating my own Tree and I want to use the method showNode. In the documentation, it is said that if you want to personnalize this method, you have to override it. But the problem is that the "showNode" method is in private so I can't override it.



 Comments   
Comment by Ali Hammadi [ 27/Nov/06 ]

This is the patch to modify the method showNode (Tree.java) from private to public.

Comment by Magnolia International [ 27/Mar/07 ]

fixed in 3.0 branch and trunk
(the showNode method is now protected)

Generated at Mon Feb 12 03:24:56 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.