return getUserSubs(user).contains(folder.getFullName());
}
private List<String> getUserSubs(GreenMailUser user) {
List<String> subs = userSubs.get(user.getLogin());
if (subs == null) {
<BUG>subs = new ArrayList<String>();
userSubs.put(user.getLogin(), subs);</BUG>
}
return subs;
}

return getUserSubs(user).contains(folder.getFullName());
}
private List<String> getUserSubs(GreenMailUser user) {
List<String> subs = userSubs.get(user.getLogin());
if (subs == null) {
subs = new ArrayList<>();
userSubs.put(user.getLogin(), subs);
}
return subs;
