f65b0491f25a94089b547937d46ef5638580ee7a
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type jdbcTemplate : JdbcTemplate to namedJdbcTemplate : NamedParameterJdbcTemplate in method public ElsqlConsumer(endpoint DefaultSqlEndpoint, processor Processor, namedJdbcTemplate NamedParameterJdbcTemplate, query String, parameterSource SqlParameterSource, sqlPrepareStatementStrategy SqlPrepareStatementStrategy, sqlProcessingStrategy SqlProcessingStrategy) in class org.apache.camel.component.elsql.ElsqlConsumer | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute template : JdbcTemplate to namedJdbcTemplate : NamedParameterJdbcTemplate in method public createConsumer(processor Processor) : Consumer in class org.apache.camel.component.elsql.ElsqlEndpoint | From | To | |
Extract Variable | 1 | ||
Extract Variable callback : PreparedStatementCallback<Integer> in method protected poll() : int from class org.apache.camel.component.sql.SqlConsumer | From | To | |
Change Variable Type | 1 | ||
Change Variable Type template : JdbcTemplate to namedJdbcTemplate : NamedParameterJdbcTemplate in method public createConsumer(processor Processor) : Consumer in class org.apache.camel.component.elsql.ElsqlEndpoint | From | To | |
Rename Parameter | 3 | ||
Rename Parameter jdbcTemplate : JdbcTemplate to namedJdbcTemplate : NamedParameterJdbcTemplate in method public ElsqlConsumer(endpoint DefaultSqlEndpoint, processor Processor, namedJdbcTemplate NamedParameterJdbcTemplate, query String, parameterSource SqlParameterSource, sqlPrepareStatementStrategy SqlPrepareStatementStrategy, sqlProcessingStrategy SqlProcessingStrategy) in class org.apache.camel.component.elsql.ElsqlConsumer | From | To | |
Rename Parameter endpoint : DefaultSqlEndpoint to defaultSqlEndpoint : DefaultSqlEndpoint in method public commit(defaultSqlEndpoint DefaultSqlEndpoint, exchange Exchange, data Object, jdbcTemplate JdbcTemplate, query String) : int in class org.apache.camel.component.elsql.ElsqlSqlProcessingStrategy | From | To | |
Rename Parameter endpoint : DefaultSqlEndpoint to defaultSqlEndpoint : DefaultSqlEndpoint in method public commitBatchComplete(defaultSqlEndpoint DefaultSqlEndpoint, jdbcTemplate JdbcTemplate, query String) : int in class org.apache.camel.component.elsql.ElsqlSqlProcessingStrategy | From | To |