1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 10:19:33 +02:00
This commit is contained in:
Nikolay Pultsin 2011-03-05 00:15:36 +00:00
parent c5f9ea0bd4
commit 77705fa133
3 changed files with 9 additions and 28 deletions

View file

@ -499,26 +499,4 @@ public class NetworkLibrary {
NetworkDatabase.Instance().deleteCustomLink(link);
invalidateChildren();
}
public boolean hasCustomLinkTitle(String title, INetworkLink exceptFor) {
synchronized (myLinks) {
for (INetworkLink link : myLinks) {
if (link != exceptFor && link.getTitle().equals(title)) {
return true;
}
}
}
return false;
}
public boolean hasCustomLinkSite(String siteName, INetworkLink exceptFor) {
synchronized (myLinks) {
for (INetworkLink link : myLinks) {
if (link != exceptFor && link.getSiteName().equals(siteName)) {
return true;
}
}
}
return false;
}
}