-
Couldn't load subscription status.
- Fork 70
fix RemoveUnusedImportsStep leftovers
#1337
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: develop
Are you sure you want to change the base?
Conversation
|
Thanks for your interest in palantir/palantir-java-format, @Pankraz76! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request. |
Generate changelog in
|
RemoveUnusedImportsStep leftovers
6de63fa to
add336a
Compare
palantir-java-format/src/main/java/com/palantir/javaformat/java/RemoveUnusedImports.java
Show resolved
Hide resolved
palantir-java-format/src/main/java/com/palantir/javaformat/java/RemoveUnusedImports.java
Outdated
Show resolved
Hide resolved
825b51d to
0c4e48c
Compare
ccd562a to
f537f78
Compare
|
Line 348 in f537f78
fixedRanges is not used ? @Pankraz76 |
palantir-java-format/src/main/java/com/palantir/javaformat/java/RemoveUnusedImports.java
Outdated
Show resolved
Hide resolved
f537f78 to
d9aede7
Compare
as no (mutation) test coverage imposed, of course not. Whole branch makes no sense in this case:
Good catch! |
d9aede7 to
c10069a
Compare
c10069a to
8b915a0
Compare
palantir-java-format/src/test/java/com/palantir/javaformat/java/RemoveUnusedImportsTest.java
Show resolved
Hide resolved
|
issue: formattingWithoutImportOrdering() com.palantir.javaformat.java.FormatterTest |
8b915a0 to
aa381a9
Compare
aa381a9 to
622732f
Compare
|
fixes empty line issue, added this test case to import tests as well, as important. Good that we have tests. |
depends on:
palantir-java-formatas default formatter inRemoveUnusedImportsStepdiffplug/spotless#2541ref:
RemoveUnusedImportsStepleftovers google/google-java-format#1262fix #1261
implementation fixed by reliable contributor @iddeepak
Thanks for this initiative.
RemoveUnusedImportsStepleftovers google/google-java-format#1262RemoveUnusedImportsStepleftovers google/google-java-format#1262 (comment)before: 14 issues:
now: 10 issues: