You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val yes =Messages.showYesNoDialog("Some thing execute wrong.\nAgree with publishing your JSON text to help us to solve the problem?", "Excuse me", Messages.getQuestionIcon())
84
+
if (yes !=Messages.YES) {
85
+
jsonString ="User keep private about JSON text"
86
+
}
81
87
getUncaughtExceptionHandler(jsonString) {
82
-
Messages.showErrorDialog("I am sorry,JsonToKotlinClass may occur a RuntimeException,\nYou could try again later or recover to the old version,\nOr you could post an issue here:\nhttps://github.com/wuseal/JsonToKotlinClass", "Occur a fatal error")
88
+
Messages.showErrorDialog("I am sorry,JsonToKotlinClass may occur a RuntimeException,\nYou could try again later or recover to the old version,\nOr you could post an issue here:\nhttps://github.com/wuseal/JsonToKotlinClass\nWe will fixed it soon!", "Occur a fatal error")
val pattern ="${wu.seal.jsontokotlin.codeelements.KClassName.illegalCharacter}".replace(Regex(wu.seal.jsontokotlin.codeelements.KClassName.nameSeparator.toString()), "")
31
+
val pattern ="$illegalCharacter".replace(Regex(nameSeparator.toString()), "")
33
32
34
33
val temp = rawClassName.replace(Regex(pattern), "").let {
val pattern ="${wu.seal.jsontokotlin.codeelements.KPropertyName.illegalCharacter}".replace(Regex(wu.seal.jsontokotlin.codeelements.KPropertyName.nameSeparator.toString()), "")
57
+
val pattern ="${illegalCharacter}".replace(Regex(nameSeparator.toString()), "")
64
58
65
59
val temp = rawString.replace(Regex(pattern), "").let {
0 commit comments