File tree Expand file tree Collapse file tree
plugin-core/src/main/java/com/salesforce/bazel/eclipse/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,11 +102,6 @@ public class BazelEclipseProjectFactory {
102102 static final String STANDARD_VM_CONTAINER_PREFIX = "org.eclipse.jdt.launching.JRE_CONTAINER/"
103103 + "org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-" ;
104104
105- /**
106- * Alternate code path that we no longer use, but retained for possible future use.
107- */
108- private static final boolean PRECOMPUTE_ALL_ASPECTS_FOR_WORKSPACE = true ;
109-
110105 // signals that we are in a delicate bootstrapping operation
111106 public static AtomicBoolean importInProgress = new AtomicBoolean (false );
112107
@@ -161,12 +156,10 @@ public static List<IProject> importWorkspace(BazelPackageLocation bazelWorkspace
161156 List <IProject > importedProjectsList = new ArrayList <>();
162157 importedProjectsList .add (rootEclipseProject );
163158
164- // see the method level comment about this option (currently disabled)
159+ // computes all the aspects (data from Bazel's dependency graph) all in one go
165160 AspectTargetInfos aspects = null ;
166161 startTimeMS = System .currentTimeMillis ();
167- if (PRECOMPUTE_ALL_ASPECTS_FOR_WORKSPACE ) {
168- aspects = precomputeBazelAspectsForWorkspace (rootEclipseProject , selectedBazelPackages , progressMonitor );
169- }
162+ aspects = precomputeBazelAspectsForWorkspace (rootEclipseProject , selectedBazelPackages , progressMonitor );
170163 SimplePerfRecorder .addTime ("import_computeaspects" , startTimeMS );
171164
172165 startTimeMS = System .currentTimeMillis ();
You can’t perform that action at this time.
0 commit comments