mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
fix docs sorting bug
This commit is contained in:
parent
bf7240d7e8
commit
370de82a53
@ -30,6 +30,6 @@ public class FDocCat implements Iterable<FDocFuncs> {
|
|||||||
public Iterator<FDocFuncs> iterator() {
|
public Iterator<FDocFuncs> iterator() {
|
||||||
ArrayList<FDocFuncs> fdocs = new ArrayList<>(docsByFuncName.values());
|
ArrayList<FDocFuncs> fdocs = new ArrayList<>(docsByFuncName.values());
|
||||||
fdocs.sort(Comparator.comparing(FDocFuncs::getFunctionName));
|
fdocs.sort(Comparator.comparing(FDocFuncs::getFunctionName));
|
||||||
return docsByFuncName.values().iterator();
|
return fdocs.iterator();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,4 +71,12 @@ public class FDocFuncs implements Iterable<FDocFunc> {
|
|||||||
.replaceAll("java.net.","")
|
.replaceAll("java.net.","")
|
||||||
.replaceAll("java.io.","");
|
.replaceAll("java.io.","");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "FDocFuncs{" +
|
||||||
|
"functionsByPackage=" + functionsByPackage +
|
||||||
|
", functionName='" + functionName + '\'' +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user