Skip to content

Commit

Permalink
LPD-32759 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Sep 7, 2024
1 parent 8e00853 commit 2aa2093
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,17 @@ public DocumentDataDefinitionType postSiteDocumentDataDefinitionTypes(
throw new UnsupportedOperationException();
}

DataDefinitionResource.Builder dataDefinitionResourceBuilder =
DataDefinitionResource.Builder builder =
_dataDefinitionResourceFactory.create();

DataDefinitionResource dataDefinitionResource =
dataDefinitionResourceBuilder.user(
contextUser
).build();
DataDefinitionResource dataDefinitionResource = builder.user(
contextUser
).build();

Map<Locale, String> descriptionMap = LocalizedMapUtil.getLocalizedMap(
contextAcceptLanguage.getPreferredLocale(),
documentDataDefinitionType.getDescription(),
documentDataDefinitionType.getDescription_i18n());

Map<Locale, String> nameMap = LocalizedMapUtil.getLocalizedMap(
contextAcceptLanguage.getPreferredLocale(),
documentDataDefinitionType.getName(),
Expand Down

0 comments on commit 2aa2093

Please sign in to comment.