mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
duplicate 'add custom catalog' items have been removed
This commit is contained in:
parent
e60f32b331
commit
ef86c59ae5
1 changed files with 2 additions and 3 deletions
|
@ -310,6 +310,7 @@ public class NetworkLibrary {
|
||||||
currentNode = nodeIterator.next();
|
currentNode = nodeIterator.next();
|
||||||
}
|
}
|
||||||
if (!(currentNode instanceof NetworkCatalogTree)) {
|
if (!(currentNode instanceof NetworkCatalogTree)) {
|
||||||
|
toRemove.add(currentNode);
|
||||||
currentNode = null;
|
currentNode = null;
|
||||||
++nodeCount;
|
++nodeCount;
|
||||||
continue;
|
continue;
|
||||||
|
@ -355,9 +356,7 @@ public class NetworkLibrary {
|
||||||
if (currentNode == null) {
|
if (currentNode == null) {
|
||||||
currentNode = nodeIterator.next();
|
currentNode = nodeIterator.next();
|
||||||
}
|
}
|
||||||
if (currentNode instanceof NetworkCatalogTree) {
|
toRemove.add(currentNode);
|
||||||
toRemove.add(currentNode);
|
|
||||||
}
|
|
||||||
currentNode = null;
|
currentNode = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue