Skip to content

Commit

Permalink
Merge pull request Kotlin#61 from klingel/improve-method-arg-naming-f…
Browse files Browse the repository at this point in the history
…or-39

Improve `getCellColor` naming of arguments
  • Loading branch information
svtk authored Jun 20, 2016
2 parents 5c28efe + 6ff2baa commit 86cba7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v_builders/_39_HtmlBuilders.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import v_builders.data.getProducts
import v_builders.htmlLibrary.*

fun getTitleColor() = "#b9c9fe"
fun getCellColor(index: Int, row: Int) = if ((index + row) %2 == 0) "#dce4ff" else "#eff2ff"
fun getCellColor(row: Int, column: Int) = if ((row + column) %2 == 0) "#dce4ff" else "#eff2ff"

fun todoTask39(): Nothing = TODO(
"""
Expand Down

0 comments on commit 86cba7a

Please sign in to comment.