BAEL-6198: fixed spacing for line continuation
This commit is contained in:
parent
b12a58d375
commit
79cb26d04f
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue