mirror of https://github.com/apache/lucene.git
Make the character printout code uniform (always print at least 4 hex chars)
This commit is contained in:
parent
4c2384a1f3
commit
779e00542c
|
@ -96,7 +96,7 @@ public final class UnicodeProps {
|
|||
|
||||
@Override
|
||||
public int length() {
|
||||
return ${String.format(Locale.ROOT, "0x%X", UCharacter.MAX_CODE_POINT)} + 1;
|
||||
return ${String.format(Locale.ROOT, "0x%04X", UCharacter.MAX_CODE_POINT)} + 1;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue