@@ -221,7 +221,7 @@ public Context findScalaContext() throws Exception {
221
221
VersionNumber scalaVersion = findScalaVersion ();
222
222
223
223
ArtifactIds aids =
224
- ( scalaVersion .major == 3 )
224
+ scalaVersion .major == 3
225
225
? new ArtifactIds4Scala3 (scalaVersion )
226
226
: new ArtifactIds4Scala2 ();
227
227
VersionNumber requiredScalaVersion =
@@ -467,20 +467,15 @@ private DependencyNodeFilter createScalaDistroDependencyFilter() throws Exceptio
467
467
468
468
protected abstract void doExecute () throws Exception ;
469
469
470
- // abstract JavaMainCaller getScalaCommand() throws Exception {
471
- // Context sc = findScalaContext();
472
- // return getScalaCommand(fork, scalaClassName);
473
- // }
474
-
475
470
/**
476
- * Get a {@link JavaMainCaller} used invoke a Java process. Typically this will be one of the
471
+ * Get a {@link JavaMainCaller} used invoke a Java process. Typically, this will be one of the
477
472
* Scala utilities (Compiler, ScalaDoc, REPL, etc.).
478
473
*
479
474
* <p>This method does some setup on the {@link JavaMainCaller} which is not done by merely
480
475
* invoking {@code new} on one of the implementations. Specifically, it adds any Scala compiler
481
476
* plugin options, JVM options, and Scalac options defined on the plugin.
482
477
*
483
- * @param forkOverride override the setting for {@link #fork}. Currently this should only be set
478
+ * @param forkOverride override the setting for {@link #fork}. Currently, this should only be set
484
479
* if you are invoking the REPL.
485
480
* @param mainClass the JVM main class to invoke.
486
481
* @return a {@link JavaMainCaller} to use to invoke the given command.
0 commit comments