Skip to content

Commit 61486ed

Browse files
committed
Less deprecation
1 parent 79c1b67 commit 61486ed

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

chartLib/src/main/kotlin/info/appdev/charting/data/LineDataSet.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,9 @@ open class LineDataSet(yVals: MutableList<Entry>?, label: String = "") : LineRad
150150
mCubicIntensity = intensity
151151
}
152152

153-
@Suppress("OVERRIDE_DEPRECATION")
154153
override val isDrawCubicEnabled: Boolean
155154
get() = mLineDataSetMode == Mode.CUBIC_BEZIER
156155

157-
@Suppress("OVERRIDE_DEPRECATION")
158156
override val isDrawSteppedEnabled: Boolean
159157
get() = mLineDataSetMode == Mode.STEPPED
160158

chartLib/src/main/kotlin/info/appdev/charting/interfaces/datasets/ILineDataSet.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ interface ILineDataSet : ILineRadarDataSet<Entry> {
1717
*/
1818
var cubicIntensity: Float
1919

20-
@get:Deprecated("Use lineMode == Mode.CUBIC_BEZIER")
2120
val isDrawCubicEnabled: Boolean
2221

23-
@get:Deprecated("Use lineMode == Mode.== Mode.STEPPED")
2422
val isDrawSteppedEnabled: Boolean
2523

2624
/**

0 commit comments

Comments
 (0)