From ac26e94fff424af41e063fe464e83f1ca088835e Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Fri, 16 May 2025 17:32:00 -0700 Subject: [PATCH] linter: remove unused State.getDescription Change-Id: Ia241ed01ad81cfdc399cf3011e3b4f6d43113950 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428926 Commit-Queue: Samuel Rawlins Reviewed-by: Konstantin Shcheglov --- pkg/analyzer/lib/src/lint/state.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/analyzer/lib/src/lint/state.dart b/pkg/analyzer/lib/src/lint/state.dart index 5e7e4a2a043..cf07c00b3bd 100644 --- a/pkg/analyzer/lib/src/lint/state.dart +++ b/pkg/analyzer/lib/src/lint/state.dart @@ -92,11 +92,6 @@ sealed class State { /// A short description, suitable for displaying in documentation or a /// diagnostic message. String get label; - - /// An optional description that can be used in documentation or diagnostic - /// reporting. - @Deprecated('Not set by any lint rule, remove any usages.') - String? getDescription() => null; } extension StateExtension on State {