@@ -291,7 +291,7 @@ public void specificityComparator() throws Exception {
291
291
MediaType allXml = new MediaType ("application" , "*+xml" );
292
292
MediaType all = MediaType .ALL ;
293
293
294
- @ SuppressWarnings ("deprecation " )
294
+ @ SuppressWarnings ("removal " )
295
295
Comparator <MediaType > comp = MediaType .SPECIFICITY_COMPARATOR ;
296
296
297
297
// equal
@@ -335,7 +335,7 @@ public void specificityComparator() throws Exception {
335
335
}
336
336
337
337
@ Test
338
- @ SuppressWarnings ("deprecation " )
338
+ @ SuppressWarnings ("removal " )
339
339
public void sortBySpecificityRelated () {
340
340
MediaType audioBasic = new MediaType ("audio" , "basic" );
341
341
MediaType audio = new MediaType ("audio" );
@@ -366,7 +366,7 @@ public void sortBySpecificityRelated() {
366
366
}
367
367
368
368
@ Test
369
- @ SuppressWarnings ("deprecation " )
369
+ @ SuppressWarnings ("removal " )
370
370
public void sortBySpecificityUnrelated () {
371
371
MediaType audioBasic = new MediaType ("audio" , "basic" );
372
372
MediaType audioWave = new MediaType ("audio" , "wave" );
@@ -398,7 +398,7 @@ public void qualityComparator() throws Exception {
398
398
MediaType allXml = new MediaType ("application" , "*+xml" );
399
399
MediaType all = MediaType .ALL ;
400
400
401
- @ SuppressWarnings ("deprecation " )
401
+ @ SuppressWarnings ("removal " )
402
402
Comparator <MediaType > comp = MediaType .QUALITY_VALUE_COMPARATOR ;
403
403
404
404
// equal
@@ -442,7 +442,7 @@ public void qualityComparator() throws Exception {
442
442
}
443
443
444
444
@ Test
445
- @ SuppressWarnings ("deprecation " )
445
+ @ SuppressWarnings ("removal " )
446
446
public void sortByQualityRelated () {
447
447
MediaType audioBasic = new MediaType ("audio" , "basic" );
448
448
MediaType audio = new MediaType ("audio" );
@@ -473,7 +473,7 @@ public void sortByQualityRelated() {
473
473
}
474
474
475
475
@ Test
476
- @ SuppressWarnings ("deprecation " )
476
+ @ SuppressWarnings ("removal " )
477
477
public void sortByQualityUnrelated () {
478
478
MediaType audioBasic = new MediaType ("audio" , "basic" );
479
479
MediaType audioWave = new MediaType ("audio" , "wave" );
0 commit comments