mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fix errors found by errorprone
This commit is contained in:
@@ -180,12 +180,6 @@ public class DocsysMarkdownEndpoint implements WebServiceObject {
|
||||
}
|
||||
|
||||
private void enable(Set<String> enabled) {
|
||||
|
||||
Set<String> toEnable = new HashSet<>();
|
||||
if (this.enables !=null) {
|
||||
toEnable.addAll(this.enables);
|
||||
}
|
||||
|
||||
for (DocsNameSpace nsinfo : docsinfo) {
|
||||
// add namespaces which are neither enabled nor disabled to the default group
|
||||
if (nsinfo.isEnabledByDefault()) {
|
||||
@@ -204,6 +198,4 @@ public class DocsysMarkdownEndpoint implements WebServiceObject {
|
||||
this.enabled = disabled.remove(enabled);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user