Browse Source

Break long line

tags/v0.10.5
Kristijan Mitrovic 4 years ago
parent
commit
143116ba89
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bubble-server/src/main/java/bubble/dao/account/AccountPolicyDAO.java

+ 2
- 1
bubble-server/src/main/java/bubble/dao/account/AccountPolicyDAO.java View File

@@ -33,7 +33,8 @@ public class AccountPolicyDAO extends AccountOwnedEntityDAO<AccountPolicy> {

public AccountPolicy findSingleByAccount(String accountUuid) {
final List<AccountPolicy> found = findByAccount(accountUuid);
return found.isEmpty() ? create(new AccountPolicy().setAccount(accountUuid)) : found.size() > 1 ? die("findSingleByAccount: "+found.size()+" found!") : found.get(0);
return found.isEmpty() ? create(new AccountPolicy().setAccount(accountUuid))
: found.size() > 1 ? die("findSingleByAccount: "+found.size()+" found!") : found.get(0);
}

}

Loading…
Cancel
Save