From a8838934908a4b199316344a7f0b7935ea9c9506 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Mon, 5 Sep 2022 15:12:05 +0200 Subject: [PATCH] #23809 Passed to grsf-common-library.2.0.0[-SNAPSHOT] --- CHANGELOG.md | 6 ++++++ pom.xml | 4 ++-- .../server/manage/GRSFNotificationService.java | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d839c6b..6908d2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.7.0-SNAPSHOT] - 2022-09-05 + +#### Enhancements + +- [#23809] Passed to grsf-common-library.2.0.0[-SNAPSHOT] + ## [v1.6.1] - 2022-06-22 #### Bug fixes diff --git a/pom.xml b/pom.xml index f3513f4..73360b9 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ org.gcube.portlets.widgets grsf-manage-widget - 1.6.1 + 1.7.0-SNAPSHOT gCube GRSF Manage widget @@ -78,7 +78,7 @@ org.gcube.data-catalogue grsf-common-library - [1-0-0, 2-0-0-SNAPSHOT) + [2-0-0-SNAPSHOT, 3-0-0-SNAPSHOT) compile diff --git a/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/server/manage/GRSFNotificationService.java b/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/server/manage/GRSFNotificationService.java index daafae6..1b40215 100644 --- a/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/server/manage/GRSFNotificationService.java +++ b/src/main/java/org/gcube/datacatalogue/grsf_manage_widget/server/manage/GRSFNotificationService.java @@ -320,7 +320,7 @@ public class GRSFNotificationService extends RemoteServiceServlet implements GRS List resources = record.getResources(); List sources = new ArrayList(3); for (CkanResource ckanResource : resources) { - if (Sources.getListNames().contains(ckanResource.getName())) + if (Sources.listNames().contains(ckanResource.getName())) sources.add(new SourceRecord(ckanResource.getName(), ckanResource.getUrl())); }