Author: ssmiweve
Date: 2008-05-09 22:15:47 +0200 (Fri, 09 May 2008)
New Revision: 6595
Modified:
trunk/query-api/src/main/java/no/sesat/search/query/parser/AbstractQueryParser.java
Log:
javadoc
Modified:
trunk/query-api/src/main/java/no/sesat/search/query/parser/AbstractQueryParser.java
===================================================================
---
trunk/query-api/src/main/java/no/sesat/search/query/parser/AbstractQueryParser.java
2008-05-09 13:58:41 UTC (rev 6594)
+++
trunk/query-api/src/main/java/no/sesat/search/query/parser/AbstractQueryParser.java
2008-05-09 20:15:47 UTC (rev 6595)
@@ -203,7 +203,8 @@
}
- /**
+ /** Ensure that for every leftChar there is a matching rightChar.
+ * Otherwise remove all occurences of both leftChar and rightChar.
*
* @param query
* @param leftChar
@@ -225,11 +226,11 @@
return query;
}
- /**
+ /** Ensure that there are a even number of c characters in the phrase,
otherwise remove all occurences of c.
*
* @param query
- * @param c
- * @return
+ * @param c the character to ensure has an even occurence count.
+ * @return unchanged or changes string.
*/
protected final String even(String query, final char c){
int count = 0;
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits