From 8fd6e5529fbf98f01488602c85623895ef684a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89amonn=20McManus?= Date: Thu, 20 Jul 2023 14:55:36 -0700 Subject: [PATCH] Minor documentation tweak in `SuggestedFix.Builder`. PiperOrigin-RevId: 549748300 --- .../java/com/google/errorprone/fixes/SuggestedFix.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java b/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java index 2a958d1814aa..feabf10f910f 100644 --- a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java +++ b/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java @@ -294,7 +294,7 @@ public Builder swap(Tree node1, Tree node2) { /** * Add an import statement as part of this SuggestedFix. Import string should be of the form - * "foo.bar.baz". + * "foo.bar.SomeClass". */ @CanIgnoreReturnValue public Builder addImport(String importString) { @@ -304,7 +304,7 @@ public Builder addImport(String importString) { /** * Add a static import statement as part of this SuggestedFix. Import string should be of the - * form "foo.bar.baz". + * form "foo.bar.SomeClass.someMethod" or "foo.bar.SomeClass.SOME_FIELD". */ @CanIgnoreReturnValue public Builder addStaticImport(String importString) { @@ -314,7 +314,7 @@ public Builder addStaticImport(String importString) { /** * Remove an import statement as part of this SuggestedFix. Import string should be of the form - * "foo.bar.baz". + * "foo.bar.SomeClass". */ @CanIgnoreReturnValue public Builder removeImport(String importString) { @@ -324,7 +324,7 @@ public Builder removeImport(String importString) { /** * Remove a static import statement as part of this SuggestedFix. Import string should be of the - * form "foo.bar.baz". + * form "foo.bar.SomeClass.someMethod" or "foo.bar.SomeClass.SOME_FIELD". */ @CanIgnoreReturnValue public Builder removeStaticImport(String importString) {