polish
This commit is contained in:
@@ -33,7 +33,7 @@ public class DateFormatterFactory implements FormatterFactory {
|
||||
return DateFormat.getDateInstance(DateFormat.SHORT, context.getLocale());
|
||||
}
|
||||
|
||||
private static class DateFormatter extends AbstractFormatter {
|
||||
public static class DateFormatter extends AbstractFormatter {
|
||||
|
||||
private DateFormat dateFormat;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ public class NumberFormatterFactory implements FormatterFactory {
|
||||
}
|
||||
}
|
||||
|
||||
private static class NumberFormatter extends AbstractFormatter {
|
||||
public static class NumberFormatter extends AbstractFormatter {
|
||||
|
||||
private NumberFormat numberFormat;
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ public class FormatterRegistryImpl implements FormatterRegistry {
|
||||
context.setFormattedClass(clazz);
|
||||
return factory.createFormatter(context);
|
||||
} else {
|
||||
return getFormatter(clazz);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user