Skip to content

Commit

Permalink
[kotlin/all] Rename variable fooMutableDate to fooMutableData (#2688) (
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonajt authored and vendethiel committed Mar 24, 2017
1 parent 29f41f2 commit c1d773e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions es-es/kotlin-es.html.markdown
Expand Up @@ -185,13 +185,13 @@ fun main(args: Array<String>) {

// La función "with" es similar a la expresión de JavaScript "with".
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
val fooMutableDate = MutableDataClassExample(7, 4, 9)
with (fooMutableDate) {
val fooMutableData = MutableDataClassExample(7, 4, 9)
with (fooMutableData) {
x -= 2
y += 2
z--
}
println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)

/*
Podemos crear una lista utilizando la función "listOf".
Expand Down
6 changes: 3 additions & 3 deletions ko-kr/kotlin-kr.html.markdown
Expand Up @@ -186,13 +186,13 @@ fun helloWorld(val name : String) {

// "with" 함수는 JavaScript 의 "with" 구문과 비슷하게 사용됩니다.
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
val fooMutableDate = MutableDataClassExample(7, 4, 9)
with (fooMutableDate) {
val fooMutableData = MutableDataClassExample(7, 4, 9)
with (fooMutableData) {
x -= 2
y += 2
z--
}
println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)

/*
"listOf" 함수로 리스트를 만들 수 있습니다.
Expand Down
6 changes: 3 additions & 3 deletions kotlin.html.markdown
Expand Up @@ -189,13 +189,13 @@ fun helloWorld(val name : String) {

// The "with" function is similar to the JavaScript "with" statement.
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
val fooMutableDate = MutableDataClassExample(7, 4, 9)
with (fooMutableDate) {
val fooMutableData = MutableDataClassExample(7, 4, 9)
with (fooMutableData) {
x -= 2
y += 2
z--
}
println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)

/*
We can create a list using the "listOf" function.
Expand Down
6 changes: 3 additions & 3 deletions zh-cn/kotlin-cn.html.markdown
Expand Up @@ -178,13 +178,13 @@ fun helloWorld(val name : String) {

// "with"函数类似于JavaScript中的"with"用法。
data class MutableDataClassExample (var x: Int, var y: Int, var z: Int)
val fooMutableDate = MutableDataClassExample(7, 4, 9)
with (fooMutableDate) {
val fooMutableData = MutableDataClassExample(7, 4, 9)
with (fooMutableData) {
x -= 2
y += 2
z--
}
println(fooMutableDate) // => MutableDataClassExample(x=5, y=6, z=8)
println(fooMutableData) // => MutableDataClassExample(x=5, y=6, z=8)

/*
我们可以使用"listOf"函数来创建一个list。
Expand Down

0 comments on commit c1d773e

Please sign in to comment.