dca3fe012c6d174d25276e7a132192685716814c
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public NutSql2(source String, callback SqlCallback) from class org.nutz.dao.impl.sql.NutSql2 to public NutSql(source String, callback SqlCallback) from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Method | 2 | ||
Move Method public forPrint() : String from class org.nutz.dao.impl.sql.NutSql2 to public forPrint() : String from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Method protected _params_count() : int from class org.nutz.dao.impl.sql.NutSql2 to protected _params_count() : int from class org.nutz.dao.impl.sql.NutSql | From | To | |
Rename Variable | 2 | ||
Rename Variable x : int to item : PItem in method public getAdaptors() : ValueAdaptor[] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Rename Variable x : int to item : PItem in method public getParamMatrix() : Object[][] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Change Return Type | 1 | ||
Change Return Type NutSql to DaoStatement in method public setPager(pager Pager) : DaoStatement in class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Attribute | 6 | ||
Move Attribute protected varIndex : VarIndex from class org.nutz.dao.impl.sql.NutSql2 to protected varIndex : VarIndex from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Attribute protected sourceSql : String from class org.nutz.dao.impl.sql.NutSql2 to protected sourceSql : String from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Attribute protected paramIndex : VarIndex from class org.nutz.dao.impl.sql.NutSql2 to protected paramIndex : VarIndex from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Attribute protected items : List<PItem> from class org.nutz.dao.impl.sql.NutSql2 to protected items : List<PItem> from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Attribute protected customValueAdaptor : Map<String,ValueAdaptor> from class org.nutz.dao.impl.sql.NutSql2 to protected customValueAdaptor : Map<String,ValueAdaptor> from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Attribute protected params : VarSet from class org.nutz.dao.impl.sql.NutSql2 to protected params : VarSet from class org.nutz.dao.impl.sql.NutSql | From | To | |
Move Class | 2 | ||
Move Class org.nutz.dao.impl.sql.NutSql2.SqlParamPItem moved to org.nutz.dao.impl.sql.NutSql.SqlParamPItem | From | To | |
Move Class org.nutz.dao.impl.sql.NutSql2.SqlVarPItem moved to org.nutz.dao.impl.sql.NutSql.SqlVarPItem | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute is : int[] to items : List<PItem> in method public getParamMatrix() : Object[][] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Replace Variable With Attribute is : int[] to items : List<PItem> in method public getAdaptors() : ValueAdaptor[] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Rename Attribute | 1 | ||
Rename Attribute lastRow : VarSet to params : VarSet in class org.nutz.dao.impl.sql.NutSql | From | To | |
Change Variable Type | 4 | ||
Change Variable Type is : int[] to items : List<PItem> in method public getParamMatrix() : Object[][] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Change Variable Type x : int to item : PItem in method public getAdaptors() : ValueAdaptor[] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Change Variable Type is : int[] to items : List<PItem> in method public getAdaptors() : ValueAdaptor[] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Change Variable Type x : int to item : PItem in method public getParamMatrix() : Object[][] in class org.nutz.dao.impl.sql.NutSql | From | To | |
Rename Parameter | 2 | ||
Rename Parameter en : Entity<?> to entity : Entity<?> in method public setEntity(entity Entity<?>) : Sql in class org.nutz.dao.impl.sql.NutSql | From | To | |
Rename Parameter sql : String to source : String in method public NutSql(source String) in class org.nutz.dao.impl.sql.NutSql | From | To |