Configuration: Check that project-level common arguments are not changed through platform-specific holders

This commit is contained in:
Alexey Sedunov
2017-03-13 20:23:15 +03:00
parent ce434585e3
commit 5c55b9fbbe
13 changed files with 62 additions and 23 deletions
@@ -89,7 +89,7 @@ private fun Any.copyValueIfNeeded(): Any {
}
}
private fun collectFieldsToCopy(clazz: Class<*>, inheritedOnly: Boolean): List<Field> {
fun collectFieldsToCopy(clazz: Class<*>, inheritedOnly: Boolean): List<Field> {
val fromFields = ArrayList<Field>()
var currentClass: Class<*>? = if (inheritedOnly) clazz.superclass else clazz