Skip to content

Commit

Permalink
Fix hints by removing deprecation from used methods
Browse files Browse the repository at this point in the history
R=pquitslund@google.com

Review-Url: https://codereview.chromium.org/2997463002 .
  • Loading branch information
bwilkerson committed Aug 4, 2017
1 parent defb299 commit 07e4553
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/analyzer/lib/src/lint/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ String createLibraryNamePrefix(
}

/// Returns `true` if this [fileName] is a Dart file.
@deprecated // Never intended for public use.
bool isDartFileName(String fileName) => fileName.endsWith('.dart');

/// Returns `true` if this [name] is a legal Dart identifier.
Expand Down Expand Up @@ -78,7 +77,6 @@ bool isLowerCaseUnderScoreWithDots(String id) =>
_lowerCaseUnderScoreWithDots.hasMatch(id);

/// Returns `true` if this [fileName] is a Pubspec file.
@deprecated // Never intended for public use.
bool isPubspecFileName(String fileName) => _pubspec.hasMatch(fileName);

/// Returns `true` if the given code unit [c] is upper case.
Expand Down

0 comments on commit 07e4553

Please sign in to comment.