Changing default nullability for type arguments to NotNull
This commit is contained in:
@@ -29,9 +29,9 @@ class AnnotationsPathBuilder(val parent: ModuleBuilder) {
|
||||
|
||||
open class ModuleBuilder(val name: String): Module {
|
||||
// http://youtrack.jetbrains.net/issue/KT-904
|
||||
private val sourceFiles0: ArrayList<String?> = ArrayList<String?>()
|
||||
private val classpathRoots0: ArrayList<String?> = ArrayList<String?>()
|
||||
private val annotationsRoots0: ArrayList<String?> = ArrayList<String?>()
|
||||
private val sourceFiles0 = ArrayList<String>()
|
||||
private val classpathRoots0 = ArrayList<String>()
|
||||
private val annotationsRoots0 = ArrayList<String>()
|
||||
|
||||
val sources: SourcesBuilder
|
||||
get() = SourcesBuilder(this)
|
||||
@@ -54,9 +54,9 @@ open class ModuleBuilder(val name: String): Module {
|
||||
annotationsRoots0.add(name)
|
||||
}
|
||||
|
||||
public override fun getSourceFiles(): MutableList<String?>? = sourceFiles0
|
||||
public override fun getClasspathRoots(): MutableList<String?>? = classpathRoots0
|
||||
public override fun getAnnotationsRoots(): MutableList<String?>? = annotationsRoots0
|
||||
public override fun getModuleName(): String? = name
|
||||
public override fun getSourceFiles(): List<String> = sourceFiles0
|
||||
public override fun getClasspathRoots(): List<String> = classpathRoots0
|
||||
public override fun getAnnotationsRoots(): List<String> = annotationsRoots0
|
||||
public override fun getModuleName(): String = name
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user