Author: jbq
Date: Fri Feb 23 12:44:43 2007
New Revision: 511099
URL: http://svn.apache.org/viewvc?view=rev&rev=511099
Log:
Fix typos in Javadoc, and keep in sync
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java?view=diff&rev=511099&r1=511098&r2=511099
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
Fri Feb 23 12:44:43 2007
@@ -173,10 +173,10 @@
private String path;
- private String url;
-
private final HttpSession session;
+ private String url;
+
private Map/* <String, UploadedFile> */uploadedFiles;
/**
@@ -775,6 +775,9 @@
}
/**
+ * Get the request url. Always return the path value.
+ *
+ * @return The path value
* @see javax.servlet.http.HttpServletRequest#getRequestURI()
*/
public String getRequestURI()
@@ -1197,7 +1200,7 @@
else
{
throw new IllegalArgumentException(
- "The component class doesn't
seem to implement any of the known *Listener Interfaces: "
+ "The component class doesn't
seem to implement any of the known *Listener interfaces: "
+
component.getClass());
}
@@ -1367,11 +1370,11 @@
}
catch (IOException e)
{
- throw new IllegalStateException(e.getMessage());
+ throw new IllegalStateException(e);
}
issb.append(boundary).append("--").append(crlf);
return issb.toString();
}
-}
\ No newline at end of file
+}
Modified:
incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java?view=diff&rev=511099&r1=511098&r2=511099
==============================================================================
---
incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
(original)
+++
incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/MockHttpServletRequest.java
Fri Feb 23 12:44:43 2007
@@ -780,7 +780,7 @@
/**
* Get the request url. Always return the path value.
*
- * @return The oath value
+ * @return The path value
*/
public String getRequestURI()
{
@@ -1098,7 +1098,7 @@
}
/**
- * Set the complete url for this request. The url will be analized.
+ * Set the complete url for this request. The url will be analyzed.
*
* @param url
*/
@@ -1376,4 +1376,4 @@
return issb.toString();
}
-}
\ No newline at end of file
+}