forked from upstream-mirrors/OpenTracks
Fix comment on ad70806c8dc7
This commit is contained in:
@@ -48,7 +48,7 @@ import java.util.Locale;
|
|||||||
class DocsTagBuilder {
|
class DocsTagBuilder {
|
||||||
|
|
||||||
private static final DecimalFormatSymbols FORMAT_SYMBOLS =
|
private static final DecimalFormatSymbols FORMAT_SYMBOLS =
|
||||||
ApiFeatures.getInstance().getApiPlatformAdapter().getDecimalFormatSysmbols(Locale.ENGLISH);
|
ApiFeatures.getInstance().getApiPlatformAdapter().getDecimalFormatSymbols(Locale.ENGLISH);
|
||||||
private static final NumberFormat LARGE_UNIT_FORMAT =
|
private static final NumberFormat LARGE_UNIT_FORMAT =
|
||||||
new DecimalFormat("#,###,###.00", FORMAT_SYMBOLS);
|
new DecimalFormat("#,###,###.00", FORMAT_SYMBOLS);
|
||||||
private static final NumberFormat SMALL_UNIT_FORMAT =
|
private static final NumberFormat SMALL_UNIT_FORMAT =
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ public class CupcakePlatformAdapter implements ApiPlatformAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DecimalFormatSymbols getDecimalFormatSysmbols(Locale locale) {
|
public DecimalFormatSymbols getDecimalFormatSymbols(Locale locale) {
|
||||||
return new DecimalFormatSymbols(locale);
|
return new DecimalFormatSymbols(locale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public class GingerbreadPlatformAdapter extends EclairPlatformAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DecimalFormatSymbols getDecimalFormatSysmbols(Locale locale) {
|
public DecimalFormatSymbols getDecimalFormatSymbols(Locale locale) {
|
||||||
return DecimalFormatSymbols.getInstance(locale);
|
return DecimalFormatSymbols.getInstance(locale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user