I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit e87ff25e authored by dev's avatar dev
Browse files

fix NPE

parent 6b8dffc4
No related branches found
No related tags found
No related merge requests found
...@@ -306,6 +306,10 @@ public class TunnelRenderer { ...@@ -306,6 +306,10 @@ public class TunnelRenderer {
String lc = this.comm.getCountry(l); String lc = this.comm.getCountry(l);
String rc = this.comm.getCountry(r); String rc = this.comm.getCountry(r);
// make them non-null
lc = (lc == null) ? "zzzz" : lc;
rc = (rc == null) ? "zzzz" : rc;
// let String handle the rest // let String handle the rest
return lc.compareTo(rc); return lc.compareTo(rc);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment