BAEL-6198: fixed spacing for line continuation
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user