(String path)
| 21 | |
| 22 | public class Util { |
| 23 | public static String convertPathToRegex(String path) { |
| 24 | // 使用正则表达式替换 {.*} 为 [^/]+ |
| 25 | return path.replaceAll("\\{[^/]+\\}", "[^/]+"); |
| 26 | } |
| 27 | |
| 28 | public static boolean checkAPIItemExist(APIItem o) { |
| 29 | boolean isExist = false; |
no outgoing calls
no test coverage detected