fixed send catalogue event method

This commit is contained in:
Massimiliano Assante 2022-05-09 16:07:38 +02:00
parent 8c4fbb49a4
commit 272994811c
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ public class NotificationClient extends BaseClient{
* Notify a catalogue event, types availeble see {@link CatalogueEventType}
* @param event an instance of {@link CatalogueEvent}
*/
public void senCatalogueEvent(CatalogueEvent event) {
public void sendCatalogueEvent(CatalogueEvent event) {
Validate.isTrue(event != null, "CatalogueEvent cannot be null");
logger.debug("Request for sending CatalogueEvent notifications");
String thisMethodSignature = "catalogue";

View File

@ -69,7 +69,7 @@ public class TestClientServices {
"Wyscout soccer-logs dataset",
"submitted \"Wyscout soccer-logs dataset\", a dataset of soccer-logs for all the main soccer leagues in the world, from season 2014/2015 to the current one. ",
new URL("http://data.d4science.org/ctlg/ResourceCatalogue/wyscout_soccer-logs_dataset"));
nc.senCatalogueEvent(event);
nc.sendCatalogueEvent(event);
}
@Test