netdb.jsp cleanup

This commit is contained in:
zzz
2009-06-05 23:43:10 +00:00
parent 5d212d3cea
commit 7e651d53a0

View File

@ -1069,8 +1069,8 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
buf.append("Address(es): <i>"); buf.append("Address(es): <i>");
String country = _context.commSystem().getCountry(info.getIdentity().getHash()); String country = _context.commSystem().getCountry(info.getIdentity().getHash());
if(country != null) { if(country != null) {
buf.append(" <img alt=\"").append(country.toUpperCase()).append("\""); buf.append("<img alt=\"").append(country.toUpperCase()).append("\"");
buf.append(" src=\"/flags.jsp?c=").append(country).append("\">"); buf.append(" src=\"/flags.jsp?c=").append(country).append("\"> ");
} }
for (Iterator iter = info.getAddresses().iterator(); iter.hasNext(); ) { for (Iterator iter = info.getAddresses().iterator(); iter.hasNext(); ) {
RouterAddress addr = (RouterAddress)iter.next(); RouterAddress addr = (RouterAddress)iter.next();