remove server startup warnings

This commit is contained in:
Vishwas Babu A J
2015-04-04 20:35:45 -07:00
parent dbb1c18dd4
commit 4224fc16cc
@@ -231,10 +231,9 @@ public class TellerApiResource {
@GET @GET
@Path("{tellerId}/cashiers/{cashierId}/transactions") @Path("{tellerId}/cashiers/{cashierId}/transactions")
@Consumes({ MediaType.TEXT_HTML, MediaType.APPLICATION_JSON }) @Consumes({ MediaType.APPLICATION_JSON })
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
public String getTransactionsForCashier(@PathParam("tellerId") final Long tellerId, @PathParam("cashierId") final Long cashierId, public String getTransactionsForCashier(@PathParam("tellerId") final Long tellerId, @PathParam("cashierId") final Long cashierId) {
final String fromDateStr, final String toDateStr) {
final TellerData teller = this.readPlatformService.findTeller(tellerId); final TellerData teller = this.readPlatformService.findTeller(tellerId);
final CashierData cashier = this.readPlatformService.findCashier(cashierId); final CashierData cashier = this.readPlatformService.findCashier(cashierId);
@@ -249,10 +248,10 @@ public class TellerApiResource {
@GET @GET
@Path("{tellerId}/cashiers/{cashierId}/summaryandtransactions") @Path("{tellerId}/cashiers/{cashierId}/summaryandtransactions")
@Consumes({ MediaType.TEXT_HTML, MediaType.APPLICATION_JSON }) @Consumes({ MediaType.APPLICATION_JSON })
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
public String getTransactionsWtihSummaryForCashier(@PathParam("tellerId") final Long tellerId, 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 TellerData teller = this.readPlatformService.findTeller(tellerId);
final CashierData cashier = this.readPlatformService.findCashier(cashierId); final CashierData cashier = this.readPlatformService.findCashier(cashierId);