ICU-13667 Fixing compiler warnings and API doc issues.
X-SVN-Rev: 41473
This commit is contained in:
parent
b6a793bafd
commit
f4c892c6c4
@ -23,6 +23,8 @@ import com.ibm.icu.util.ULocale;
|
||||
*/
|
||||
public class LocalizedNumberFormatterAsFormat extends Format {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final transient LocalizedNumberFormatter formatter;
|
||||
|
||||
// Even though the locale is inside the LocalizedNumberFormatter, we have to keep it here, too, because
|
||||
@ -114,6 +116,8 @@ public class LocalizedNumberFormatterAsFormat extends Format {
|
||||
}
|
||||
|
||||
static class Proxy implements Externalizable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
String languageTag;
|
||||
String skeleton;
|
||||
|
||||
|
@ -12,7 +12,6 @@ import com.ibm.icu.impl.StringSegment;
|
||||
* matchers in the series succeed. Performs greedy matches within the context of the series.
|
||||
*
|
||||
* @author sffc
|
||||
* @see AnyMatcher
|
||||
*/
|
||||
public class SeriesMatcher implements NumberParseMatcher {
|
||||
|
||||
|
@ -8,4 +8,8 @@ package com.ibm.icu.number;
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class CurrencyRounder extends CurrencyPrecision {
|
||||
// package private constructor just for blocking
|
||||
// java compiler to generate public no-arg constructor.
|
||||
CurrencyRounder() {
|
||||
}
|
||||
}
|
@ -105,7 +105,6 @@ public class FormattedNumber {
|
||||
* <p>
|
||||
* If a field occurs just once, calling this method will find that occurrence and return it. If a
|
||||
* field occurs multiple times, this method may be called repeatedly with the following pattern:
|
||||
* <p>
|
||||
*
|
||||
* <pre>
|
||||
* FieldPosition fpos = new FieldPosition(NumberFormat.Field.GROUPING_SEPARATOR);
|
||||
|
@ -8,4 +8,8 @@ package com.ibm.icu.number;
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class FractionRounder extends FractionPrecision {
|
||||
// package private constructor just for blocking
|
||||
// java compiler to generate public no-arg constructor.
|
||||
FractionRounder() {
|
||||
}
|
||||
}
|
@ -8,4 +8,8 @@ package com.ibm.icu.number;
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class Rounder extends Precision {
|
||||
// package private constructor just for blocking
|
||||
// java compiler to generate public no-arg constructor.
|
||||
Rounder() {
|
||||
}
|
||||
}
|
||||
|
@ -74,7 +74,6 @@ public class Scale {
|
||||
|
||||
/**
|
||||
* Multiply numbers by 100 before formatting. Useful for combining with a percent unit:
|
||||
* <p>
|
||||
*
|
||||
* <pre>
|
||||
* NumberFormatter.with().unit(NoUnit.PERCENT).multiplier(Multiplier.powerOfTen(2))
|
||||
|
@ -19,7 +19,6 @@ import java.util.Arrays;
|
||||
* {@link Edits.Iterator} can be used for queries.
|
||||
* <p>
|
||||
* There are four flavors of Edits.Iterator:
|
||||
* <p>
|
||||
* <ul>
|
||||
* <li>{@link #getFineIterator()} retains full granularity of change edits.
|
||||
* <li>{@link #getFineChangesIterator()} retains full granularity of change edits, and when calling
|
||||
@ -822,7 +821,10 @@ public final class Edits {
|
||||
/**
|
||||
* A string representation of the current edit represented by the iterator for debugging. You
|
||||
* should not depend on the contents of the return string.
|
||||
* @internal
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
@Deprecated
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
Loading…
Reference in New Issue
Block a user