MIFOSX-201: formatting tweaks.

This commit is contained in:
Keith Woodlock
2013-03-28 00:38:28 +00:00
parent 715bc2cf17
commit 3711c5cfd8
@@ -1100,7 +1100,7 @@ public class Loan extends AbstractPersistable<Long> {
throw new InvalidLoanStateTransitionException("reject", "cannot.be.a.future.date", errorMessage, rejectedOn);
}
} else {
final String errorMessage = "Only the Loan applications with status 'Submitted and Pending approval' are allowed to reject.";
final String errorMessage = "Only the loan applications with status 'Submitted and pending approval' are allowed to be rejected.";
throw new InvalidLoanStateTransitionException("reject", "cannot.reject", errorMessage);
}
@@ -1147,7 +1147,7 @@ public class Loan extends AbstractPersistable<Long> {
throw new InvalidLoanStateTransitionException("reject", "cannot.be.a.future.date", errorMessage, command);
}
} else {
final String errorMessage = "Only the Loan applications with status 'Submitted and Pending approval' are allowed to Withdraw By Client.";
final String errorMessage = "Only the loan applications with status 'Submitted and pending approval' are allowed to be withdrawn by applicant.";
throw new InvalidLoanStateTransitionException("withdraw", "cannot.withdraw", errorMessage);
}