- Cleaned up to avoid compiler warnings

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150180 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2004-01-29 12:25:50 +00:00
parent 0304a92060
commit 96141a2795
2 changed files with 6 additions and 7 deletions

View File

@ -81,7 +81,7 @@ public class Entities {
}
}
static final public String encode(String s) {
public static final String encode(String s) {
int length = s.length();
StringBuffer buffer = new StringBuffer(length * 2);
for (int i = 0; i < length; i++) {

View File

@ -63,7 +63,7 @@ public final class Tags {
/**
* contains all tags for which whitespaces have to be inserted for proper tokenization
*/
public final static Set WS_ELEMS = Collections.synchronizedSet(new HashSet());
public static final Set WS_ELEMS = Collections.synchronizedSet(new HashSet());
static{
WS_ELEMS.add("<hr");
@ -97,5 +97,4 @@ public final class Tags {
WS_ELEMS.add("<h6");
WS_ELEMS.add("</h6");
}
}