Skip to content

Commit

Permalink
Merge pull request #45 from renyuzhuo/master
Browse files Browse the repository at this point in the history
fix kotlin without tag bug
  • Loading branch information
ZhaoKaiQiang authored Mar 14, 2019
2 parents d8353fc + 1317cc9 commit 490b0b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/src/main/java/com/socks/library/KLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,11 @@ private static String getObjectsString(Object... objects) {
}
}
return stringBuilder.toString();
} else {
} else if (objects.length == 1){
Object object = objects[0];
return object == null ? NULL : object.toString();
} else {
return NULL;
}
}

Expand Down

0 comments on commit 490b0b5

Please sign in to comment.