Skip to content

Commit

Permalink
Improve the Inliner's messaging.
Browse files Browse the repository at this point in the history
#inlineme

PiperOrigin-RevId: 440365144
  • Loading branch information
kluever authored and Error Prone Team committed Apr 8, 2022
1 parent 947aafe commit f72de5f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -311,10 +311,10 @@ static Api create(MethodSymbol method, VisitorState state) {
abstract String extraMessage();

final String message() {
return "Migrate (via inlining) from "
return "Migrate (via inlining) away from "
+ (isDeprecated() ? "deprecated " : "")
+ shortName()
+ " to its replacement"
+ "."
+ extraMessage();
}

Expand Down

0 comments on commit f72de5f

Please sign in to comment.