From 1b829471eef03eaf7b829effbf4089604f9388e2 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Thu, 12 Aug 2021 22:05:59 +0200 Subject: [PATCH] Remove unused constant in CustomerCreditUpdatePreparedStatementSetter --- .../internal/CustomerCreditUpdatePreparedStatementSetter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/CustomerCreditUpdatePreparedStatementSetter.java b/spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/CustomerCreditUpdatePreparedStatementSetter.java index f93d833a1..badb95379 100644 --- a/spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/CustomerCreditUpdatePreparedStatementSetter.java +++ b/spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/CustomerCreditUpdatePreparedStatementSetter.java @@ -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 { 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)