SOLR-2378: Making fields of LookupResult public final (everything else is accessible and you can't get access to the actual suggestions, this makes no sense).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1089798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2011-04-07 10:10:52 +00:00
parent 4ea675e29c
commit 19ae952e80
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ public abstract class Lookup {
* Result of a lookup.
*/
public static final class LookupResult implements Comparable<LookupResult> {
String key;
float value;
public final String key;
public final float value;
public LookupResult(String key, float value) {
this.key = key;