portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r391089 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java
Date Mon, 03 Apr 2006 17:33:13 GMT
Author: ate
Date: Mon Apr  3 10:33:10 2006
New Revision: 391089

URL: http://svn.apache.org/viewcvs?rev=391089&view=rev
Log:
Fix nastly little bug reported by "zb" failing to encode a map of parameters with size >=
10.

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java?rev=391089&r1=391088&r2=391089&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java
Mon Apr  3 10:33:10 2006
@@ -381,7 +381,7 @@
                 paramBuffer.setLength(0);
                 paramBuffer.append(encodeArgument(parameterName, PARAMETER_ELEMENT_SEPARATOR));
                 paramBuffer.append(PARAMETER_ELEMENT_SEPARATOR);
-                paramBuffer.append(parameterValues.length);
+                paramBuffer.append(Integer.toHexString(parameterValues.length));
                 for ( int i = 0; i < parameterValues.length; i++ )
                 {
                     paramBuffer.append(PARAMETER_ELEMENT_SEPARATOR);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message