Won't have a practical impact, but Lint is happy
Details
Details
- Reviewers
mtijink - Group Reviewers
KDE Connect - Commits
- R225:679b163bd5bc: Clean up CustomDevicesActivity
Add entries to ip list
Diff Detail
Diff Detail
- Repository
- R225 KDE Connect - Android application
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/org/kde/kdeconnect/UserInterface/CustomDevicesActivity.java | ||
---|---|---|
157–158 | The whole list can be joined using String.join() |
Comment Actions
String.join() requires Java 8. I bumped the requirement, but I'm not sure if there could be side effects
Comment Actions
I don't think that's a good idea (see https://developer.android.com/studio/write/java8-support.html). But apparently there's also TextUtils.join (see https://stackoverflow.com/questions/33802971/alternative-for-string-join-in-android).