netdb.jsp cleanup
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user