Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
Fix unused caller reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Rauks committed Nov 22, 2013
1 parent 2a01ba8 commit ccba802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void handle(WorkerStateEvent t) {
BigBrotherGuiController.this.bottomMessage.setText("Exploration incomplète : Certaines classes n'ont pas pu être chargées.");
}

TreeViewTask accordionBuilder = new TreeViewTask(BigBrotherGuiController.this, scanner.getClasses(), scanner.getJarName());
TreeViewTask accordionBuilder = new TreeViewTask(scanner.getClasses(), scanner.getJarName());
accordionBuilder.setOnSucceeded(new EventHandler<WorkerStateEvent>() {
@Override
public void handle(WorkerStateEvent t) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@
*/
public class TreeViewTask extends Task<TreeItem<TreeNode>>{
private final List<ObservableClass> classes;
private final BigBrotherGuiController caller;
private final TreeItem<TreeNode> root;

private final HashMap<String, TreeItem<TreeNode>> nodesDictionary = new HashMap<>();

public TreeViewTask(BigBrotherGuiController caller, List<ObservableClass> classes, String rootName) {
public TreeViewTask(List<ObservableClass> classes, String rootName) {
this.classes = classes;
this.caller = caller;
this.root = new TreeItem<>(new TreeNode(rootName));
}

Expand Down

0 comments on commit ccba802

Please sign in to comment.