Skip to content

Commit 1b82947

Browse files
committed
Remove unused constant in CustomerCreditUpdatePreparedStatementSetter
1 parent f4befae commit 1b82947

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/CustomerCreditUpdatePreparedStatementSetter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2014 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,11 +24,11 @@
2424

2525
/**
2626
* @author Dave Syer
27+
* @author Mahmoud Ben Hassine
2728
*
2829
*/
2930
public class CustomerCreditUpdatePreparedStatementSetter implements ItemPreparedStatementSetter<CustomerCredit> {
3031
public static final BigDecimal FIXED_AMOUNT = new BigDecimal(1000);
31-
public static final String QUERY = "UPDATE CUSTOMER SET CREDIT=? WHERE ID=?";
3232

3333
/* (non-Javadoc)
3434
* @see org.springframework.batch.io.support.ItemPreparedStatementSetter#setValues(java.lang.Object, java.sql.PreparedStatement)

0 commit comments

Comments
 (0)