rybalkinsd / kohttp

Kotlin DSL http client
https://kohttp.gitbook.io
Apache License 2.0
478 stars 42 forks source link

minor refactoring for #139 #143

Closed rybalkinsd closed 5 years ago

rybalkinsd commented 5 years ago

@doyaaaaaken I did a minor refactoring. Please notice .use { } statement in usage in CurlLoggingStrategy

codecov[bot] commented 5 years ago

Codecov Report

Merging #143 into master will increase coverage by 0.04%. The diff coverage is 93.75%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #143      +/-   ##
============================================
+ Coverage      90.9%   90.95%   +0.04%     
  Complexity      130      130              
============================================
  Files            42       42              
  Lines           396      398       +2     
  Branches         45       45              
============================================
+ Hits            360      362       +2     
  Misses            9        9              
  Partials         27       27
Impacted Files Coverage Δ Complexity Δ
...kohttp/interceptors/logging/HttpLoggingStrategy.kt 100% <100%> (ø) 3 <2> (ø) :arrow_down:
...kohttp/interceptors/logging/CurlLoggingStrategy.kt 95.45% <92.85%> (+0.45%) 8 <3> (ø) :arrow_down:

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 c88850f...5a8fb85. Read the comment docs.