smartcar / java-sdk

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

Reformat / Lint source code #94

Closed gurpreetatwal closed 3 years ago

gurpreetatwal commented 3 years ago

Ran google-java-format to reformat the source code. Secondary rationale for doing so is to publish a version of the SDK with the new PGP key.

Note: No code was manually edited other than libVersion in gradle.properties.

Asana: https://app.asana.com/0/1200165570591306/1200228904385977/f

codecov[bot] commented 3 years ago

Codecov Report

Merging #94 (e15fc1a) into master (a6facfe) will increase coverage by 0.23%. The diff coverage is 52.99%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #94      +/-   ##
============================================
+ Coverage     45.60%   45.83%   +0.23%     
- Complexity       89       90       +1     
============================================
  Files            27       27              
  Lines           682      685       +3     
  Branches         38       38              
============================================
+ Hits            311      314       +3     
  Misses          360      360              
  Partials         11       11              
Flag Coverage Δ Complexity Δ
integration 44.67% <52.56%> (+0.24%) 89.00 <26.00> (+1.00)
test 4.96% <6.83%> (+0.41%) 9.00 <2.00> (ø)

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

Impacted Files Coverage Δ Complexity Δ
...om/smartcar/sdk/BatchResponseMissingException.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
.../main/java/com/smartcar/sdk/SmartcarException.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...ain/java/com/smartcar/sdk/SmartcarExceptionV2.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
.../com/smartcar/sdk/data/ApplicationPermissions.java 8.33% <0.00%> (ø) 1.00 <0.00> (ø)
...main/java/com/smartcar/sdk/data/Compatibility.java 12.50% <0.00%> (ø) 1.00 <0.00> (ø)
...main/java/com/smartcar/sdk/data/RequestPaging.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...ain/java/com/smartcar/sdk/data/ResponsePaging.java 36.36% <0.00%> (ø) 1.00 <0.00> (ø)
...ain/java/com/smartcar/sdk/data/VehicleBattery.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../com/smartcar/sdk/data/VehicleBatteryCapacity.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...main/java/com/smartcar/sdk/data/VehicleCharge.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
... and 17 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 a6facfe...e15fc1a. Read the comment docs.