Re: [xwiki-devs] [xwiki-notifications] r17994 - in platform/core/branches/xwiki-core-1.8: xwiki-core/src/main/java/com/xpn/xwiki/doc xwiki-core/src/test/java/com/xpn/xwiki/doc xwiki-rendering/xwiki-rendering-api/src/main/java/org/xwiki/rendering/bloc
25 Mar
2009
25 Mar
'09
5:51 p.m.
On Wed, Mar 25, 2009 at 15:51, Sergiu Dumitriu <[email protected]> wrote:
tmortagne (SVN) wrote:
+ if (header.getLevel().getAsInt() <= HeaderLevel.LEVEL2.getAsInt()) {
Couldn't the level be Comparable?
Actually, as an enum, it already is. Improving the code by using it. Thanks Sergiu
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
6365
Age (days ago)
6365
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas Mortagne