mirror of https://github.com/apache/lucene.git
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:
parent
4ea675e29c
commit
19ae952e80
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue