tmortagne (SVN) wrote:
Author: tmortagne
Date: 2008-10-07 20:01:06 +0200 (Tue, 07 Oct 2008)
New Revision: 13383
Modified:
platform/core/trunk/xwiki-rendering/src/main/java/org/xwiki/rendering/parser/SyntaxType.java
Log:
XWIKI-2744: Can't add a Parser component for an unknown syntax
* add equals and hashCode methods
Since these methods do nothing but the default, why do we need to
override them? The inherited methods should be enough, no?
Anyway, I'd rather have a real implementation, since we can't be sure
that everybody will create syntaxes using the factory method.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/