smartcar / java-sdk

Java client SDK for the Smartcar API.
https://smartcar.github.io/java-sdk
MIT License
20 stars 20 forks source link

chore: adds Spotless formatter with google-java-format configurations #104

Closed naomiperez closed 2 years ago

naomiperez commented 2 years ago

Adds Spotless format task to Travis. Uses google-java-format.

codecov[bot] commented 2 years ago

Codecov Report

Merging #104 (f6ab943) into master (1b365bb) will decrease coverage by 12.45%. The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master     #104       +/-   ##
=============================================
- Coverage     79.16%   66.70%   -12.46%     
+ Complexity      200      169       -31     
=============================================
  Files            37       37               
  Lines           787      787               
  Branches         49       49               
=============================================
- Hits            623      525       -98     
- Misses          136      229       +93     
- Partials         28       33        +5     
Flag Coverage Δ
integration 66.70% <ø> (ø)
test ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ain/java/com/smartcar/sdk/data/ActionResponse.java 25.00% <0.00%> (-50.00%) :arrow_down:
...ava/com/smartcar/sdk/data/WebhookSubscription.java 25.00% <0.00%> (-50.00%) :arrow_down:
.../main/java/com/smartcar/sdk/SmartcarException.java 40.00% <0.00%> (-45.39%) :arrow_down:
src/main/java/com/smartcar/sdk/data/Meta.java 60.00% <0.00%> (-20.00%) :arrow_down:
...in/java/com/smartcar/sdk/data/VehicleResponse.java 80.00% <0.00%> (-20.00%) :arrow_down:
.../java/com/smartcar/sdk/SmartcarVehicleRequest.java 67.44% <0.00%> (-18.61%) :arrow_down:
...main/java/com/smartcar/sdk/data/BatchResponse.java 80.48% <0.00%> (-17.08%) :arrow_down:
...main/java/com/smartcar/sdk/data/VehicleCharge.java 33.33% <0.00%> (-16.67%) :arrow_down:
src/main/java/com/smartcar/sdk/ApiClient.java 75.00% <0.00%> (-15.39%) :arrow_down:
.../java/com/smartcar/sdk/SmartcarVehicleOptions.java 70.00% <0.00%> (-10.00%) :arrow_down:
... and 1 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 1b365bb...f6ab943. Read the comment docs.