Skip to content

Replace Spotless with Autostyle - #549

Merged
vlsi merged 3 commits into
apache:masterfrom
vlsi:autostyle
Dec 28, 2019
Merged

vlsi merged 3 commits into
apache:masterfrom
vlsi:autostyle

Conversation

@vlsi

@vlsi vlsi commented Dec 28, 2019 •

Copy link
Copy Markdown
Collaborator

Spotless has certain drawbacks:

  1. It is not able to verify license headers for non-Java files. For instance, it skips package-info.java, it skips *.kts and so on :(
  2. Its error messages are too verbose. Sometimes it prints the full stacktrace when just one line was enough: "file X line Y column Z has error: ..."
  3. It uses unsafe Gradle APIs, so it will be incompatible with Gradle 7.0

I suggest to replace it with https://github.com/autostyle/autostyle

@vlsi
vlsi force-pushed the autostyle branch 3 times, most recently from 0037536 to e9cff21 Compare December 28, 2019 13:26
@codecov-io

codecov-io commented Dec 28, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #549 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #549      +/-   ##
============================================
+ Coverage     56.11%   56.11%   +<.01%     
- Complexity    10021    10023       +2     
============================================
  Files          1024     1024              
  Lines         62911    62911              
  Branches       7063     7063              
============================================
+ Hits          35302    35305       +3     
+ Misses        25132    25130       -2     
+ Partials       2477     2476       -1
Impacted Files Coverage Δ Complexity Δ
...ache/jmeter/modifiers/BSFPreProcessorBeanInfo.java 100% <ø> (ø) 1 <0> (ø) ⬇️
...rg/apache/jmeter/assertions/ResponseAssertion.java 82.94% <ø> (ø) 91 <0> (ø) ⬇️
...va/org/apache/jmeter/timers/SyncTimerBeanInfo.java 100% <ø> (ø) 1 <0> (ø) ⬇️
...che/jmeter/visualizers/JSR223ListenerBeanInfo.java 100% <ø> (ø) 1 <0> (ø) ⬇️
.../apache/jmeter/modifiers/gui/CounterConfigGui.java 73.01% <ø> (ø) 7 <0> (ø) ⬇️
...ava/org/apache/jmeter/assertions/XMLAssertion.java 62.06% <ø> (ø) 3 <0> (ø) ⬇️
...ava/org/apache/jmeter/extractor/HtmlExtractor.java 86.23% <ø> (ø) 41 <0> (ø) ⬇️
...jmeter/timers/ConstantThroughputTimerBeanInfo.java 100% <ø> (ø) 1 <0> (ø) ⬇️
.../jmeter/visualizers/XMLDefaultMutableTreeNode.java 6.66% <ø> (ø) 2 <0> (ø) ⬇️
...ache/jmeter/timers/gui/AbstractRandomTimerGui.java 87.23% <ø> (ø) 5 <0> (ø) ⬇️
... and 1014 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b9a2eb...b6d11d7. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants