Skip to content

Commit

Permalink
refactor: 사용되지 않는 메서드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed Feb 27, 2024
1 parent 3750802 commit 02f1bbd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/kotlin/com/petqua/domain/product/option/Sex.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ enum class Sex(
HERMAPHRODITE("자웅동체"),
;

fun isLogical(other: Sex): Boolean {
return this != HERMAPHRODITE
}

companion object {
fun from(name: String): Sex {
return enumValues<Sex>().find { it.name == name.uppercase(Locale.ENGLISH) }
Expand Down

0 comments on commit 02f1bbd

Please sign in to comment.