SumoLogic / sumologic-java-http-core

Core Java components for sending data to Sumo Logic HTTP sources
Apache License 2.0
2 stars 4 forks source link

Removed unused String.format() method call #11

Closed delphym closed 4 years ago

delphym commented 4 years ago

The use of static String.format method in the logger output was leftover from previous version when the the parameter was passed according the method signature: String java.lang.String.format(String format, Object... args)

Returns a formatted string using the specified format string and arguments.

As the logging string has changed to simple concatenated string, there is no need to use it.

codecov-io commented 4 years ago

Codecov Report

Merging #11 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage     61.63%   61.63%           
  Complexity       65       65           
=========================================
  Files             9        9           
  Lines           318      318           
  Branches         27       27           
=========================================
  Hits            196      196           
  Misses          108      108           
  Partials         14       14
Impacted Files Coverage Δ Complexity Δ
...java/com/sumologic/http/sender/SumoHttpSender.java 82.82% <100%> (ø) 20 <0> (ø) :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 9d8b6f1...6d3a19c. Read the comment docs.