Remove unused constant in CustomerCreditUpdatePreparedStatementSetter

This commit is contained in:
Mahmoud Ben Hassine
2021-08-12 22:05:59 +02:00
parent f4befae548
commit 1b829471ee

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2014 the original author or authors.
* Copyright 2006-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,11 +24,11 @@ import org.springframework.batch.sample.domain.trade.CustomerCredit;
/**
* @author Dave Syer
* @author Mahmoud Ben Hassine
*
*/
public class CustomerCreditUpdatePreparedStatementSetter implements ItemPreparedStatementSetter<CustomerCredit> {
public static final BigDecimal FIXED_AMOUNT = new BigDecimal(1000);
public static final String QUERY = "UPDATE CUSTOMER SET CREDIT=? WHERE ID=?";
/* (non-Javadoc)
* @see org.springframework.batch.io.support.ItemPreparedStatementSetter#setValues(java.lang.Object, java.sql.PreparedStatement)