Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactoring. #2488

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

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

Refactoring. #2488

tasnimkhan wants to merge 6 commits into mybatis:master from tasnimkhan:master

Conversation

@tasnimkhan
Copy link

@tasnimkhan tasnimkhan commented Mar 25, 2022

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /