Minor, make Services#get return type nullable

This commit is contained in:
Alexander Udalov
2016-05-27 15:11:37 +03:00
parent 57849c9dfd
commit a95568eedf
2 changed files with 5 additions and 6 deletions
@@ -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)
}