remove unused warnings.

This commit is contained in:
Keith Woodlock
2012-08-06 13:20:33 +01:00
parent cc30ad79e9
commit 78d2c18279
3 changed files with 2 additions and 3 deletions
@@ -114,7 +114,7 @@ public class GroupsApiResource {
@Path("{groupId}")
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
public Response deleteGroup(@PathParam("groupId") final Long groupId, @Context final UriInfo uriInfo){
public Response deleteGroup(@PathParam("groupId") final Long groupId){
EntityIdentifier entityIdentifier = this.groupWritePlatformService.deleteGroup(groupId);
@@ -7,7 +7,6 @@ import org.mifosng.platform.group.domain.Group;
import org.mifosng.platform.group.domain.GroupRepository;
import org.mifosng.platform.security.PlatformSecurityContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -478,7 +478,7 @@ public class Loan extends AbstractAuditableCustom<AppUser, Long> {
}
}
private void handleLoanOverpayment(final LoanTransaction loanTransaction, final LoanLifecycleStateMachine loanLifecycleStateMachine) {
private void handleLoanOverpayment(@SuppressWarnings("unused") final LoanTransaction loanTransaction, final LoanLifecycleStateMachine loanLifecycleStateMachine) {
this.loanStatus = loanLifecycleStateMachine.transition(LoanEvent.LOAN_OVERPAYMENT, this.loanStatus);
this.closedOnDate = null;
this.maturedOnDate = null;