Skip to content

Commit b8a4c71

Browse files
committed
fixes
1 parent b5e6f98 commit b8a4c71

File tree

35 files changed

+11
-378
lines changed
  • aliasServer
  • wordsGeneratorServer
    • wordsGeneratorServerFinishGame/src/main/kotlin/jetbrains/kotlin/course/words/generator/util
    • wordsGeneratorServerHowToRun/src/main/kotlin/jetbrains/kotlin/course/words/generator/util
    • wordsGeneratorServerIntroduction/src/main/kotlin/jetbrains/kotlin/course/words/generator/util
    • wordsGeneratorServerTeamService/src/main/kotlin/jetbrains/kotlin/course/words/generator
    • wordsGeneratorServerTeams/src/main/kotlin/jetbrains/kotlin/course/words/generator/util
    • wordsGeneratorServerWord/src/main/kotlin/jetbrains/kotlin/course/words/generator/util
    • wordsGeneratorServerWordService/src/main/kotlin/jetbrains/kotlin/course/words/generator/util

35 files changed

+11
-378
lines changed

aliasServer/aliasServerAnnotationsValueClasses/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerAnnotationsValueClasses/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerCard/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerCardService/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-12
This file was deleted.

aliasServer/aliasServerClasses/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerClasses/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerCompanionObject/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerCompanionObject/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerConstantsExtensionFunctions/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerDataClasses/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerDataClasses/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerFinishGame/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-21
This file was deleted.

aliasServer/aliasServerHowToRun/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerHowToRun/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerIntroduction/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerIntroduction/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerMutableList/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-12
This file was deleted.

aliasServer/aliasServerMutableMap/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerMutableMap/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerPackages/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerPackages/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerTeamService/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerTeamService/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerTeams/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

aliasServer/aliasServerTeams/src/main/kotlin/jetbrains/kotlin/course/alias/util/Converters.kt

-6
This file was deleted.

aliasServer/aliasServerUtil/src/main/kotlin/jetbrains/kotlin/course/alias/card/JsCard.kt

+1-19
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,4 @@ package jetbrains.kotlin.course.alias.card
33
data class JsCard(
44
val id: Int,
55
val words: Array<String>
6-
) {
7-
override fun equals(other: Any?): Boolean {
8-
if (this === other) return true
9-
if (javaClass != other?.javaClass) return false
10-
11-
other as JsCard
12-
13-
if (id != other.id) return false
14-
if (!words.contentEquals(other.words)) return false
15-
16-
return true
17-
}
18-
19-
override fun hashCode(): Int {
20-
var result = id
21-
result = 31 * result + words.contentHashCode()
22-
return result
23-
}
24-
}
6+
)

0 commit comments

Comments
 (0)