You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/07/03 13:06:54 UTC

[Bug 57744] [PATCH] getMessageDate returns null when message submission chunk "id" contains hyphen

https://bz.apache.org/bugzilla/show_bug.cgi?id=57744

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
Submitted via r1688998

Note that I reworked it a bit to avoid unnecessary creation of empty String and
to avoid creating multiple intermediate strings when lastIndexOf() has a way to
start looking at some index already.

Also avoided a border-case where only one hyphen in the string would break
substring()

-- 
You are receiving this mail because:
You are the assignee for the bug.

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