>>>>> On Wed, 14 Jun 2006 19:05:03 +0900, Hongjoon Jeon <evencare_at_gmail.com> said:
HJ> Hi, I'm a newbie JSF Developer.
HJ> When I've been researching the source code of JSF Sun RI, it strikes a
HJ> question
HJ> to me about the performance enhancing issue in
HJ> com.sun.faces.application.ViewHandlerImpl source code.
Thanks for your input
HJ> can be replaced like below.
HJ> ================================================================================
HJ> if (content instanceof char []) {
HJ> response.getWriter().write((char []) content);
HJ> } else if (content instanceof byte []) {
HJ> response.getWriter().write(new String((byte[]) content));
HJ> } else {
HJ> assert(false);
HJ> }
HJ> ================================================================================
This seems like a valid change so I'll go ahead and put it in.
Please consider signing the Joint Copyright Assignment [1] form so your
future contributions are legally covered as belonging to you. This will
enable you to use your contributions however you like.
Ed
[1]
http://wiki.java.net/bin/view/Projects/SunJSFImplFaq#HowToContribute
--
| ed.burns_at_sun.com | {home: 407 869 9587, office: 408 884 9519 OR x31640}
| homepage: | http://purl.oclc.org/NET/edburns/
| aim: edburns0sunw | iim: ed.burns_at_sun.com