Bug 49550 - [PATCH] Response class fix isSpace (deprecated) => isWhiteSpace
Summary: [PATCH] Response class fix isSpace (deprecated) => isWhiteSpace
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 7.0.0
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2010-07-05 07:23 UTC by Sebb
Modified: 2010-07-05 16:59 UTC (History)
0 users

fix isSpace (deprecated) => isWhiteSpace (645 bytes, patch)
2010-07-05 07:23 UTC, Sebb
Details | Diff
Document why still using deprecated method (853 bytes, patch)
2010-07-05 09:11 UTC, Sebb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2010-07-05 07:23:31 UTC
Created attachment 25703 [details]
fix isSpace (deprecated) => isWhiteSpace

As the subject says
Comment 1 Mark Thomas 2010-07-05 08:24:41 UTC
Check the archives. This has come up before. isSpace() has the behaviour required, isWhiteSpace() does not.
Comment 2 Sebb 2010-07-05 09:10:16 UTC
In that case, may I suggest the following patch to document this for future maintainers?
Comment 3 Sebb 2010-07-05 09:11:09 UTC
Created attachment 25704 [details]
Document why still using deprecated method
Comment 4 Mark Thomas 2010-07-05 16:59:14 UTC
Fixed in trunk. Will be in 7.0.1 onwards.