Skip to content

Commit

Permalink
related to multiple instancess warning, updates #17
Browse files Browse the repository at this point in the history
  • Loading branch information
SerLap authored and jsnel committed Feb 13, 2015
1 parent 68586aa commit af9f09a
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

public final class OpenDataset extends CookieAction {

static OpenDataset instance;
//static OpenDataset instance;
private static final long serialVersionUID = 1;
private Collection<? extends TGDatasetInterface> services;
private TGProject project;
Expand All @@ -40,12 +40,12 @@ public OpenDataset() {
super();
}

public OpenDataset getInstance() {
if (instance == null) {
instance = new OpenDataset();
}
return instance;
}
// public OpenDataset getInstance() {
// if (instance == null) {
// instance = new OpenDataset();
// }
// return instance;
// }

@Override
protected void performAction(Node[] activatedNodes) {
Expand Down

0 comments on commit af9f09a

Please sign in to comment.