You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ma...@apache.org on 2007/10/18 18:54:20 UTC
svn commit: r586033 - in /db/derby/code/trunk/java:
engine/org/apache/derby/iapi/types/Like.java
testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java
Author: mamta
Date: Thu Oct 18 09:54:12 2007
New Revision: 586033
URL: http://svn.apache.org/viewvc?rev=586033&view=rev
Log:
Fixing javadoc errors. This is for DERBY-2967
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/Like.java
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/Like.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/Like.java?rev=586033&r1=586032&r2=586033&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/Like.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/Like.java Thu Oct 18 09:54:12 2007
@@ -277,9 +277,11 @@
* @param pat pattern to look for in val.
* @param pLoc character position in pat.
* @param collator null if we are dealing with UCS_BASIC character string
- * types. If not null, then we use it to get collation elements for
- * character in val and pat to do the equality comparison.
- * @return
+ * types. If not null, then we use it to get collation elements for
+ * character in val and pat to do the equality comparison.
+ * @return TRUE if the character in val and vLoc match based on straight
+ * equality or collation element based equality. Otherwise we will
+ * return FALSE.
*/
private static boolean checkEquality(char[] val, int vLoc,
char[] pat, int pLoc, RuleBasedCollator collator) {
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java?rev=586033&r1=586032&r2=586033&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest.java Thu Oct 18 09:54:12 2007
@@ -270,7 +270,10 @@
* based on equal and like.
*
* @param conn
- * @param expectedMatchCount number of rows we expect back. 2 for french, 1 for English
+ * @param expectedMatchCountForEqual number of rows we expect back for =.
+ * 2 for French, 1 for English
+ * @param expectedMatchCountForLike number of rows we expect back for LIKE.
+ * 1 for French and English
* @throws SQLException
*/
private void compareAgrave(Connection conn, int expectedMatchCountForEqual,