2 new enums
This commit is contained in:
parent
98df733257
commit
b39caeb04d
@ -19,6 +19,7 @@ import org.commonmark.node.CustomBlock
|
|||||||
|
|
||||||
class DisplayMaths(private val delimiter: DisplayDelimiter) : CustomBlock() {
|
class DisplayMaths(private val delimiter: DisplayDelimiter) : CustomBlock() {
|
||||||
enum class DisplayDelimiter {
|
enum class DisplayDelimiter {
|
||||||
DOUBLE_DOLLAR, SQUARE_BRACKET_ESCAPED
|
DOUBLE_DOLLAR,
|
||||||
|
SQUARE_BRACKET_ESCAPED
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,8 @@ import org.commonmark.node.Delimited
|
|||||||
|
|
||||||
class InlineMaths(private val delimiter: InlineDelimiter) : CustomNode(), Delimited {
|
class InlineMaths(private val delimiter: InlineDelimiter) : CustomNode(), Delimited {
|
||||||
enum class InlineDelimiter {
|
enum class InlineDelimiter {
|
||||||
SINGLE_DOLLAR, ROUND_BRACKET_ESCAPED
|
SINGLE_DOLLAR,
|
||||||
|
ROUND_BRACKET_ESCAPED
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getOpeningDelimiter(): String {
|
override fun getOpeningDelimiter(): String {
|
||||||
|
@ -160,7 +160,7 @@ Formatter\.formatShortFileSize===1
|
|||||||
# android\.text\.TextUtils
|
# android\.text\.TextUtils
|
||||||
|
|
||||||
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
|
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
|
||||||
enum class===114
|
enum class===116
|
||||||
|
|
||||||
### Do not import temporary legacy classes
|
### Do not import temporary legacy classes
|
||||||
import org.matrix.android.sdk.internal.legacy.riot===3
|
import org.matrix.android.sdk.internal.legacy.riot===3
|
||||||
|
Loading…
Reference in New Issue
Block a user