implemented necassary test case

Former-commit-id: 10f24d2732a9b774d8c451bb224b0378d239e9fe
This commit is contained in:
Jeremy Long
2013-09-27 18:30:22 -04:00
parent 085cffa4cf
commit c9ed7b7d2a
2 changed files with 38 additions and 23 deletions

View File

@@ -47,6 +47,24 @@ public final class TokenPairConcatenatingFilter extends TokenFilter {
*/
private final LinkedList<String> words;
/**
* Returns the previous word. This is needed in the test cases.
*
* @return te previous word
*/
protected String getPreviousWord() {
return previousWord;
}
/**
* Returns the words list. This is needed in the test cases.
*
* @return the words list
*/
protected LinkedList<String> getWords() {
return words;
}
/**
* Constructs a new TokenPairConcatenatingFilter.
*