Update of /var/cvs/src/org/mmbase/util
In directory james.mmbase.org:/tmp/cvs-serv3193/util

Modified Files:
        CSVReader.java LocalHttpServletRequest.java 
        LocalizedString.java MultiPartFormOutputStream.java 
Log Message:
javadoc


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/util


Index: CSVReader.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/CSVReader.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- CSVReader.java      13 Jan 2009 10:20:26 -0000      1.4
+++ CSVReader.java      29 Apr 2009 07:39:08 -0000      1.5
@@ -28,7 +28,7 @@
  * @todo Test-cases?
  *
  * @author Andr\U00e9 vanToly <an...@toly.nl>
- * @version $Id: CSVReader.java,v 1.4 2009/01/13 10:20:26 michiel Exp $
+ * @version $Id: CSVReader.java,v 1.5 2009/04/29 07:39:08 michiel Exp $
  */
 public class CSVReader {
 
@@ -110,8 +110,8 @@
 
     /**
      * Returns the element at the given row and column.
-     * @param row the element row
-     * @param col the element column
+     * @param r the element row
+     * @param c the element column
      * @return the element as a String.
      */
     public String getElement(int r, int c) {


Index: LocalHttpServletRequest.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/LocalHttpServletRequest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- LocalHttpServletRequest.java        27 Jan 2009 18:16:55 -0000      1.2
+++ LocalHttpServletRequest.java        29 Apr 2009 07:39:08 -0000      1.3
@@ -16,11 +16,11 @@
 
 
 /**
- * This class (and ({...@link LocalHttpServletResponse}, and super classes)) 
can be use to do requests on
- * the current MMBase without having an actual client, which can be usefull in 
cronjobs or so.
+ * This class (and {...@link LocalHttpServletResponse}, and super classes) can 
be used to do requests on
+ * the current MMBase without having an actual client, which can be useful in 
cronjobs or so.
  *
  * This is possible because the {...@link javax.servlet.ServetContext} is 
known via {...@link
- * org.mmbase.module.core.MMBaseContext#getServletContext}.
+ * org.mmbase.module.core.MMBaseContext#getServletContext()}.
  * For example
  <pre>
      ServletContext sx = MMBaseContext.getServletContext();
@@ -34,7 +34,7 @@
  </pre>
  *
  * @author Michiel Meeuwissen
- * @version $Id: LocalHttpServletRequest.java,v 1.2 2009/01/27 18:16:55 
michiel Exp $
+ * @version $Id: LocalHttpServletRequest.java,v 1.3 2009/04/29 07:39:08 
michiel Exp $
  * @since MMBase-1.9.1
  */
 public class LocalHttpServletRequest extends LocalServletRequest implements 
HttpServletRequest {
@@ -47,7 +47,7 @@
     private final String path;
 
     /**
-     * @param s The servlet context. Try {...@link 
MMBaseContext.getServletContext()}
+     * @param s The servlet context. Try {...@link 
org.mmbase.module.core.MMBaseContext#getServletContext()}
      * @param r The body of the request. Normally an empty string
      * @param path The ServletPath the do the request on
      */


Index: LocalizedString.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/LocalizedString.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- LocalizedString.java        28 Apr 2009 06:31:22 -0000      1.38
+++ LocalizedString.java        29 Apr 2009 07:39:08 -0000      1.39
@@ -32,7 +32,7 @@
  *</p>
  *
  * @author Michiel Meeuwissen
- * @version $Id: LocalizedString.java,v 1.38 2009/04/28 06:31:22 michiel Exp $
+ * @version $Id: LocalizedString.java,v 1.39 2009/04/29 07:39:08 michiel Exp $
  * @since MMBase-1.8
  */
 public class LocalizedString implements java.io.Serializable, 
PublicCloneable<LocalizedString> {
@@ -231,10 +231,14 @@
      *
      * For LocalizedString this returns the String for the default Locale (see 
{...@link #getDefault}).
      */
+    @Override
     public String toString() {
         return get((Locale) null);
     }
 
+    public String getDebugString() {
+        return "k: " + getKey() + " values: " + getValues() + " b:" + 
getBundle();
+    }
 
     /**
      * This utility takes care of reading the xml:lang attribute from an 
element
@@ -426,7 +430,7 @@
         }
     }
 
-    @Overrde
+    @Override
     public boolean equals(Object o) {
         if (o instanceof LocalizedString) {
             LocalizedString os = (LocalizedString) o;


Index: MultiPartFormOutputStream.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/MultiPartFormOutputStream.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- MultiPartFormOutputStream.java      28 Apr 2009 17:53:34 -0000      1.1
+++ MultiPartFormOutputStream.java      29 Apr 2009 07:39:08 -0000      1.2
@@ -8,7 +8,7 @@
  * "multipart/form-data" to a <code>java.net.URLConnection</code> for
  * POSTing.  This is primarily for file uploading to HTTP servers.
 
- * Taken from  {...@link 
http://forums.sun.com/thread.jspa?threadID=451245&forumID=31}
+ * Taken from <a 
href="http://forums.sun.com/thread.jspa?threadID=451245forumID=31";>http://forums.sun.com/thread.jspa?threadID=451245&forumID=31</a>
 
  * @since MMBase-1.9.1
  */
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to