style: correctly format assignment

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
This commit is contained in:
FineFindus 2024-03-13 21:29:44 +01:00 committed by GitHub
parent 9f30df1f80
commit 345828bdd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,7 @@ public class SponsorBlockUtils {
for (String apiUrl : Constants.SPONSORBLOCK_SERVERS) { for (String apiUrl : Constants.SPONSORBLOCK_SERVERS) {
try { try {
String url = apiUrl + "/api/skipSegments/" + URLUtils.silentEncode(hash.substring(0, 4)) String url = apiUrl + "/api/skipSegments/" + URLUtils.silentEncode(hash.substring(0, 4))
+ "?categories=" + URLUtils.silentEncode(categories); + "?categories=" + URLUtils.silentEncode(categories);
if (actionType != null && !actionType.isBlank()) if (actionType != null && !actionType.isBlank())
url += "&actionTypes=" + URLUtils.silentEncode(actionType); url += "&actionTypes=" + URLUtils.silentEncode(actionType);