mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 01:18:45 +00:00
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…
x
Reference in New Issue
Block a user