mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-10846 made @internal for now.
X-SVN-Rev: 36283
This commit is contained in:
parent
822f228b1a
commit
679db5f93b
1 changed files with 4 additions and 1 deletions
|
@ -604,8 +604,11 @@ public final class VersionInfo implements Comparable<VersionInfo>
|
|||
* @param minDigits Minimum number of version digits
|
||||
* @param maxDigits Maximum number of version digits
|
||||
* @return A tailored version string
|
||||
* @internal
|
||||
* @deprecated for use by CLDR
|
||||
*/
|
||||
private String getVersionString(int minDigits, int maxDigits) {
|
||||
@Deprecated
|
||||
public String getVersionString(int minDigits, int maxDigits) {
|
||||
if (minDigits < 1 || maxDigits < 1
|
||||
|| minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) {
|
||||
throw new IllegalArgumentException("Invalid min/maxDigits range");
|
||||
|
|
Loading…
Add table
Reference in a new issue