Skip to content

Commit

Permalink
1.2.1 릴리즈
Browse files Browse the repository at this point in the history
변경 사항
LoginUser는 이제 abstract class가 아닌 open class입니다.
HeadText의 level과 selected는 이제 기본값을 가집니다.
DefaultHttpClient 생성자에 Javadoc 추가
  • Loading branch information
JellyBrick committed Oct 27, 2019
1 parent 35586ea commit dcd341c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
### Gradle

```
compile 'be.zvz:KotlinInside:1.2.0'
compile 'be.zvz:KotlinInside:1.2.1'
```

### Maven
Expand All @@ -16,7 +16,7 @@ compile 'be.zvz:KotlinInside:1.2.0'
<dependency>
<groupId>be.zvz</groupId>
<artifactId>KotlinInside</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
<type>pom</type>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/be/zvz/kotlininside/http/DefaultHttpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
public class DefaultHttpClient implements HttpInterface {
private boolean enableGzipCompression;

/**
* DefaultHttpClient의 constructor입니다.
*
* @param gzip GZIP 압축을 사용할 것인지 유무
*/
public DefaultHttpClient(boolean gzip) {
enableGzipCompression = gzip;
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/kotlin/be/zvz/kotlininside/api/type/HeadText.kt
Original file line number Diff line number Diff line change
@@ -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
)
6 changes: 3 additions & 3 deletions src/main/kotlin/be/zvz/kotlininside/session/user/LoginUser.kt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dcd341c

Please sign in to comment.