leases: simplify code
leases: simplify code

caijieming-baidu/scalaris,scalaris-team/scalaris,scalaris-team/scalaris,scalaris-team/scalaris,jvf/scalaris,scalaris-team/scalaris,scalaris-team/scalaris,caijieming-baidu/scalaris,jvf/scalaris,caijieming-baidu/scalaris,jvf/scalaris,jvf/scalaris,jvf/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,scalaris-team/scalaris,jvf/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,jvf/scalaris,caijieming-baidu/scalaris,caijieming-baidu/scalaris