Skip to content
Snippets Groups Projects
Commit 3c7bb5e4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unused parameters removed

parent 109c9f2d
No related branches found
No related tags found
1 merge request!704Unit tests for CellDesigner plugin module
......@@ -32,10 +32,8 @@ public class CopyAction extends CopyPasteAbstractAction {
* - a plugin object
* @param speciesList
* - list of species to annotate
* @param win
* - main window of cell designer
*/
public void performAnnotation(CopyPastePlugin plug, PluginListOf speciesList, MainWindow win) {
public void performAnnotation(CopyPastePlugin plug, PluginListOf speciesList) {
// if list is empty then just return from the method
if (speciesList.size() == 0) {
......
......@@ -21,6 +21,7 @@ public class CopyPluginAction extends PluginAction {
* Default class logger.
*/
private Logger logger = Logger.getLogger(PasteAction.class.getName());
/**
*
*/
......@@ -30,10 +31,6 @@ public class CopyPluginAction extends PluginAction {
* Plugin that access this action.
*/
private CopyPastePlugin plug = null;
/**
* Main window of CellDesigner.
*/
private MainWindow window;
/**
* Default constructor.
......@@ -45,7 +42,6 @@ public class CopyPluginAction extends PluginAction {
*/
public CopyPluginAction(CopyPastePlugin plugin, MainWindow win) {
this.plug = plugin;
this.window = win;
}
@Override
......@@ -53,7 +49,7 @@ public class CopyPluginAction extends PluginAction {
try {
CopyAction annotateAction = new CopyAction();
PluginListOf list = plug.getSelectedAllNode();
annotateAction.performAnnotation(plug, list, window);
annotateAction.performAnnotation(plug, list);
} catch (Exception ex) {
logger.error(ex, ex);
}
......
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