()
| 59 | } |
| 60 | |
| 61 | public void clearScanState() { |
| 62 | for (BiFunction<IHttpRequestResponse, Boolean, ApiType> constructor : apiTypeConstructors) { |
| 63 | try { |
| 64 | ApiType apiType = constructor.apply(null, true); |
| 65 | if (apiType instanceof ApiTypeActuator) { |
| 66 | ((ApiTypeActuator) apiType).clearScanState(); |
| 67 | } else if (apiType instanceof ApiTypeSwagger) { |
| 68 | ((ApiTypeSwagger) apiType).clearScanState(); |
| 69 | } |
| 70 | } catch (Exception e) { |
| 71 | BurpExtender.getStderr().println(CommonUtils.exceptionToString(e)); |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 |
no test coverage detected