@@ -40,7 +40,7 @@ public List<Boolean> hasSavedAlbums(List<String> listOfAlbumIds) {
4040
4141 try {
4242 logger .info ("Executing HTTP call to check saved albums." );
43- logger .debug (String . format ( "Checking albums with following album ids: %s ." , albumIds ) );
43+ logger .debug ("Checking albums with following album ids: {} ." , albumIds );
4444 LoggingUtil .logHttpCall (logger , httpCall );
4545 Response <List <Boolean >> response = httpCall .execute ();
4646
@@ -63,7 +63,7 @@ public List<Boolean> hasSavedShows(List<String> listOfShowIds) {
6363
6464 try {
6565 logger .info ("Executing HTTP call to check saved shows." );
66- logger .debug (String . format ( "Checking shows with following show ids: %s ." , showIds ) );
66+ logger .debug ("Checking shows with following show ids: {} ." , showIds );
6767 LoggingUtil .logHttpCall (logger , httpCall );
6868 Response <List <Boolean >> response = httpCall .execute ();
6969
@@ -86,7 +86,7 @@ public List<Boolean> hasSavedTracks(List<String> listOfTrackIds) {
8686
8787 try {
8888 logger .info ("Executing HTTP call to check saved tracks." );
89- logger .debug (String . format ( "Checking tracks with following track ids: %s ." , trackIds ) );
89+ logger .debug ("Checking tracks with following track ids: {} ." , trackIds );
9090 LoggingUtil .logHttpCall (logger , httpCall );
9191 Response <List <Boolean >> response = httpCall .execute ();
9292
@@ -109,7 +109,7 @@ public Paging<SavedAlbumFull> getSavedAlbums(Map<String, String> options) {
109109
110110 try {
111111 logger .info ("Executing HTTP call to fetch current user saved albums" );
112- logger .debug (String . format ( "Fetching current user saved albums with the following values: %s ." , options ) );
112+ logger .debug ("Fetching current user saved albums with the following values: {} ." , options );
113113 LoggingUtil .logHttpCall (logger , httpCall );
114114 Response <Paging <SavedAlbumFull >> response = httpCall .execute ();
115115
@@ -132,7 +132,7 @@ public Paging<SavedShowSimplified> getSavedShows(Map<String, String> options) {
132132
133133 try {
134134 logger .info ("Executing HTTP call to fetch current user saved shows" );
135- logger .debug (String . format ( "Fetching current user saved shows with the following values: %s ." , options ) );
135+ logger .debug ("Fetching current user saved shows with the following values: {} ." , options );
136136 LoggingUtil .logHttpCall (logger , httpCall );
137137 Response <Paging <SavedShowSimplified >> response = httpCall .execute ();
138138
@@ -155,7 +155,7 @@ public Paging<SavedTrackFull> getSavedTracks(Map<String, String> options) {
155155
156156 try {
157157 logger .info ("Executing HTTP call to fetch current user saved tracks" );
158- logger .debug (String . format ( "Fetching current user saved tracks with the following values: %s ." , options ) );
158+ logger .debug ("Fetching current user saved tracks with the following values: {} ." , options );
159159 LoggingUtil .logHttpCall (logger , httpCall );
160160 Response <Paging <SavedTrackFull >> response = httpCall .execute ();
161161
@@ -179,7 +179,7 @@ public void saveAlbums(List<String> listOfAlbumIds) {
179179
180180 try {
181181 logger .info ("Executing HTTP call to save the given albums." );
182- logger .debug (String . format ( "Saving albums with following album ids: %s ." , albumIds ) );
182+ logger .debug ("Saving albums with following album ids: {} ." , albumIds );
183183 LoggingUtil .logHttpCall (logger , httpCall );
184184 Response <Void > response = httpCall .execute ();
185185
@@ -201,7 +201,7 @@ public void saveShows(List<String> listOfShowIds) {
201201
202202 try {
203203 logger .info ("Executing HTTP call to save the given shows." );
204- logger .debug (String . format ( "Saving shows with following show ids: %s ." , showIds ) );
204+ logger .debug ("Saving shows with following show ids: {} ." , showIds );
205205 LoggingUtil .logHttpCall (logger , httpCall );
206206 Response <Void > response = httpCall .execute ();
207207
@@ -223,7 +223,7 @@ public void saveTracks(List<String> listOfTrackIds) {
223223
224224 try {
225225 logger .info ("Executing HTTP call to save the given tracks." );
226- logger .debug (String . format ( "Saving tracks with following track ids: %s ." , trackIds ) );
226+ logger .debug ("Saving tracks with following track ids: {} ." , trackIds );
227227 LoggingUtil .logHttpCall (logger , httpCall );
228228 Response <Void > response = httpCall .execute ();
229229
@@ -245,7 +245,7 @@ public void deleteAlbums(List<String> listOfAlbumIds) {
245245
246246 try {
247247 logger .info ("Executing HTTP call to delete the saved albums." );
248- logger .debug (String . format ( "Deleting saved albums with following album ids: %s ." , albumIds ) );
248+ logger .debug ("Deleting saved albums with following album ids: {} ." , albumIds );
249249 LoggingUtil .logHttpCall (logger , httpCall );
250250 Response <Void > response = httpCall .execute ();
251251
@@ -269,7 +269,7 @@ public void deleteShows(List<String> listOfShowIds, Map<String, String> options)
269269
270270 try {
271271 logger .info ("Executing HTTP call to delete the saved shows." );
272- logger .debug (String . format ( "Deleting saved shows with following show ids: %s and parameter values: %s ." , showIds , options ) );
272+ logger .debug ("Deleting saved shows with following show ids: {} and parameter values: {} ." , showIds , options );
273273 LoggingUtil .logHttpCall (logger , httpCall );
274274 Response <Void > response = httpCall .execute ();
275275
@@ -291,7 +291,7 @@ public void deleteTracks(List<String> listOfTrackIds) {
291291
292292 try {
293293 logger .info ("Executing HTTP call to delete the saved tracks." );
294- logger .debug (String . format ( "Deleting saved tracks with following track ids: %s ." , trackIds ) );
294+ logger .debug ("Deleting saved tracks with following track ids: {} ." , trackIds );
295295 LoggingUtil .logHttpCall (logger , httpCall );
296296 Response <Void > response = httpCall .execute ();
297297
0 commit comments