influxdb-java icon indicating copy to clipboard operation
influxdb-java copied to clipboard

fix npe when has null value tag field in pojo

Open flashmouse opened this issue 6 years ago • 1 comments

use addFieldsFromPOJO method build point will cause npe when some tag field hasn't set any value.

flashmouse avatar May 27 '19 12:05 flashmouse

Codecov Report

Merging #598 into master will decrease coverage by 0.03%. The diff coverage is 50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #598      +/-   ##
============================================
- Coverage     88.19%   88.16%   -0.04%     
  Complexity      709      709              
============================================
  Files            69       69              
  Lines          2449     2450       +1     
  Branches        252      253       +1     
============================================
  Hits           2160     2160              
  Misses          204      204              
- Partials         85       86       +1
Impacted Files Coverage Δ Complexity Δ
src/main/java/org/influxdb/dto/Point.java 91.5% <50%> (-0.46%) 41 <0> (ø)

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 a56b279...d0fa413. Read the comment docs.

codecov-io avatar May 27 '19 13:05 codecov-io