1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 10:49:24 +02:00

NetworkLibrary NPE fix

git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1323 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
Vasiliy Bout 2010-04-30 13:10:47 +00:00
parent 31889171f3
commit f9d2dc1335

View file

@ -204,7 +204,7 @@ public class NetworkLibrary {
toRemove.add(srTree);
}
} else {
if (srTree.Result != mySearchResult) {
if (srTree != null && srTree.Result != mySearchResult) {
toRemove.add(srTree);
srTree = null;
}