poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57744] [PATCH] getMessageDate returns null when message submission chunk "id" contains hyphen
Date Fri, 03 Jul 2015 11:06:54 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57744

Dominik Stadler <dominik.stadler@gmx.at> changed:

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

--- Comment #2 from Dominik Stadler <dominik.stadler@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


Mime
View raw message