Skip to content

Commit 1f78bc4

Browse files
authored
Merge branch 'master' into master
2 parents 05232d3 + 7d842bf commit 1f78bc4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

build.gradle

Lines changed: 2 additions & 3 deletions
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 '3.4.0'
23+
version '3.4.1'
2424

2525
intellij {
2626
version '2017.1'
@@ -32,8 +32,7 @@ patchPluginXml {
3232
}
3333

3434
publishPlugin {
35-
username System.getenv('username')
36-
password System.getenv('password')
35+
token System.getenv('token')
3736
channels System.getProperty('channels', "")
3837
}
3938

src/main/kotlin/wu/seal/jsontokotlin/interceptor/MinimalAnnotationKotlinDataClassInterceptor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class MinimalAnnotationKotlinDataClassInterceptor : IKotlinDataClassInterceptor
1212
override fun intercept(kotlinDataClass: KotlinDataClass): KotlinDataClass {
1313
val newProperties = kotlinDataClass.properties.map { p ->
1414
if (p.originName == p.name) {
15-
p.copy(annotations = p.annotations.filter { it.rawName.isBlank() })
15+
p.copy(annotations = p.annotations.filter { it.rawName.isEmpty() })
1616
} else {
1717
p
1818
}

0 commit comments

Comments
 (0)