Cleanup: fix some compiler warnings (mostly deprecations, javaClass)

Original commit: b121bf8802
This commit is contained in:
Mikhail Glukhikh
2017-02-21 17:38:43 +03:00
parent 2c4f3c059d
commit f307821704
3 changed files with 4 additions and 4 deletions
@@ -37,7 +37,7 @@ abstract class AbstractLookupTrackerTest : AbstractIncrementalJpsTest(
val COMMENT_WITH_LOOKUP_INFO = "/\\*[^*]+\\*/".toRegex()
override fun checkLookups(lookupTracker: LookupTracker, compiledFiles: Set<File>) {
if (lookupTracker !is TestLookupTracker) throw AssertionError("Expected TestLookupTracker, but: ${lookupTracker.javaClass}")
if (lookupTracker !is TestLookupTracker) throw AssertionError("Expected TestLookupTracker, but: ${lookupTracker::class.java}")
val fileToLookups = lookupTracker.lookups.groupBy { it.filePath }