Author: tv
Date: Tue Feb 15 20:50:57 2011
New Revision: 1071047
URL: http://svn.apache.org/viewvc?rev=1071047&view=rev
Log:
As we are at it, clean up typos and fix documentation
Modified:
turbine/core/trunk/src/java/org/apache/turbine/util/HttpUtils.java
Modified: turbine/core/trunk/src/java/org/apache/turbine/util/HttpUtils.java
URL:
http://svn.apache.org/viewvc/turbine/core/trunk/src/java/org/apache/turbine/util/HttpUtils.java?rev=1071047&r1=1071046&r2=1071047&view=diff
==============================================================================
--- turbine/core/trunk/src/java/org/apache/turbine/util/HttpUtils.java
(original)
+++ turbine/core/trunk/src/java/org/apache/turbine/util/HttpUtils.java Tue Feb
15 20:50:57 2011
@@ -26,7 +26,7 @@ import java.util.TimeZone;
/**
* This class provides utilities for handling some semi-trivial HTTP stuff that
- * would othterwise be handled elsewhere.
+ * would otherwise be handled elsewhere.
*
* @author <a href="mailto:[email protected]">Magnús Ãór Torfason</a>
* @version $Id$
@@ -50,7 +50,7 @@ public class HttpUtils
* http.
*
* @param date The Date to format
- * @return A String represeentation of the date
+ * @return A String representation of the date
*/
public static String formatHttpDate(Date date)
{
@@ -66,7 +66,7 @@ public class HttpUtils
* both for HTTP 1.0 and HTTP 1.1.
*
* @param data The RunData object we are setting cache information for.
- * @param expiry The number of seconds untill the document should expire,
+ * @param expiry The number of milliseconds until the document should
expire,
* <code>0</code> indicating immediate expiration (i.e. no caching).
*/
public static void setCacheHeaders(RunData data, int expiry)
@@ -85,5 +85,4 @@ public class HttpUtils
formatHttpDate(expiryDate));
}
}
-
}