From 84ec60ba3e08b8d4f9eb4f53cd7ed501bd863ebb Mon Sep 17 00:00:00 2001 From: Sergey Rostov Date: Tue, 16 Oct 2018 08:57:54 +0300 Subject: [PATCH] JPS, CacheAttributesManager: remove unused methods Original commit: 0d1f7965d4c30e559cde2c3f6439f848671e632a --- .../jps/incremental/CacheAttributesManager.kt | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/CacheAttributesManager.kt b/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/CacheAttributesManager.kt index 3aa1d3c8db9..a69669e9b15 100644 --- a/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/CacheAttributesManager.kt +++ b/jps/jps-plugin/src/org/jetbrains/kotlin/jps/incremental/CacheAttributesManager.kt @@ -44,19 +44,4 @@ interface CacheAttributesManager { fun CacheAttributesManager.loadDiff( actual: Attrs? = this.loadActual(), expected: Attrs? = this.expected -) = CacheAttributesDiff(this, actual, expected) - -fun CacheAttributesManager.loadAndCheckStatus() = - loadDiff().status - -/** - * This method is kept only for compatibility. - * Delete actual cache attributes values if it existed. - */ -@Deprecated( - message = "Consider using `this.loadDiff().saveExpectedIfNeeded()` and cache `loadDiff()` result.", - replaceWith = ReplaceWith("writeVersion(null)") -) -fun CacheAttributesManager<*>.clean() { - writeVersion(null) -} \ No newline at end of file +) = CacheAttributesDiff(this, actual, expected) \ No newline at end of file