From 4224fc16cc3a4a9441982d58a5cbd0954ac9fec9 Mon Sep 17 00:00:00 2001 From: Vishwas Babu A J Date: Sat, 4 Apr 2015 20:35:45 -0700 Subject: [PATCH] remove server startup warnings --- .../organisation/teller/api/TellerApiResource.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mifosng-provider/src/main/java/org/mifosplatform/organisation/teller/api/TellerApiResource.java b/mifosng-provider/src/main/java/org/mifosplatform/organisation/teller/api/TellerApiResource.java index dc806b97a..ee78b0f8b 100644 --- a/mifosng-provider/src/main/java/org/mifosplatform/organisation/teller/api/TellerApiResource.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/organisation/teller/api/TellerApiResource.java @@ -231,10 +231,9 @@ public class TellerApiResource { @GET @Path("{tellerId}/cashiers/{cashierId}/transactions") - @Consumes({ MediaType.TEXT_HTML, MediaType.APPLICATION_JSON }) + @Consumes({ MediaType.APPLICATION_JSON }) @Produces(MediaType.APPLICATION_JSON) - public String getTransactionsForCashier(@PathParam("tellerId") final Long tellerId, @PathParam("cashierId") final Long cashierId, - final String fromDateStr, final String toDateStr) { + public String getTransactionsForCashier(@PathParam("tellerId") final Long tellerId, @PathParam("cashierId") final Long cashierId) { final TellerData teller = this.readPlatformService.findTeller(tellerId); final CashierData cashier = this.readPlatformService.findCashier(cashierId); @@ -249,10 +248,10 @@ public class TellerApiResource { @GET @Path("{tellerId}/cashiers/{cashierId}/summaryandtransactions") - @Consumes({ MediaType.TEXT_HTML, MediaType.APPLICATION_JSON }) + @Consumes({ MediaType.APPLICATION_JSON }) @Produces(MediaType.APPLICATION_JSON) public String getTransactionsWtihSummaryForCashier(@PathParam("tellerId") final Long tellerId, - @PathParam("cashierId") final Long cashierId, final String fromDateStr, final String toDateStr) { + @PathParam("cashierId") final Long cashierId) { final TellerData teller = this.readPlatformService.findTeller(tellerId); final CashierData cashier = this.readPlatformService.findCashier(cashierId);