df5944fad4e3100e054f1dda09c60ebc80274e15
Files Diff
- Added: 14
- Removed: 3
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type endpoint : Endpoint to endpoint : SqlStoredEndpoint in method public SqlStoredProducer(endpoint SqlStoredEndpoint) in class org.apache.camel.component.sql.stored.SqlStoredProducer | From | To | |
Move Method | 4 | ||
Move Method public parseTemplate(template String) : Template from class org.apache.camel.component.sql.stored.template.TemplateStoredProcedureFactory to public parseTemplate(template String) : Template from class org.apache.camel.component.sql.stored.template.TemplateParser | From | To | |
Move Method public shouldExecuteStoredProcedure() : void from class org.apache.camel.component.sql.stored.TemplateStoredProcedureTest to public shouldExecuteStoredProcedure() : void from class org.apache.camel.component.sql.stored.CallableStatementWrapperTest | From | To | |
Move Method public shouldExecuteNilacidProcedure() : void from class org.apache.camel.component.sql.stored.TemplateStoredProcedureTest to public shouldExecuteNilacidProcedure() : void from class org.apache.camel.component.sql.stored.CallableStatementWrapperTest | From | To | |
Move Method private validate(input Template) : Template from class org.apache.camel.component.sql.stored.template.TemplateStoredProcedureFactory to private validate(input Template) : Template from class org.apache.camel.component.sql.stored.template.TemplateParser | From | To | |
Move Attribute | 1 | ||
Move Attribute private jdbcTemplate : JdbcTemplate from class org.apache.camel.component.sql.stored.TemplateStoredProcedureTest to private jdbcTemplate : JdbcTemplate from class org.apache.camel.component.sql.stored.CallableStatementWrapperTest | From | To | |
Extract Class | 2 | ||
Extract Class org.apache.camel.component.sql.stored.CallableStatementWrapperTest from class org.apache.camel.component.sql.stored.TemplateStoredProcedureTest | From | To | |
Extract Class org.apache.camel.component.sql.stored.template.TemplateParser from class org.apache.camel.component.sql.stored.template.TemplateStoredProcedureFactory | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.camel.component.sql.stored.TemplateStoredProcedureTest renamed to org.apache.camel.component.sql.stored.TemplateCacheTest | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.camel.component.sql.stored.template.TemplateStoredProcedureFactory moved and renamed to org.apache.camel.component.sql.stored.CallableStatementWrapperFactory | From | To | |
Move Class | 1 | ||
Move Class org.apache.camel.component.sql.stored.template.TemplateStoredProcedure moved to org.apache.camel.component.sql.stored.TemplateStoredProcedure | From | To | |
Change Variable Type | 1 | ||
Change Variable Type valueSrcAsStr : String to valueSrcToken : Token in method public InputParameter() : InputParameter in class org.apache.camel.component.sql.stored.template.generated.SSPTParser | From | To | |
Extract Variable | 1 | ||
Extract Variable template : String in method protected createEndpoint(uri String, remaining String, parameters Map<String,Object>) : Endpoint from class org.apache.camel.component.sql.stored.SqlStoredComponent | From | To | |
Rename Method | 3 | ||
Rename Method public createFromString(string String) : TemplateStoredProcedure renamed to public getTemplateStoredProcedure(sql String) : TemplateStoredProcedure in class org.apache.camel.component.sql.stored.CallableStatementWrapperFactory | From | To | |
Rename Method public getInputParameterList() : List<InputParameter> renamed to public getParameterList() : List<Object> in class org.apache.camel.component.sql.stored.template.ast.Template | From | To | |
Rename Method public addnumbers(val1 int, val2 int, ret int[]) : void renamed to public subnumbers(val1 int, val2 int, ret int[]) : void in class org.apache.camel.component.sql.stored.TestStoredProcedure | From | To | |
Rename Variable | 2 | ||
Rename Variable valueSrcAsStr : String to valueSrcToken : Token in method public InputParameter() : InputParameter in class org.apache.camel.component.sql.stored.template.generated.SSPTParser | From | To | |
Rename Variable answer : SqlStoredEndpoint to endpoint : SqlStoredEndpoint in method protected createEndpoint(uri String, remaining String, parameters Map<String,Object>) : Endpoint in class org.apache.camel.component.sql.stored.SqlStoredComponent | From | To | |
Change Return Type | 3 | ||
Change Return Type String to Token in method public InputParameterSrc() : Token in class org.apache.camel.component.sql.stored.template.generated.SSPTParser | From | To | |
Change Return Type List<InputParameter> to List<Object> in method public getParameterList() : List<Object> in class org.apache.camel.component.sql.stored.template.ast.Template | From | To | |
Change Return Type void to Map in method public execute(exchange Exchange, rowData Object) : Map in class org.apache.camel.component.sql.stored.TemplateStoredProcedure | From | To | |
Rename Attribute | 1 | ||
Rename Attribute outParameterList : List<OutParameter> to parameterList : List<Object> in class org.apache.camel.component.sql.stored.template.ast.Template | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type parser : TemplateStoredProcedureFactory to parser : TemplateParser in class org.apache.camel.component.sql.stored.ParserTest | From | To | |
Change Attribute Type outParameterList : List<OutParameter> to parameterList : List<Object> in class org.apache.camel.component.sql.stored.template.ast.Template | From | To | |
Rename Parameter | 1 | ||
Rename Parameter string : String to sql : String in method public getTemplateStoredProcedure(sql String) : TemplateStoredProcedure in class org.apache.camel.component.sql.stored.CallableStatementWrapperFactory | From | To |