mirror of https://github.com/apache/lucene.git
- 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:
parent
0304a92060
commit
96141a2795
|
@ -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++) {
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue