Skip to content

Commit

Permalink
fix:possible nlp
Browse files Browse the repository at this point in the history
  • Loading branch information
torsten-simon committed Jun 18, 2024
1 parent 108a813 commit 6851cf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static String getPath() {
public static Collection<MetadataWidget> getWidgetsByNode(NodeRef node, String locale) throws Exception {
ApplicationContext alfApplicationContext = AlfAppContextGate.getApplicationContext();
ServiceRegistry serviceRegistry = (ServiceRegistry) alfApplicationContext.getBean(ServiceRegistry.SERVICE_REGISTRY);
String mdsSet = serviceRegistry.getNodeService().getProperty(node, QName.createQName(CCConstants.CM_PROP_METADATASET_EDU_METADATASET)).toString();
String mdsSet = (String) serviceRegistry.getNodeService().getProperty(node, QName.createQName(CCConstants.CM_PROP_METADATASET_EDU_METADATASET));
if (mdsSet == null || mdsSet.isEmpty()) {
mdsSet = CCConstants.metadatasetdefault_id;
}
Expand Down

0 comments on commit 6851cf0

Please sign in to comment.