You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2007/05/29 01:55:26 UTC

svn commit: r542362 - /incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java

Author: ehillenius
Date: Mon May 28 16:55:25 2007
New Revision: 542362

URL: http://svn.apache.org/viewvc?view=rev&rev=542362
Log:
doc & style tweaks

Modified:
    incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java

Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java?view=diff&rev=542362&r1=542361&r2=542362
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java Mon May 28 16:55:25 2007
@@ -21,15 +21,20 @@
 
 import org.apache.wicket.util.value.ValueMap;
 
-
 /**
- * TODO
+ * Wicket Http specific utilities class.
  */
-public class RequestUtils
+public final class RequestUtils
 {
 	/**
+	 * Decode the provided queryString as a series of key/ value pairs and set
+	 * them in the provided value map.
+	 * 
 	 * @param queryString
+	 *            string to decode, uses '&' to separate parameters and '=' to
+	 *            separate key from value
 	 * @param params
+	 *            parameters map to write the found key/ value pairs to
 	 */
 	public static void decodeParameters(String queryString, ValueMap params)
 	{
@@ -54,5 +59,12 @@
 				// Should never happen
 			}
 		}
+	}
+
+	/**
+	 * Hidden utility class constructor.
+	 */
+	private RequestUtils()
+	{
 	}
 }