mirror of https://github.com/apache/lucene.git
fix white space in NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@678210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc7e78c9ef
commit
d4532fd381
|
@ -255,7 +255,7 @@ public class NamedList<T> implements Cloneable, Serializable, Iterable<Map.Entry
|
|||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public T getValue() {
|
||||
public T getValue() {
|
||||
return (T)list.getVal( index );
|
||||
}
|
||||
|
||||
|
@ -264,9 +264,9 @@ public class NamedList<T> implements Cloneable, Serializable, Iterable<Map.Entry
|
|||
return getKey()+"="+getValue();
|
||||
}
|
||||
|
||||
public T setValue(T value) {
|
||||
return (T) list.setVal(index, value);
|
||||
}
|
||||
public T setValue(T value) {
|
||||
return (T) list.setVal(index, value);
|
||||
}
|
||||
};
|
||||
return nv;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue