Minor cleanup

This commit is contained in:
Erik C. Thauvin 2023-11-09 03:10:32 -08:00
parent b7037378bc
commit 5e8629c418
2 changed files with 6 additions and 6 deletions

View file

@ -341,7 +341,7 @@ public class CompileKotlinOperation extends AbstractOperation<CompileKotlinOpera
}
/**
* Provides the directory containing the Kotlin libraries (compiler, plugins, etc.) JARs.
* Provides the directory containing the Kotlin libraries (compiler, plugins, dokka, etc.) JARs.
*
* @param directory the directory location
* @return this class instance
@ -352,7 +352,7 @@ public class CompileKotlinOperation extends AbstractOperation<CompileKotlinOpera
}
/**
* Provides the directory containing the Kotlin libraries (compiler, plugins, etc.) JARs.
* Provides the directory containing the Kotlin libraries (compiler, plugins, dokka, etc.) JARs.
*
* @param directory the directory location
* @return this class instance

View file

@ -140,12 +140,12 @@ public class KaptOptions {
// apoptions
if (!apOptions_.isEmpty()) {
apOptions_.forEach(a -> {
apOptions_.forEach(o -> {
try {
args.add(PLUGIN_ID + "apoptions=" + encodeList(a));
args.add(PLUGIN_ID + "apoptions=" + encodeList(o));
} catch (IOException e) {
if (LOGGER.isLoggable(Level.WARNING)) {
LOGGER.log(Level.WARNING, "Could not encode application processor option.", e);
LOGGER.log(Level.WARNING, "Could not encode application processor option: " + o, e);
}
}
});
@ -173,7 +173,7 @@ public class KaptOptions {
args.add(PLUGIN_ID + "javacArguments=" + encodeList(a));
} catch (IOException e) {
if (LOGGER.isLoggable(Level.WARNING)) {
LOGGER.log(Level.WARNING, "Could not encode javac argument.", e);
LOGGER.log(Level.WARNING, "Could not encode javac argument: " + a, e);
}
}
});