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.

Attachment: pgpjeJLrcOZq8.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to