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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

