Skip to content

Commit

Permalink
fix kotlin without tag bug
Browse files Browse the repository at this point in the history
  • Loading branch information
renyuzhuo committed May 28, 2018
1 parent d8353fc commit 1317cc9
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 1317cc9

Please sign in to comment.