[xwiki-devs] Fwd: [xwiki-notifications] r32673 - in platform/core/trunk: . xwiki-core/src/main/java/com/xpn/xwiki/internal xwiki-core/src/main/resources/META-INF xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-wikibridge/src/main/java/org/xwiki/rende
Hi devs, +@Component("register-macros-on-import") +public class RegisterMacrosOnImportListener extends AbstractLogEnabled
implements EventListener
Question : do we have a rule for component hints naming ? I have the feeling we are mixing uppercases and dashes for separating words. We should chose one and stick to it IMO. I'd go for uppercases. WDYT ? Jerome.
Hi devs, On 11/18/2010 07:33 PM, Jerome Velociter wrote:
Hi devs,
+@Component("register-macros-on-import")
I inspired this from the other listener I wrote, for the annotations maintainer, which is also separated with dash (I don't remember why I separated that with dash -- I just searched in the other renderers couldn't find any other usages of dash...). However I also found: "observation.remote" as a hint "wikimacrolistener" and "WikiMacroExecutionEventListener" so there is no rule whatsoever. Or is it? Thanks, Anca
+public class RegisterMacrosOnImportListener extends AbstractLogEnabled
implements EventListener
Question : do we have a rule for component hints naming ? I have the feeling we are mixing uppercases and dashes for separating words. We should chose one and stick to it IMO. I'd go for uppercases.
WDYT ?
Jerome. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Anca Luca -
Jerome Velociter