Commit fe9344d4 authored by samz406's avatar samz406 Committed by qiaozhanwei
Browse files

mobile phone need 11 number (#1596)

* misspell  words

* modify common queue TaskQueueZKImplTest.java unit test

* extends  BaseTaskQueueTest get zkServer

* modify zk config

* add MonitorServiceTest

* mobile phone need 11 number

* delete file
parent ef401b98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class CheckUtils {
   * @return true if phone regex valid, otherwise return false
   */
  public static boolean checkPhone(String phone) {
    return StringUtils.isEmpty(phone) || phone.length() <= 11;
    return StringUtils.isEmpty(phone) || phone.length() == 11;
  }