db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abr...@apache.org
Subject svn commit: r546652 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java
Date Tue, 12 Jun 2007 22:26:16 GMT
Author: abrown
Date: Tue Jun 12 15:26:15 2007
New Revision: 546652

URL: http://svn.apache.org/viewvc?view=rev&rev=546652
Log:
DERBY-1623: Fix javadoc errors caused by svn 546183. 

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java?view=diff&rev=546652&r1=546651&r2=546652
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/SQLChar.java Tue Jun 12 15:26:15
2007
@@ -2084,10 +2084,12 @@
 
 	/**
 	 * This function public for testing purposes.
-	 * @param trimType
-	 * @param trimChar
-	 * @param source
-	 * @return
+	 *
+	 * @param trimType  Type of trim (LEADING, TRAILING, or BOTH)
+	 * @param trimChar  Character to trim
+	 * @param source    String from which to trim trimChar
+	 *
+	 * @return A String containing the result of the trim.
 	 */
 	private String trimInternal(int trimType, char trimChar, String source)
 	{
@@ -2119,12 +2121,14 @@
 
 		return source.substring(start, end + 1);
 	}
+
 	/**
-	 * 
-	 * @param trimType
-	 * @param trimChar
-	 * @param result
-	 * @return
+	 * @param trimType  Type of trim (LEADING, TRAILING, or BOTH)
+	 * @param trimChar  Character to trim from this SQLChar (may be null)
+	 * @param result    The result of a previous call to this method,
+	 *                  null if not called yet.
+	 *
+	 * @return A StringDataValue containing the result of the trim.
 	 */
 	public StringDataValue ansiTrim(int trimType, StringDataValue trimChar, StringDataValue
result)
 			throws StandardException {



Mime
View raw message