Skip to content

Commit

Permalink
1.2.3 릴리즈 - 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed Oct 29, 2019
1 parent b6a2301 commit 5308247
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions 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.2'
def libVersion = '1.2.3'
def libDesc = 'Unofficial DCInside API written in Kotlin'

group = 'be.zvz'
Expand All @@ -30,10 +30,8 @@ repositories {
jcenter()
}

ext {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7

dependencies {
implementation group: 'commons-codec', name: 'commons-codec', version: '1.13'
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/be/zvz/kotlininside/http/HttpRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1421,14 +1421,14 @@ public static void nonProxyHosts(final String... hosts) {
private static String setProperty(final String name, final String value) {
final PrivilegedAction<String> action;
if (value != null)
action = new PrivilegedAction<>() {
action = new PrivilegedAction<String>() {

public String run() {
return System.setProperty(name, value);
}
};
else
action = new PrivilegedAction<>() {
action = new PrivilegedAction<String>() {

public String run() {
return System.clearProperty(name);
Expand Down Expand Up @@ -3263,4 +3263,4 @@ public HttpRequest followRedirects(final boolean followRedirects) {
getConnection().setInstanceFollowRedirects(followRedirects);
return this;
}
}
}
2 changes: 1 addition & 1 deletion src/main/java/be/zvz/kotlininside/value/ApiUrl.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class ApiUrl {
public static final class Article {
public static final String LIST = APP_API + "gall_list_new.php";
public static final String READ = APP_API + "gall_view_new.php";
public static final String WRITE = "http://upload.dcinside.com/_app_write_api.php";
public static final String WRITE = "https://upload.dcinside.com/_app_write_api.php";
public static final String DELETE = APP_API + "gall_del.php";

public static final String UPVOTE = APP_API + "_recommend_up.php";
Expand Down

0 comments on commit 5308247

Please sign in to comment.