dmfs / jems

Java gems, a collection of Java utilities.
Apache License 2.0
5 stars 2 forks source link

Expanded for Optionals #331

Closed dmfs closed 2 years ago

dmfs commented 2 years ago

Add a convenince contructor that expands an Optional into an Iterable.

codecov[bot] commented 2 years ago

Codecov Report

Merging #331 (8f22eed) into master (233dceb) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #331   +/-   ##
=========================================
  Coverage     99.43%   99.43%           
- Complexity      645      646    +1     
=========================================
  Files           161      161           
  Lines          1416     1418    +2     
  Branches         73       73           
=========================================
+ Hits           1408     1410    +2     
  Misses            8        8           
Impacted Files Coverage Δ
...rc/main/java/org/dmfs/jems2/iterable/Expanded.java 100.00% <100.00%> (ø)

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 233dceb...8f22eed. Read the comment docs.