james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: [jira] Updated: (MIME4J-25) [JW#5] Field Name And Value
Date Fri, 10 Aug 2007 16:58:22 GMT
Robert Burrell Donkin ha scritto:
> On 8/9/07, Stefano Bagnara <apache@bago.org> wrote:
>> Jochen Wiedmann (JIRA) ha scritto:
>>>      [ https://issues.apache.org/jira/browse/MIME4J-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
>>>
>>> Jochen Wiedmann updated MIME4J-25:
>>> ----------------------------------
>>>
>>>     Attachment: mime4j-fieldName.patch
>>>
>>> Proposed patch, adding methods getFieldName() and getFieldValue() to the MimeTokenStream.
>> The patch seems ok to me. It also fix a problem with the logger.
>> Just a minor change: the javadocs for the 2 added fields say they return
>>  a #T_FIELD. I don't know if there is a token name for the name and the
>> value "alone" but they are not a #T_FIELD, right?
> 
>     /**
>      * This method is valid, if {@link #getState()} returns {@link #T_FIELD}.
>      * @return String with the fields value.
>      * @throws IllegalStateException {@link #getState()} returns another
>      *   value than {@link #T_FIELD}.
>      */
> 
> the link is the in the throws and looks ok to me
> 
> - robert

You are right! My mind-based-javadoc-parser seems buggy.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message