mirror of https://github.com/apache/lucene.git
Changed values assignment from keys.clone() to values.clone()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@688408 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cc32fc4d32
commit
8d1ae0a3d0
|
@ -402,7 +402,7 @@ public class CharArrayMap<V> extends AbstractMap<String, V>
|
||||||
try {
|
try {
|
||||||
map = (CharArrayMap<V>)super.clone();
|
map = (CharArrayMap<V>)super.clone();
|
||||||
map.keys = keys.clone();
|
map.keys = keys.clone();
|
||||||
map.values = keys.clone();
|
map.values = values.clone();
|
||||||
} catch (CloneNotSupportedException e) {
|
} catch (CloneNotSupportedException e) {
|
||||||
// impossible
|
// impossible
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue