Vincent Massol wrote: > How much duplication do you reckon there is between the 2 classes? > > Might be worth refactoring and have a common ancestor to share code?
To be more detailed, the 2 classes share all the code, except getName (which is wrongly redefined in all the plugins), the method that checks that the xclass is properly defined (as the xclasses are different), and the method that generates the links (as they have a different syntax for the link). -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

