spotify / dataenum

Algebraic data types in Java.
Apache License 2.0
166 stars 16 forks source link

ensure generics use doesn't lead to warnings in generated code #6

Closed pettermahlen closed 6 years ago

pettermahlen commented 6 years ago

Before this, compiling generated code for DataEnum types where not all cases use all type parameters led to warnings.

codecov-io commented 6 years ago

Codecov Report

Merging #6 into master will increase coverage by 0.21%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #6      +/-   ##
============================================
+ Coverage      94.5%   94.72%   +0.21%     
- Complexity      169      178       +9     
============================================
  Files            21       21              
  Lines           528      550      +22     
  Branches         75       79       +4     
============================================
+ Hits            499      521      +22     
  Misses           22       22              
  Partials          7        7
Impacted Files Coverage Δ Complexity Δ
...com/spotify/dataenum/processor/util/Iterables.java 93.75% <100%> (+2.84%) 9 <2> (+2) :arrow_up:
...enum/processor/generator/spec/SpecTypeFactory.java 96.87% <100%> (ø) 3 <0> (ø) :arrow_down:
...um/processor/generator/value/ValueTypeFactory.java 98.05% <100%> (+0.17%) 42 <5> (+5) :arrow_up:
...taenum/processor/generator/value/ValueMethods.java 100% <100%> (ø) 12 <3> (+2) :arrow_up:

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 dbbd9b5...f6c6114. Read the comment docs.