File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
server/src/test/java/org/elasticsearch/index/mapper/blockloader
test/framework/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 99
1010package org .elasticsearch .index .mapper .blockloader ;
1111
12- import com .carrotsearch .randomizedtesting .annotations .Repeat ;
13-
14- import com .carrotsearch .randomizedtesting .annotations .Seed ;
15-
1612import org .apache .lucene .util .BytesRef ;
1713import org .elasticsearch .datageneration .FieldType ;
1814import org .elasticsearch .index .mapper .BlockLoaderTestCase ;
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ private SortedSetOrdinalBuilder() {
244244 @ Override
245245 public SortedSetOrdinalBuilder appendOrd (int value ) {
246246 try {
247- add (ordinals .lookupOrd (value ));
247+ add (BytesRef . deepCopyOf ( ordinals .lookupOrd (value ) ));
248248 return this ;
249249 } catch (IOException e ) {
250250 throw new UncheckedIOException (e );
You can’t perform that action at this time.
0 commit comments