This commit is contained in:
Ahmed Salah Tawfik Ibrahim 2024-04-12 17:17:23 +02:00
parent 1562e6a441
commit 5b5dfb56c4
3 changed files with 21 additions and 18 deletions

View File

@ -4,7 +4,7 @@
All notable changes to this project will be documented in this file. 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). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v2.0.0] - 2023-12-04 ## [v2.0.0-SNAPSHOT] - 2023-12-04
- Support for Cassandra 4.1.3 using DataStax java driver - Support for Cassandra 4.1.3 using DataStax java driver

View File

@ -11,7 +11,7 @@
<groupId>org.gcube.portal</groupId> <groupId>org.gcube.portal</groupId>
<artifactId>social-networking-library</artifactId> <artifactId>social-networking-library</artifactId>
<version>2.0.0</version> <version>2.0.0-SNAPSHOT</version>
<name>gCube Social Networking Library</name> <name>gCube Social Networking Library</name>
<description> <description>
The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities. The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities.

View File

@ -2192,6 +2192,7 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
List<NotificationChannelType> toReturn = new ArrayList<NotificationChannelType>(); List<NotificationChannelType> toReturn = new ArrayList<NotificationChannelType>();
Map<NotificationType, NotificationChannelType[]> userNotPref = getUserNotificationPreferences(userid); Map<NotificationType, NotificationChannelType[]> userNotPref = getUserNotificationPreferences(userid);
if(userNotPref!=null){ if(userNotPref!=null){
if(userNotPref.containsKey(notificationType)){
NotificationChannelType[] toProcess = userNotPref.get(notificationType); NotificationChannelType[] toProcess = userNotPref.get(notificationType);
//_log.info("size of user notification preferences" + toProcess.length); //_log.info("size of user notification preferences" + toProcess.length);
if (toProcess == null) { if (toProcess == null) {
@ -2212,6 +2213,8 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
} }
} }
return toReturn; return toReturn;
}
return toReturn;
} }
/** /**