Skip to content

Commit 0579f26

Browse files
committed
Update new version change log and error dialog tips
1 parent 993367d commit 0579f26

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'kotlin'
2020
apply plugin: 'org.jetbrains.intellij'
2121

2222
group 'wu.seal'
23-
version '2.2.0.1-eap'
23+
version '2.2.0'
2424

2525
intellij {
2626
version '2017.1'

src/main/kotlin/wu/seal/jsontokotlin/feedback/ExceptionHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ fun dealWithException(jsonString: String, e: Throwable) {
4949
jsonString1 = "User keep private about JSON text"
5050
}
5151
getUncaughtExceptionHandler(jsonString1) {
52-
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")
52+
Messages.showErrorDialog("I am sorry,JsonToKotlinClass may occur a RuntimeException,\nYou could try again after update to the latest version,\nOr you could post an issue here:\nhttps://github.com/wuseal/JsonToKotlinClass\nWe will fixed it soon!", "Occur a fatal error")
5353
}.uncaughtException(Thread.currentThread(), e)
5454
}

src/main/resources/META-INF/plugin.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<br>Generating Kotlin data class as inner classes</br>
2222
<br>Formatting any legal JSON string</br>
2323
<br>Generating Map Type when json key is primitive type</br>
24+
<br>Only create annotation when needed</br>
25+
<br>Custom define data class parent class</br>
2426
<br></br>
2527
2628
<em>kotlin</em>
@@ -38,9 +40,8 @@
3840

3941

4042
<change-notes><![CDATA[
43+
<br>Add support parent class declaration</br>
4144
<br>Fixed bugs</br>
42-
<br>Add support for generate kotlin class code from network json api</br>
43-
<br>Add Only create annotation if need option in other tab</br>
4445
]]>
4546
</change-notes>
4647

0 commit comments

Comments
 (0)