Skip to content

Commit

Permalink
LPD-46759 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Feb 4, 2025
1 parent 1b99414 commit 210261d
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,27 +177,27 @@ else if (Objects.equals(required, "required")) {
}
}

AssetVocabularySettingsHelper assetVocabularySettingsHelper = null;

long vocabularyId = ParamUtil.getLong(actionRequest, "vocabularyId");

AssetVocabulary assetVocabulary =
_assetVocabularyService.fetchVocabulary(vocabularyId);

AssetVocabularySettingsHelper vocabularySettingsHelper = null;

if (assetVocabulary != null) {
vocabularySettingsHelper = new AssetVocabularySettingsHelper(
assetVocabularySettingsHelper = new AssetVocabularySettingsHelper(
assetVocabulary.getSettings());
}
else {
vocabularySettingsHelper = new AssetVocabularySettingsHelper();
assetVocabularySettingsHelper = new AssetVocabularySettingsHelper();
}

vocabularySettingsHelper.setClassNameIdsAndClassTypePKs(
assetVocabularySettingsHelper.setClassNameIdsAndClassTypePKs(
classNameIds, classTypePKs, depotRequireds, requireds);
vocabularySettingsHelper.setMultiValued(
assetVocabularySettingsHelper.setMultiValued(
ParamUtil.getBoolean(actionRequest, "multiValued"));

return vocabularySettingsHelper.toString();
return assetVocabularySettingsHelper.toString();
}

@Reference
Expand Down

0 comments on commit 210261d

Please sign in to comment.