Skip to content

Commit

Permalink
136: PitViewFinder
Browse files Browse the repository at this point in the history
Task-Url: #136
  • Loading branch information
LorenzoBettini committed Aug 28, 2022
1 parent b20bd56 commit e2ad258
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@
import org.pitest.pitclipse.ui.view.mutations.MutationsView;

import java.io.File;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicReference;

import static com.google.common.collect.Sets.newHashSet;

/**
* Singleton making easier to find Pitclipse views.
*/
Expand All @@ -48,7 +47,7 @@ public MissingViewException(Exception e) {
}

private static final class ViewSearch implements Runnable {
private static Set<String> initialisedViews = newHashSet();
private static Set<String> initialisedViews = new HashSet<>();
private final AtomicReference<IViewPart> viewRef = new AtomicReference<>();
private final String viewId;

Expand Down

0 comments on commit e2ad258

Please sign in to comment.