Sonar Fixes
This commit is contained in:
@@ -37,9 +37,9 @@ public abstract class IntegrationComponentSpec<S extends IntegrationComponentSpe
|
|||||||
|
|
||||||
protected final static SpelExpressionParser PARSER = new SpelExpressionParser();
|
protected final static SpelExpressionParser PARSER = new SpelExpressionParser();
|
||||||
|
|
||||||
protected final Log logger = LogFactory.getLog(getClass());
|
protected final Log logger = LogFactory.getLog(getClass()); // NOSONAR
|
||||||
|
|
||||||
protected volatile T target;
|
protected volatile T target; // NOSONAR
|
||||||
|
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ import org.springframework.integration.dsl.MessageHandlerSpec;
|
|||||||
import org.springframework.integration.jpa.core.JpaExecutor;
|
import org.springframework.integration.jpa.core.JpaExecutor;
|
||||||
import org.springframework.integration.jpa.outbound.JpaOutboundGateway;
|
import org.springframework.integration.jpa.outbound.JpaOutboundGateway;
|
||||||
import org.springframework.integration.jpa.support.JpaParameter;
|
import org.springframework.integration.jpa.support.JpaParameter;
|
||||||
import org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSourceFactory;
|
|
||||||
import org.springframework.integration.jpa.support.parametersource.ParameterSourceFactory;
|
import org.springframework.integration.jpa.support.parametersource.ParameterSourceFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -44,7 +43,7 @@ public abstract class JpaBaseOutboundEndpointSpec<S extends JpaBaseOutboundEndpo
|
|||||||
|
|
||||||
private final List<JpaParameter> jpaParameters = new LinkedList<>();
|
private final List<JpaParameter> jpaParameters = new LinkedList<>();
|
||||||
|
|
||||||
protected final JpaExecutor jpaExecutor;
|
protected final JpaExecutor jpaExecutor; // NOSONAR
|
||||||
|
|
||||||
protected JpaBaseOutboundEndpointSpec(JpaExecutor jpaExecutor) {
|
protected JpaBaseOutboundEndpointSpec(JpaExecutor jpaExecutor) {
|
||||||
this.jpaExecutor = jpaExecutor;
|
this.jpaExecutor = jpaExecutor;
|
||||||
@@ -146,12 +145,12 @@ public abstract class JpaBaseOutboundEndpointSpec<S extends JpaBaseOutboundEndpo
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates that whether only the payload of the passed in {@code Message}
|
* Indicates that whether only the payload of the passed in {@code Message} will be
|
||||||
* will be used as a source of parameters. The is 'true' by default because as a
|
* used as a source of parameters. The is 'true' by default because as a default a
|
||||||
* default a {@link BeanPropertyParameterSourceFactory} implementation is
|
* {@link org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSourceFactory}
|
||||||
* used for the sqlParameterSourceFactory property.
|
* implementation is used for the sqlParameterSourceFactory property.
|
||||||
* @param usePayloadAsParameterSource the {@code boolean} flag to indicate
|
* @param usePayloadAsParameterSource the {@code boolean} flag to indicate if use
|
||||||
* if use {@code payload} as a source of parameter values or not.
|
* {@code payload} as a source of parameter values or not.
|
||||||
* @return the spec
|
* @return the spec
|
||||||
*/
|
*/
|
||||||
public S usePayloadAsParameterSource(Boolean usePayloadAsParameterSource) {
|
public S usePayloadAsParameterSource(Boolean usePayloadAsParameterSource) {
|
||||||
|
|||||||
Reference in New Issue
Block a user