Skip to content

Commit

Permalink
Merge pull request #8435 from thc202/rm-pscan-state-addon
Browse files Browse the repository at this point in the history
Remove more pscan state from `AddOn`
  • Loading branch information
thc202 committed Apr 8, 2024
2 parents bc2e12e + 00aea22 commit b781375
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions zap/src/main/java/org/zaproxy/zap/control/AddOn.java
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,6 @@ public ZapAddOnXmlFile getManifest() {
private List<AbstractPlugin> loadedAscanrules = Collections.emptyList();
private boolean loadedAscanRulesSet;
private List<String> pscanrules = Collections.emptyList();
private List<PluginPassiveScanner> loadedPscanrules = Collections.emptyList();
private boolean loadedPscanRulesSet;
private List<String> files = Collections.emptyList();
private List<Lib> libs = Collections.emptyList();

Expand Down Expand Up @@ -1052,23 +1050,6 @@ public List<PluginPassiveScanner> getLoadedPscanrules() {
return List.of();
}

/**
* Sets whether or not the loaded passive scan rules, if any, where already set to the add-on.
*
* <p><strong>Note:</strong> Helper method to be used (only) by/during (un)installation process
* and loading of the add-on. The method should be called, with {@code true} during
* installation/loading and {@code false} during uninstallation, after calling the method {@code
* setLoadedPscanrules(List)}.
*
* @param pscanrulesSet {@code true} if the loaded passive scan rules were already set, {@code
* false} otherwise
* @since 2.4.3
* @see #setLoadedPscanrules(List)
*/
void setLoadedPscanrulesSet(boolean pscanrulesSet) {
loadedPscanRulesSet = pscanrulesSet;
}

public List<String> getFiles() {
return files;
}
Expand Down

0 comments on commit b781375

Please sign in to comment.