You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code duplication rate for method getAndResetTmpOffset and method setTmpOffset is as high as 90%.
In fact, method getAndResetTmpOffset can reuse method setTmpOffset.
healchow
changed the title
[Improve][TubeMq] Optimize redundant code in DefaultOffsetManager
[Improve][TubeMQ] Optimize redundant code in DefaultOffsetManager
Sep 12, 2022
Description
The code duplication rate for method
getAndResetTmpOffset
and methodsetTmpOffset
is as high as 90%.In fact, method
getAndResetTmpOffset
can reuse methodsetTmpOffset
.InLong Component
InLong TubeMQ
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: