ICU-9508 Uncomment old CurrencyInfo constructor. Add test confirming its presence.
X-SVN-Rev: 33057
This commit is contained in:
parent
1df7ed7891
commit
3eafd4cf29
@ -459,11 +459,9 @@ public class CurrencyMetaInfo {
|
|||||||
* @param priority priority value, 0 is highest priority, increasing values are lower
|
* @param priority priority value, 0 is highest priority, increasing values are lower
|
||||||
* @stable ICU 4.4
|
* @stable ICU 4.4
|
||||||
*/
|
*/
|
||||||
/*
|
|
||||||
public CurrencyInfo(String region, String code, long from, long to, int priority) {
|
public CurrencyInfo(String region, String code, long from, long to, int priority) {
|
||||||
this(region, code, from, to, priority, true);
|
this(region, code, from, to, priority, true);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a currency info.
|
* Constructs a currency info.
|
||||||
|
@ -725,4 +725,8 @@ public class CurrencyTest extends TestFmwk {
|
|||||||
assertEquals("getDisplayName() for " + data[0] + " in locale " + root, data[0], cur.getDisplayName(root));
|
assertEquals("getDisplayName() for " + data[0] + " in locale " + root, data[0], cur.getDisplayName(root));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void TestCurrencyInfoCtor() {
|
||||||
|
new CurrencyMetaInfo.CurrencyInfo("region", "code", 0, 0, 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user