Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring. #2488

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Refactoring. #2488

wants to merge 6 commits into from

Conversation

tasnimkhan
Copy link

1.Extract Method
a.Package: org.apache.ibatis.datasource.pooled
b.File: PooledDataSource
c.Method: popConnection
d.Change: Extracted Method – claimOverdueConnection

2.Rename variable
a.Package: org.apache.ibatis.executor.loader
b.File: AbstractSerialStateHolder
c.Method: writeExternal(final ObjectOutput out)
d.Change: Line 61 and 62

3.Move Method/Fields
a.Package: org.apache.ibatis.reflection
b.File: Moved From – SystemMetaObject
c.Fields/Method
i.NULL_META_OBJECT
ii.DEFAULT_OBJECT_FACTORY
iii.DEFAULT_OBJECT_WRAPPER_FACTORY
d.Change: Moved to - MetaObject

4.Pull Up Methods
a.Package: org.apache.ibatis.reflection.wrapper
b.Files
i.Parent: BaseWrapper
ii.Child: BeanWrapper
iii.Child: MapWrapper
c.Methods
i.isCollection()
ii.add(Object element)
iii.addAll(List list)

5.Change bidirectional association to unidirectional association
a.Package: org.apache.ibatis.submitted.serializecircular
b.File: Person
c.Method
i.getDepartment()
ii.setDepartment()
d.Change: Removed unused cyclic dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant