Skip to content

Commit

Permalink
Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Dec 9, 2015
1 parent a8cd36b commit 2f9bb22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions src/main/java/net/sf/jabref/gui/DragDropPopupPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ public class DragDropPopupPane extends DragDropPane {

public DragDropPopupPane(AbstractAction manageSelectorsAction, AbstractAction databasePropertiesAction,
AbstractAction bibtexKeyPatternAction, AbstractAction closeDatabaseAction, AbstractAction closeAllDatabaseAction, AbstractAction closeOtherDatabaseAction) {
super();

addMouseListener(new java.awt.event.MouseAdapter() {

@Override
public void mouseClicked(MouseEvent e) {
tabClicked(e);
Expand Down Expand Up @@ -83,9 +81,4 @@ private void tabClicked(MouseEvent e) {
popupMenu.show(e.getComponent(), e.getX(), e.getY() - 10);
}
}

private void closeSelectedTab() {
// remove selected tab
remove(getSelectedIndex());
}
}
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ private void initActions() {
findUnlinkedFiles, addToGroup, removeFromGroup, moveToGroup, autoLinkFile, resolveDuplicateKeys,
openUrl, openFolder, openFile, togglePreview, dupliCheck, autoSetFile,
newEntryAction, plainTextImport, massSetField, manageKeywords, pushExternalButton.getMenuAction(),
closeDatabaseAction, closeAllDatabasesAction, closeOtherDatabasesAction, switchPreview, checkIntegrity, toggleHighlightAny, toggleHighlightAll,
closeDatabaseAction, switchPreview, checkIntegrity, toggleHighlightAny, toggleHighlightAll,
databaseProperties, abbreviateIso, abbreviateMedline, unabbreviate, exportAll, exportSelected,
importCurrent, saveAll, dbConnect, dbExport, focusTable));

Expand Down

0 comments on commit 2f9bb22

Please sign in to comment.