Skip to content

Commit

Permalink
Minor documentation tweak in SuggestedFix.Builder.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 549748300
  • Loading branch information
eamonnmcmanus authored and Error Prone Team committed Aug 1, 2024
1 parent 1e0e03c commit 8fd6e55
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand All @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 8fd6e55

Please sign in to comment.