minor (put line breaks)

This commit is contained in:
frajibe 2023-01-07 15:24:06 +01:00
parent 67681d5036
commit 27d14f7141

View file

@ -284,6 +284,7 @@ public class AuthPlaylistHandlers {
} }
public static byte[] removeFromPlaylistResponse(String session, String playlistId, int index) throws IOException { public static byte[] removeFromPlaylistResponse(String session, String playlistId, int index) throws IOException {
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId)) if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters")); ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters"));
@ -318,6 +319,7 @@ public class AuthPlaylistHandlers {
} }
public static byte[] clearPlaylistResponse(String session, String playlistId) throws IOException { public static byte[] clearPlaylistResponse(String session, String playlistId) throws IOException {
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId)) if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters")); ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters"));