mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +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();
|
||||
}
|
||||
if (!(currentNode instanceof NetworkCatalogTree)) {
|
||||
toRemove.add(currentNode);
|
||||
currentNode = null;
|
||||
++nodeCount;
|
||||
continue;
|
||||
|
@ -355,9 +356,7 @@ public class NetworkLibrary {
|
|||
if (currentNode == null) {
|
||||
currentNode = nodeIterator.next();
|
||||
}
|
||||
if (currentNode instanceof NetworkCatalogTree) {
|
||||
toRemove.add(currentNode);
|
||||
}
|
||||
toRemove.add(currentNode);
|
||||
currentNode = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue