only show notifications if we have data

This commit is contained in:
Nathan Freitas 2014-07-16 17:07:08 -04:00
parent 9d541d8aad
commit 54a39f2046
1 changed files with 7 additions and 5 deletions

View File

@ -258,6 +258,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
Node node = hmBuiltNodes.get(key);
if (node.ipAddress != null)
{
sbInfo.append(node.ipAddress);
if (node.country != null)
@ -267,6 +268,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
sbInfo.append(" (").append(node.organization).append(')');
sbInfo.append('\n');
}
}