@@ -378,7 +378,7 @@ private void checkInputFields(DiffCtx ctx, TypeDefinition old, List<InputValueDe
378378 DiffCategory category ;
379379 String message ;
380380 if (isDeprecated (oldField )) {
381- category = DiffCategory .DEPRECATED ;
381+ category = DiffCategory .DEPRECATION_REMOVED ;
382382 message = "The new API has removed a deprecated field '%s'" ;
383383 } else {
384384 category = DiffCategory .MISSING ;
@@ -444,7 +444,7 @@ private void checkEnumType(DiffCtx ctx, EnumTypeDefinition oldDef, EnumTypeDefin
444444 DiffCategory category ;
445445 String message ;
446446 if (isDeprecated (oldEnum )) {
447- category = DiffCategory .DEPRECATED ;
447+ category = DiffCategory .DEPRECATION_REMOVED ;
448448 message = "The new API has removed a deprecated enum value '%s'" ;
449449 } else {
450450 category = DiffCategory .MISSING ;
@@ -474,7 +474,7 @@ private void checkEnumType(DiffCtx ctx, EnumTypeDefinition oldDef, EnumTypeDefin
474474 .build ());
475475 } else if (isDeprecated (newDefinitionMap .get (enumName ))) {
476476 ctx .report (DiffEvent .apiDanger ()
477- .category (DiffCategory .DEPRECATED )
477+ .category (DiffCategory .DEPRECATION_ADDED )
478478 .typeName (oldDef .getName ())
479479 .typeKind (getTypeKind (oldDef ))
480480 .components (enumName )
@@ -546,7 +546,7 @@ private void checkFieldRemovals(
546546 DiffCategory category ;
547547 String message ;
548548 if (isDeprecated (entry .getValue ())) {
549- category = DiffCategory .DEPRECATED ;
549+ category = DiffCategory .DEPRECATION_REMOVED ;
550550 message = "The new API has removed a deprecated field '%s'" ;
551551 } else {
552552 category = DiffCategory .MISSING ;
@@ -592,7 +592,7 @@ private void checkFieldAdditions(
592592 .build ());
593593 } else if (!isDeprecated (oldField ) && isDeprecated (entry .getValue ())) {
594594 ctx .report (DiffEvent .apiDanger ()
595- .category (DiffCategory .DEPRECATED )
595+ .category (DiffCategory .DEPRECATION_ADDED )
596596 .typeName (newDef .getName ())
597597 .typeKind (getTypeKind (newDef ))
598598 .fieldName (fieldName )
0 commit comments