fix compilation warning
This commit is contained in:
parent
55cad3208e
commit
45234f4d90
|
@ -33,6 +33,8 @@ import java.io.IOException;
|
||||||
@ThreadSafe
|
@ThreadSafe
|
||||||
public interface JsonMapper extends ToJson {
|
public interface JsonMapper extends ToJson {
|
||||||
|
|
||||||
|
public static final JsonMapper[] EMPTY_ARRAY = new JsonMapper[0];
|
||||||
|
|
||||||
@NotThreadSafe
|
@NotThreadSafe
|
||||||
public static class BuilderContext {
|
public static class BuilderContext {
|
||||||
private final JsonPath jsonPath;
|
private final JsonPath jsonPath;
|
||||||
|
|
|
@ -411,7 +411,7 @@ public class JsonObjectMapper implements JsonMapper, JsonIncludeInAllMapper {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void toJson(JsonBuilder builder, Params params) throws IOException {
|
@Override public void toJson(JsonBuilder builder, Params params) throws IOException {
|
||||||
toJson(builder, params, null);
|
toJson(builder, params, JsonMapper.EMPTY_ARRAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void toJson(JsonBuilder builder, Params params, JsonMapper... additionalMappers) throws IOException {
|
public void toJson(JsonBuilder builder, Params params, JsonMapper... additionalMappers) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue