app/src/main/java/com/sdpteam/connectout/post/model/PostFirebaseDataSource.java
Method fetchPost
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
@Override
public CompletableFuture<Result<Post>> fetchPost(String postId) {
final CompletableFuture<Result<Post>> result = new CompletableFuture<>();
final CompletableFuture<Result<Post>> subStep = new CompletableFuture<>();
Method fetchAllPosts
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Invalid
Invalid
@Override
public CompletableFuture<Result<List<Post>>> fetchAllPosts(String userId) {
return eventIdsUserCanAccess(userId).thenCompose(allEventsUserCanAccess -> {
final CompletableFuture<Result<List<Post>>> result = new CompletableFuture<>();