cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r124753 - /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java
Date Mon, 10 Jan 2005 03:06:38 GMT
Author: antonio
Date: Sun Jan  9 19:06:37 2005
New Revision: 124753

URL: http://svn.apache.org/viewcvs?view=rev&rev=124753
Log:
Use toString() for java 1.3 compatibility.
Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java?view=diff&rev=124753&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java&r1=124752&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java&r2=124753
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/ApplicationCopletAdapter.java
Sun Jan  9 19:06:37 2005
@@ -94,7 +94,7 @@
                 Boolean addParams = (Boolean)this.getConfiguration(coplet, "appendParameters");
                 if ( addParams != null && addParams.booleanValue() ) {
                     final StringBuffer uri = new StringBuffer(event.getLink());
-                    boolean hasParams = (uri.indexOf("?") != -1);
+                    boolean hasParams = (uri.toString().indexOf("?") != -1);
                     
                     // append parameters - if any
                     final Map objectModel = ContextHelper.getObjectModel(this.context);

Mime
View raw message