BAEL-6198: fixed spacing for line continuation

This commit is contained in:
emanueltrandafir1993 2023-02-11 13:40:09 +01:00
parent b12a58d375
commit 79cb26d04f
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ public class Publication {
public List<String> getReadableArticles(User user) { public List<String> getReadableArticles(User user) {
return articles.stream() return articles.stream()
.filter(a -> a.getArticleLevel() .filter(a -> a.getArticleLevel()
.compare(user.getMembership()) <= 0) .compare(user.getMembership()) <= 0)
.map(Article::getName) .map(Article::getName)
.collect(Collectors.toList()); .collect(Collectors.toList());
} }
@ -21,7 +21,7 @@ public class Publication {
public List<String> getLockedArticles(User user) { public List<String> getLockedArticles(User user) {
return articles.stream() return articles.stream()
.filter(a -> a.getArticleLevel() .filter(a -> a.getArticleLevel()
.compare(user.getMembership()) > 0) .compare(user.getMembership()) > 0)
.map(Article::getName) .map(Article::getName)
.collect(Collectors.toList()); .collect(Collectors.toList());
} }