r110676 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110675‎ | r110676 | r110677 >
Date:18:55, 3 February 2012
Author:oren
Status:deferred
Tags:
Comment:
change to a comment
Modified paths:
  • /trunk/lucene-search-3/src/main/java/org/wikimedia/lsearch/analyzers/ExtToken.java (modified) (history)

Diff [purge]

Index: trunk/lucene-search-3/src/main/java/org/wikimedia/lsearch/analyzers/ExtToken.java
@@ -279,9 +279,15 @@
280280
281281 protected static UnicodeDecomposer decomposer = null;
282282
283 - enum ParseType { TEXT, NUMBER, GAP};
 283+ public enum ParseType { TEXT, NUMBER, GAP};
284284
285 - /** c - current char, prev - previous char */
 285+ /**
 286+ *
 287+ * @param c current char
 288+ * @param prev previous char
 289+ * @param next
 290+ * @return
 291+ */
286292 private static boolean isText(char c, char prev, char next){
287293 return Character.isLetterOrDigit(c)
288294 || (c=='\'' && Character.isLetter(prev) && Character.isLetter(next))

Status & tagging log