lucene-multilingual

Multilingual enhancements for the Lucene text search library
git clone https://code.djc.id.au/git/lucene-multilingual/
commit 09924e8daca9963a1ec01e1c1844c599c8ad3028
parent 669d6816f357f11cefe0a3bee13b122c69945288
Author: Dan Callaghan <djc@djc.id.au>
Date:   Wed, 31 Dec 2008 19:52:32 +1000

added missing @Override annotations (thanks Eclipse)

--HG--
extra : convert_revision : 89c2070497c13bee07d01ce9a11b7354d18083fa

Diffstat:
Msrc/main/java/au/com/miskinhill/search/analysis/PerLanguageAnalyzerWrapper.java | 1+
Msrc/main/java/au/com/miskinhill/search/analysis/XMLTokenizer.java | 3+++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/java/au/com/miskinhill/search/analysis/PerLanguageAnalyzerWrapper.java b/src/main/java/au/com/miskinhill/search/analysis/PerLanguageAnalyzerWrapper.java
@@ -43,6 +43,7 @@ public class PerLanguageAnalyzerWrapper extends Analyzer {
 		return analyzersList;
 	}
 
+	@Override
 	public TokenStream tokenStream(String fieldName, Reader reader) {
 		return tokenStream("", fieldName, reader);
 	}
diff --git a/src/main/java/au/com/miskinhill/search/analysis/XMLTokenizer.java b/src/main/java/au/com/miskinhill/search/analysis/XMLTokenizer.java
@@ -32,12 +32,14 @@ public class XMLTokenizer extends TokenStream {
 	private static class LangStack extends Stack<String> {
 		private static final long serialVersionUID = 7020093255092191463L;
 		private String current = null;
+		@Override
 		public String push(String item) {
 			if (item != null)
 				current = item;
 			super.push(current);
 			return item;
 		}
+		@Override
 		public synchronized String pop() {
 			String top = super.pop();
 			current = empty() ? null : peek();
@@ -66,6 +68,7 @@ public class XMLTokenizer extends TokenStream {
 		r = factory.createXMLEventReader(in);
 	}
 	
+	@Override
 	public Token next(Token reusableToken) throws IOException {
 		// first try our current string delegate, if we have one
 		if (delegate != null) {