mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 17:46:28 +00:00
fixed toString method for SegmentCodecs to print the actual codecs used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039001 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2d3849f0b4
commit
3c47af1bf0
@ -18,6 +18,7 @@ package org.apache.lucene.index;
|
||||
*/
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.IdentityHashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
@ -128,6 +129,6 @@ final class SegmentCodecs implements Cloneable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CodecInfo [codecs=" + codecs + ", provider=" + provider + "]";
|
||||
return "SegmentCodecs [codecs=" + Arrays.toString(codecs) + ", provider=" + provider + "]";
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user