Some code style and refactor (#4355)
* extract duplicated method
* change while loop to if since once rs.next() return false, it will never return true for the following calls
* simplify if() return true; return false pattern
* fix compilation
Signed-off-by: Nliqiang.clq <liqiang.clq@alibaba-inc.com>
Showing
想要评论请 注册 或 登录