(String headers,byte[] content)
| 137 | } |
| 138 | // 判断javascript文件 |
| 139 | public static boolean js (String headers,byte[] content){ |
| 140 | if (headers.contains("/javascript")||headers.contains("/x-javascript") ){ |
| 141 | if (Re.Path(new String(content)).length() != 0){ |
| 142 | return true; |
| 143 | } |
| 144 | } |
| 145 | return false; |
| 146 | } |
| 147 | // 去重代码 |
| 148 | public static List<String> removeDuplicate (ArrayList<String> strings){ |
| 149 | List<String> list2 = new ArrayList<String>(strings); |
no test coverage detected