Skip to content

Commit 4ec7faa

Browse files
eamonnmcmanusError Prone Team
authored and
Error Prone Team
committed
Minor documentation tweak in SuggestedFix.Builder.
PiperOrigin-RevId: 658434707
1 parent 1e0e03c commit 4ec7faa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public Builder swap(Tree node1, Tree node2) {
294294

295295
/**
296296
* Add an import statement as part of this SuggestedFix. Import string should be of the form
297-
* "foo.bar.baz".
297+
* "foo.bar.SomeClass".
298298
*/
299299
@CanIgnoreReturnValue
300300
public Builder addImport(String importString) {
@@ -304,7 +304,7 @@ public Builder addImport(String importString) {
304304

305305
/**
306306
* Add a static import statement as part of this SuggestedFix. Import string should be of the
307-
* form "foo.bar.baz".
307+
* form "foo.bar.SomeClass.someMethod" or "foo.bar.SomeClass.SOME_FIELD".
308308
*/
309309
@CanIgnoreReturnValue
310310
public Builder addStaticImport(String importString) {
@@ -314,7 +314,7 @@ public Builder addStaticImport(String importString) {
314314

315315
/**
316316
* Remove an import statement as part of this SuggestedFix. Import string should be of the form
317-
* "foo.bar.baz".
317+
* "foo.bar.SomeClass".
318318
*/
319319
@CanIgnoreReturnValue
320320
public Builder removeImport(String importString) {
@@ -324,7 +324,7 @@ public Builder removeImport(String importString) {
324324

325325
/**
326326
* Remove a static import statement as part of this SuggestedFix. Import string should be of the
327-
* form "foo.bar.baz".
327+
* form "foo.bar.SomeClass.someMethod" or "foo.bar.SomeClass.SOME_FIELD".
328328
*/
329329
@CanIgnoreReturnValue
330330
public Builder removeStaticImport(String importString) {

0 commit comments

Comments
 (0)