remove too verbose logging
This commit is contained in:
parent
06e64a8cd9
commit
e21c04c533
1 changed files with 0 additions and 14 deletions
|
@ -10,8 +10,6 @@ import java.util.stream.Stream;
|
|||
|
||||
import javax.persistence.NoResultException;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.unboundid.scim2.common.types.GroupResource;
|
||||
import com.unboundid.scim2.common.types.Member;
|
||||
import com.unboundid.scim2.common.types.Meta;
|
||||
|
@ -52,12 +50,6 @@ public class GroupAdapter extends Adapter<GroupModel, GroupResource> {
|
|||
.getGroupMembersStream(session.getContext().getRealm(), group)
|
||||
.map(x -> x.getId())
|
||||
.collect(Collectors.toSet());
|
||||
ObjectMapper Obj = new ObjectMapper();
|
||||
try {
|
||||
String jsonStr = Obj.writerWithDefaultPrettyPrinter().writeValueAsString(this.members);
|
||||
LOGGER.info(jsonStr);
|
||||
} catch (JsonProcessingException e) {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -106,12 +98,6 @@ public class GroupAdapter extends Adapter<GroupModel, GroupResource> {
|
|||
}
|
||||
group.setMeta(meta);
|
||||
}
|
||||
ObjectMapper Obj = new ObjectMapper();
|
||||
try {
|
||||
String jsonStr = Obj.writerWithDefaultPrettyPrinter().writeValueAsString(group);
|
||||
LOGGER.info(jsonStr);
|
||||
} catch (JsonProcessingException e) {
|
||||
}
|
||||
return group;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue