BAEL-6310 - review updates
This commit is contained in:
parent
ec042cb422
commit
68add3d301
|
@ -10,8 +10,8 @@ import java.time.LocalDate;
|
||||||
|
|
||||||
public class MyHandlerProvider extends ReaderWriterProvider {
|
public class MyHandlerProvider extends ReaderWriterProvider {
|
||||||
|
|
||||||
public ValueWriter findValueWriter (JSONWriter writeContext,
|
@Override
|
||||||
Class<?> type) {
|
public ValueWriter findValueWriter (JSONWriter writeContext, Class<?> type) {
|
||||||
if (type == LocalDate.class) {
|
if (type == LocalDate.class) {
|
||||||
return new CustomDateSerializer();
|
return new CustomDateSerializer();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue