Skip to content

Commit 849e353

Browse files
committed
Sonar Fixes
1 parent f070de0 commit 849e353

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationComponentSpec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public abstract class IntegrationComponentSpec<S extends IntegrationComponentSpe
3737

3838
protected final static SpelExpressionParser PARSER = new SpelExpressionParser();
3939

40-
protected final Log logger = LogFactory.getLog(getClass());
40+
protected final Log logger = LogFactory.getLog(getClass()); // NOSONAR
4141

42-
protected volatile T target;
42+
protected volatile T target; // NOSONAR
4343

4444
private String id;
4545

spring-integration-jpa/src/main/java/org/springframework/integration/jpa/dsl/JpaBaseOutboundEndpointSpec.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.springframework.integration.jpa.core.JpaExecutor;
2727
import org.springframework.integration.jpa.outbound.JpaOutboundGateway;
2828
import org.springframework.integration.jpa.support.JpaParameter;
29-
import org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSourceFactory;
3029
import org.springframework.integration.jpa.support.parametersource.ParameterSourceFactory;
3130

3231
/**
@@ -44,7 +43,7 @@ public abstract class JpaBaseOutboundEndpointSpec<S extends JpaBaseOutboundEndpo
4443

4544
private final List<JpaParameter> jpaParameters = new LinkedList<>();
4645

47-
protected final JpaExecutor jpaExecutor;
46+
protected final JpaExecutor jpaExecutor; // NOSONAR
4847

4948
protected JpaBaseOutboundEndpointSpec(JpaExecutor jpaExecutor) {
5049
this.jpaExecutor = jpaExecutor;
@@ -146,12 +145,12 @@ public S parameter(JpaParameter jpaParameter) {
146145
}
147146

148147
/**
149-
* Indicates that whether only the payload of the passed in {@code Message}
150-
* will be used as a source of parameters. The is 'true' by default because as a
151-
* default a {@link BeanPropertyParameterSourceFactory} implementation is
152-
* used for the sqlParameterSourceFactory property.
153-
* @param usePayloadAsParameterSource the {@code boolean} flag to indicate
154-
* if use {@code payload} as a source of parameter values or not.
148+
* Indicates that whether only the payload of the passed in {@code Message} will be
149+
* used as a source of parameters. The is 'true' by default because as a default a
150+
* {@link org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSourceFactory}
151+
* implementation is used for the sqlParameterSourceFactory property.
152+
* @param usePayloadAsParameterSource the {@code boolean} flag to indicate if use
153+
* {@code payload} as a source of parameter values or not.
155154
* @return the spec
156155
*/
157156
public S usePayloadAsParameterSource(Boolean usePayloadAsParameterSource) {

0 commit comments

Comments
 (0)