Skip to content

Commit 32eadc2

Browse files
committed
nit
1 parent 67f11fa commit 32eadc2

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/main/java/scala_maven/ScalaMojoSupport.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public Context findScalaContext() throws Exception {
221221
VersionNumber scalaVersion = findScalaVersion();
222222

223223
ArtifactIds aids =
224-
(scalaVersion.major == 3)
224+
scalaVersion.major == 3
225225
? new ArtifactIds4Scala3(scalaVersion)
226226
: new ArtifactIds4Scala2();
227227
VersionNumber requiredScalaVersion =
@@ -467,20 +467,15 @@ private DependencyNodeFilter createScalaDistroDependencyFilter() throws Exceptio
467467

468468
protected abstract void doExecute() throws Exception;
469469

470-
// abstract JavaMainCaller getScalaCommand() throws Exception {
471-
// Context sc = findScalaContext();
472-
// return getScalaCommand(fork, scalaClassName);
473-
// }
474-
475470
/**
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
477472
* Scala utilities (Compiler, ScalaDoc, REPL, etc.).
478473
*
479474
* <p>This method does some setup on the {@link JavaMainCaller} which is not done by merely
480475
* invoking {@code new} on one of the implementations. Specifically, it adds any Scala compiler
481476
* plugin options, JVM options, and Scalac options defined on the plugin.
482477
*
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
484479
* if you are invoking the REPL.
485480
* @param mainClass the JVM main class to invoke.
486481
* @return a {@link JavaMainCaller} to use to invoke the given command.

0 commit comments

Comments
 (0)