Skip to content

Commit

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

PiperOrigin-RevId: 440354620
  • Loading branch information
kluever authored and Error Prone Team committed Apr 8, 2022
1 parent 947aafe commit 24b9d7e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 24b9d7e

Please sign in to comment.