Zhong,
Thank you. I committed this fix to SVN.
/Craig
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