Showing 2 of 4 total issues
Method invalidate
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
override fun invalidate() {
val oldRelationList = relation.toList()
relation.clear()
relation.addAll(createRelation())
val newRelationList = relation.toList()
Method invalidate
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
override fun invalidate() {
val newList = parent.map(transformation)
if (newList.isEmpty()) {
val elements = backingField.toList()