From 5951379e4ce8f67efa2dffc6af9600dc5398a969 Mon Sep 17 00:00:00 2001 From: Dmitry Bryazgin <58312247+bda618@users.noreply.github.com> Date: Fri, 13 Jan 2023 16:27:55 -0500 Subject: [PATCH] fix(): Removed a double set for two fields (#7037) --- .../types/corpuser/mappers/CorpUserPropertiesMapper.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/corpuser/mappers/CorpUserPropertiesMapper.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/corpuser/mappers/CorpUserPropertiesMapper.java index 1b42121962e46f..c64406a74733bc 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/corpuser/mappers/CorpUserPropertiesMapper.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/types/corpuser/mappers/CorpUserPropertiesMapper.java @@ -21,8 +21,6 @@ public static CorpUserProperties map(@Nonnull final com.linkedin.identity.CorpUs @Override public CorpUserProperties apply(@Nonnull final com.linkedin.identity.CorpUserInfo info) { final CorpUserProperties result = new CorpUserProperties(); - result.setDisplayName(info.getDisplayName()); - result.setTitle(info.getTitle()); result.setActive(info.isActive()); result.setCountryCode(info.getCountryCode()); result.setDepartmentId(info.getDepartmentId());