Ah, I see. Max is zero. Duh my bad. :P
On 5/28/07, Matthew Toseland <toad at amphibian.dyndns.org> wrote:
> On Tuesday 29 May 2007 00:49, Juiceman wrote:
> > Is this reversed? Found many times in the Freenet code:
> >
> > try {
> > priorityClass =
> > Short.parseShort(priorityString, 10);
> > if((priorityClass <
> > RequestStarter.MAXIMUM_PRIORITY_CLASS) ||
> > (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS))
> > throw new
> > MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD,
> > "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+"
> > to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier, global);
> > } catch (NumberFormatException e) {
>
> No, this is the colloquial understanding of priority - maximum is 0, minimum
> is 6.
>
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
>
--
I may disagree with what you have to say, but I shall defend, to the
death, your right to say it. - Voltaire
Those who would give up Liberty, to purchase temporary Safety, deserve
neither Liberty nor Safety. - Ben Franklin