app/src/main/java/ch/epfl/culturequest/notifications/FireMessaging.java
Method sendNotification
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static List<CompletableFuture<AtomicBoolean>> sendNotification(String uid, PushNotification notification) {
List<CompletableFuture<AtomicBoolean>> futures = new ArrayList<>();
// add notification to database first
Database.addNotification(uid, notification);