@Test public void getInterfaceNameNoneException() throws Exception { assertEquals("", GrpcUtils.getInterfaceNameNoneException("sxp")); }
public static String getInterfaceNameNoneException(String fullMethodName) { if (StringUtils.isEmpty(fullMethodName)) { return ""; } int index = fullMethodName.indexOf("/"); if (index < 0) { return ""; } return fullMethodName.substring(0, index); }
GrpcUtils { public static String getInterfaceNameNoneException(String fullMethodName) { if (StringUtils.isEmpty(fullMethodName)) { return ""; } int index = fullMethodName.indexOf("/"); if (index < 0) { return ""; } return fullMethodName.substring(0, index); } }
GrpcUtils { public static String getInterfaceNameNoneException(String fullMethodName) { if (StringUtils.isEmpty(fullMethodName)) { return ""; } int index = fullMethodName.indexOf("/"); if (index < 0) { return ""; } return fullMethodName.substring(0, index); }  }
GrpcUtils { public static String getInterfaceNameNoneException(String fullMethodName) { if (StringUtils.isEmpty(fullMethodName)) { return ""; } int index = fullMethodName.indexOf("/"); if (index < 0) { return ""; } return fullMethodName.substring(0, index); }  static String getInterfaceNameByFullMethodName(String fullMethodName); static String getSimpleMethodName(String fullMethodName); static String getInterfaceNameNoneException(String fullMethodName); }
GrpcUtils { public static String getInterfaceNameNoneException(String fullMethodName) { if (StringUtils.isEmpty(fullMethodName)) { return ""; } int index = fullMethodName.indexOf("/"); if (index < 0) { return ""; } return fullMethodName.substring(0, index); }  static String getInterfaceNameByFullMethodName(String fullMethodName); static String getSimpleMethodName(String fullMethodName); static String getInterfaceNameNoneException(String fullMethodName);  }