diff --git a/README.md b/README.md index d600d308..122bf061 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ### Gradle ``` -compile 'be.zvz:KotlinInside:1.2.0' +compile 'be.zvz:KotlinInside:1.2.1' ``` ### Maven @@ -16,7 +16,7 @@ compile 'be.zvz:KotlinInside:1.2.0' be.zvz KotlinInside - 1.2.0 + 1.2.1 pom ``` diff --git a/build.gradle b/build.gradle index ddabf21a..a9c5638a 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: 'com.jfrog.bintray' apply plugin: 'com.github.dcendents.android-maven' def libName = 'KotlinInside' -def libVersion = '1.2.0' +def libVersion = '1.2.1' def libDesc = 'Unofficial DCInside API written in Kotlin' group = 'be.zvz' diff --git a/src/main/java/be/zvz/kotlininside/http/DefaultHttpClient.java b/src/main/java/be/zvz/kotlininside/http/DefaultHttpClient.java index 20d62152..bf7a493f 100644 --- a/src/main/java/be/zvz/kotlininside/http/DefaultHttpClient.java +++ b/src/main/java/be/zvz/kotlininside/http/DefaultHttpClient.java @@ -14,6 +14,11 @@ public class DefaultHttpClient implements HttpInterface { private boolean enableGzipCompression; + /** + * DefaultHttpClient의 constructor입니다. + * + * @param gzip GZIP 압축을 사용할 것인지 유무 + */ public DefaultHttpClient(boolean gzip) { enableGzipCompression = gzip; } diff --git a/src/main/kotlin/be/zvz/kotlininside/api/type/HeadText.kt b/src/main/kotlin/be/zvz/kotlininside/api/type/HeadText.kt index 99af3dc1..d9e540cf 100644 --- a/src/main/kotlin/be/zvz/kotlininside/api/type/HeadText.kt +++ b/src/main/kotlin/be/zvz/kotlininside/api/type/HeadText.kt @@ -1,8 +1,8 @@ package be.zvz.kotlininside.api.type -data class HeadText( - val identifier: Int, - val name: String, - val level: Int, - val selected: Boolean +data class HeadText @JvmOverloads constructor( + val identifier: Int, + val name: String, + val level: Int = 0, + val selected: Boolean = false ) \ No newline at end of file diff --git a/src/main/kotlin/be/zvz/kotlininside/session/user/LoginUser.kt b/src/main/kotlin/be/zvz/kotlininside/session/user/LoginUser.kt index 3565b8c3..b755694d 100644 --- a/src/main/kotlin/be/zvz/kotlininside/session/user/LoginUser.kt +++ b/src/main/kotlin/be/zvz/kotlininside/session/user/LoginUser.kt @@ -1,6 +1,6 @@ package be.zvz.kotlininside.session.user -abstract class LoginUser( - override val id: String, - override val password: String +open class LoginUser( + override val id: String, + override val password: String ) : User \ No newline at end of file