-
Notifications
You must be signed in to change notification settings - Fork 486
RemoveWildCardImports Lint issue #2571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ortsStep.java Co-authored-by: Owais Kazi <[email protected]>
…ix-RemoveWildcardImportsStep
nice one, thank you so much. |
Most of the work is already done by @Pankraz76. I updated Lint changes on top of it. kindly request your feedback. |
This is close! It needs
|
int line = 1 + (int) raw.codePoints().limit(matcher.start()).filter(c -> c == '\n').count(); | ||
lints.add(atLine(line, matcher.group(0), replacement)); | ||
} | ||
return lints; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nedtwigg
spotless:apply for maven does not show lint errors ? for gradle it does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aha! you are correct! i will try to fix that problem this week...
@@ -46,6 +46,8 @@ | |||
import com.diffplug.spotless.ResourceHarness; | |||
|
|||
public class MavenIntegrationHarness extends ResourceHarness { | |||
|
|||
protected static final String PATH = "src/main/java/test.java"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo by inline. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
#2455 |
Thank you @Pankraz76. please feel free to use these changes
Original PR: #2557