Skip to content

Commit

Permalink
Removed unused comparator
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Gustafsson committed Oct 14, 2015
1 parent cd3719f commit b93625d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/main/java/net/sf/jabref/external/push/PushToApplications.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package net.sf.jabref.external.push;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;

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

PushToApplications.applications.add(new PushToLyx());
Expand All @@ -40,19 +38,5 @@ public class PushToApplications {
PushToApplications.applications.add(OpenOfficePanel.getInstance());
PushToApplications.applications.add(new PushToTeXstudio());
PushToApplications.applications.add(new PushToTexmaker());

// Finally, sort the entries:
//Collections.sort(applications, new PushToApplicationComparator());
}

/**
* Comparator for sorting the selection according to name.
*/
private static class PushToApplicationComparator implements Comparator<PushToApplication> {

@Override
public int compare(PushToApplication one, PushToApplication two) {
return one.getName().compareTo(two.getName());
}
}
}

0 comments on commit b93625d

Please sign in to comment.