Skip to content

Commit

Permalink
Fix suppress statement
Browse files Browse the repository at this point in the history
  • Loading branch information
andycate committed Mar 1, 2019
1 parent d79c6ca commit bff91f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/team5499/dashboard/StringChooser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package org.team5499.dashboard
import org.json.JSONObject
import org.json.JSONArray

@Suppress("SpreadOperator")
class StringChooser(val dashboardName: String, val default: String, vararg initialOptions: String) : DashboardType {
public var options: MutableList<String>
public var selected: String
Expand All @@ -13,7 +14,6 @@ class StringChooser(val dashboardName: String, val default: String, vararg initi
Dashboard.setVariable(dashboardName, getBroadcastObject(value))
}

@Suppress("SpreadOperator")
init {
options = mutableListOf(*initialOptions)
selected = default
Expand Down

0 comments on commit bff91f0

Please sign in to comment.