Skip to content

Commit 41e5ee0

Browse files
authored
update code
增加空格占位
1 parent 2dd4b39 commit 41e5ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/src/main/java/com/haoge/easyandroid/easy/EasyFormatter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class EasyFormatter private constructor(private val builder: Builder) {
4141
fun formatWithArgs(message: String, vararg args:Any):String {
4242
val array = arrayOfNulls<String>(args.size)
4343
args.forEachIndexed { index, any -> array[index] = format(any) }
44-
return String.format("${message}%s", *array)
44+
return String.format("$message %s", *array)
4545
}
4646

4747
/**

0 commit comments

Comments
 (0)