Skip to content

Commit 8a3ac4f

Browse files
author
Oscar Gustafsson
committed
Removed unused comparator
1 parent 006a4e6 commit 8a3ac4f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/main/java/net/sf/jabref/external/push/PushToApplications.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package net.sf.jabref.external.push;
1818

1919
import java.util.ArrayList;
20-
import java.util.Comparator;
2120
import java.util.List;
2221

2322
import net.sf.jabref.openoffice.OpenOfficePanel;
@@ -29,7 +28,6 @@ public class PushToApplications {
2928
* Set up the current available choices:
3029
*/
3130
static {
32-
//TODO plugins create collection class
3331
applications = new ArrayList<PushToApplication>();
3432

3533
PushToApplications.applications.add(new PushToLyx());
@@ -40,19 +38,5 @@ public class PushToApplications {
4038
PushToApplications.applications.add(OpenOfficePanel.getInstance());
4139
PushToApplications.applications.add(new PushToTeXstudio());
4240
PushToApplications.applications.add(new PushToTexmaker());
43-
44-
// Finally, sort the entries:
45-
//Collections.sort(applications, new PushToApplicationComparator());
46-
}
47-
48-
/**
49-
* Comparator for sorting the selection according to name.
50-
*/
51-
private static class PushToApplicationComparator implements Comparator<PushToApplication> {
52-
53-
@Override
54-
public int compare(PushToApplication one, PushToApplication two) {
55-
return one.getName().compareTo(two.getName());
56-
}
5741
}
5842
}

0 commit comments

Comments
 (0)