From 8a4a1660a4db4b542ef300e4cde1f385e9eec2a0 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 4 Mar 2016 12:46:57 -0300 Subject: [PATCH] Client registration won't compile without these changes --- .../org/keycloak/client/registration/cli/Context.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/Context.java b/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/Context.java index 2d5dfe8d1c..6f60c04e0c 100644 --- a/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/Context.java +++ b/integration/client-registration-cli/src/main/java/org/keycloak/client/registration/cli/Context.java @@ -1,8 +1,8 @@ package org.keycloak.client.registration.cli; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; -import org.codehaus.jackson.map.SerializationConfig; -import org.codehaus.jackson.map.annotate.JsonSerialize; +import com.fasterxml.jackson.databind.SerializationFeature; import org.keycloak.client.registration.ClientRegistration; import org.keycloak.util.SystemPropertiesJsonParserFactory; @@ -16,8 +16,8 @@ public class Context { private static final ObjectMapper mapper = new ObjectMapper(new SystemPropertiesJsonParserFactory()); static { - mapper.setSerializationInclusion(JsonSerialize.Inclusion.NON_NULL); - mapper.enable(SerializationConfig.Feature.INDENT_OUTPUT); + mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); + mapper.enable(SerializationFeature.INDENT_OUTPUT); } private ClientRegistration reg;