Remove unnecessary constraint from filterIsInstance(Class<R>) signature #KT-6516 Fixed

This commit is contained in:
Ilya Ryzhenkov
2014-12-22 22:18:41 +03:00
parent 93326d8643
commit 071eb87f27
3 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -112,10 +112,10 @@ public val NodeList.outerHTML: String
get() = toList().map { it.innerHTML }.join("")
/** Returns an [[Iterator]] of all the next [[Element]] siblings */
public fun Node.nextElements(): List<Element> = nextSiblings().filterIsInstance<Node, Element>(javaClass<Element>())
public fun Node.nextElements(): List<Element> = nextSiblings().filterIsInstance(javaClass<Element>())
/** Returns an [[Iterator]] of all the previous [[Element]] siblings */
public fun Node.previousElements(): List<Element> = previousSiblings().filterIsInstance<Node, Element>(javaClass<Element>())
public fun Node.previousElements(): List<Element> = previousSiblings().filterIsInstance(javaClass<Element>())
public var Element.classSet: MutableSet<String>