Minor, make Services#get return type nullable
This commit is contained in:
@@ -222,7 +222,6 @@ class K2JVMCompiler : CLICompiler<K2JVMCompilerArguments>() {
|
||||
) {
|
||||
if (IncrementalCompilation.isEnabled()) {
|
||||
val components = services.get(IncrementalCompilationComponents::class.java)
|
||||
@Suppress("SENSELESS_COMPARISON")
|
||||
if (components != null) {
|
||||
configuration.put(JVMConfigurationKeys.INCREMENTAL_COMPILATION_COMPONENTS, components)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user