Small formatting thing.

This commit is contained in:
JesseBrault0709 2024-05-11 15:17:08 +02:00
parent 5b1a1bcdec
commit 0526b3ef6e

View File

@ -36,7 +36,7 @@ fun isAnyOf(subject: Char, vararg tests: Char): Boolean {
break break
} }
} }
logDebug ("subject: {}, tests: {}, result: {}", subject, tests, result) logDebug("subject: {}, tests: {}, result: {}", subject, tests, result)
return result return result
} }
@ -50,7 +50,7 @@ fun isAnyOf(subject: Int, vararg tests: Char): Boolean = isAnyOf(subject.toChar(
*/ */
fun canFollowJStringOpening(nextTwo: String): Boolean { fun canFollowJStringOpening(nextTwo: String): Boolean {
val result = nextTwo[0] != '\'' || nextTwo[1] != '\'' val result = nextTwo[0] != '\'' || nextTwo[1] != '\''
logDebug ("nextTwo: {}, result: {}", nextTwo, result) logDebug("nextTwo: {}, result: {}", nextTwo, result)
return result return result
} }
@ -62,7 +62,7 @@ fun canFollowJStringOpening(nextTwo: String): Boolean {
*/ */
fun canFollowGStringOpening(nextTwo: String): Boolean { fun canFollowGStringOpening(nextTwo: String): Boolean {
val result = nextTwo[0] != '"' || nextTwo[1] != '"' val result = nextTwo[0] != '"' || nextTwo[1] != '"'
logDebug ("nextTwo: {}, result: {}", nextTwo, result) logDebug("nextTwo: {}, result: {}", nextTwo, result)
return result return result
} }