SEC-2915: Updated Java Code Formatting
This commit is contained in:
@@ -2,15 +2,13 @@ package bigbank;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
|
||||
|
||||
public interface BankService {
|
||||
|
||||
public Account readAccount(Long id);
|
||||
public Account readAccount(Long id);
|
||||
|
||||
public Account[] findAccounts();
|
||||
public Account[] findAccounts();
|
||||
|
||||
@PreAuthorize(
|
||||
"hasRole('supervisor') or " +
|
||||
"hasRole('teller') and (#account.balance + #amount >= -#account.overdraft)" )
|
||||
public Account post(Account account, double amount);
|
||||
@PreAuthorize("hasRole('supervisor') or "
|
||||
+ "hasRole('teller') and (#account.balance + #amount >= -#account.overdraft)")
|
||||
public Account post(Account account, double amount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user