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

Skip to content
Snippets Groups Projects
Commit 184220f4 authored by zzz's avatar zzz
Browse files

minor optimization

parent 5d6d2790
No related branches found
No related tags found
No related merge requests found
......@@ -456,10 +456,11 @@ public class SummaryHelper extends HelperBase {
/** compare translated nicknames - put "shared clients" first in the sort */
private class AlphaComparator implements Comparator<Destination> {
private final String xsc = _("shared clients");
public int compare(Destination lhs, Destination rhs) {
String lname = getName(lhs);
String rname = getName(rhs);
String xsc = _("shared clients");
if (lname.equals(xsc))
return -1;
if (rname.equals(xsc))
......
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