mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
Library: keys instead of \000-separated strings
This commit is contained in:
parent
3b0179460c
commit
31b3f2607e
6 changed files with 51 additions and 64 deletions
|
@ -418,13 +418,7 @@ public class NetworkLibrary {
|
|||
if (parentTree == null) {
|
||||
return null;
|
||||
}
|
||||
for (FBTree tree : parentTree.subTrees()) {
|
||||
final NetworkTree nTree = (NetworkTree)tree;
|
||||
if (key.equals(nTree.getUniqueKey())) {
|
||||
return nTree;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
return parentTree != null ? (NetworkTree)parentTree.getSubTree(key.Id) : null;
|
||||
}
|
||||
|
||||
public void simpleSearch(String pattern, final NetworkOperationData.OnNewItemListener listener) throws ZLNetworkException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue