I've created a JIRA issue for that, and provided the fixed version.
http://issues.apache.org/jira/browse/PLUTO-138
Since the fixed version has already been committed to the repository, that issue should be closed, i think.
Regards.
ZHENG Zhong
On 7/23/05, David H. DeWolf <[EMAIL PROTECTED]> wrote:
This is an important fix that we need to get in before rc4! Thanks.
Did you create a Jira issue for it?
David
Zhong ZHENG wrote:
> Hi, there
>
> i checked out the latest pluto source code from the trunk, and when
> building it, i got a compile error in the class:
>
> org.apache.pluto.portalImpl.core.PortalURL
>
> Line 306, method 'public String toString(PortalControlParameter
> controlParam,Boolean p_secure)'.
> control = control.replace("+", "%20");
>
> The 'replace(String, String)' method does not exist in J2SE 1.4. So i
> guess that you are using J2SE 5.0.
> In J2SE 5.0, String has a method 'replace(CharSequence, CharSequence)',
> and the String class implements the CharSequence interface.
>
> In order to be compatible with J2SE 1.4, i fixed that line as following:
>
> control = control.replaceAll("\\+", "%20");
>
> Regards.
> ZHENG Zhong
> |
>
> |
>
--
ZHENG Zhong
heavyzheng.AT.gmail.com
