Make default value for -Xjsr305 flag to be WARN
This commit is contained in:
@@ -26,11 +26,11 @@ enum class Jsr305State(
|
||||
|
||||
companion object {
|
||||
@JvmField
|
||||
val DEFAULT: Jsr305State = IGNORE
|
||||
val DEFAULT: Jsr305State = WARN
|
||||
|
||||
fun findByDescription(description: String?) = values().firstOrNull { it.description == description }
|
||||
}
|
||||
|
||||
fun isIgnored(): Boolean = this == IGNORE
|
||||
fun isWarning(): Boolean = this == WARN
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user