|
So... Just trying to understand how this thing work. @iscle asked the question and I marking it as the correct answer even if the answer is my comment to his question. |
Answered by
iscle
Jan 7, 2021
Replies: 1 comment 2 replies
|
Hi! This section is great. I was reading through the code, and I can't see what the difference between Utils.split and String.split functions is. The Utils.split function is here: https://github.com/librespot-org/librespot-java/blob/master/lib/src/main/java/xyz/gianlu/librespot/common/Utils.java#L133 I'm wondering if it has a special feature not present in the String.split function, or it's just an old piece of code that has sticked... Thanks! |
2 replies
Answer selected by
devgianlu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
This section is great.
I was reading through the code, and I can't see what the difference between Utils.split and String.split functions is.
The Utils.split function is here: https://github.com/librespot-org/librespot-java/blob/master/lib/src/main/java/xyz/gianlu/librespot/common/Utils.java#L133
I'm wondering if it has a special feature not present in the String.split function, or it's just an old piece of code that has sticked...
Thanks!