dmfs / jems

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

Fix a couple of Generic Arguments, fixes #305 #306

Closed dmfs closed 3 years ago

dmfs commented 3 years ago

Strictly spoken this is a breaking change because BrokenFragileMatcher is no longer generic and using it directly would break now. However, one should only use the static methods and they are, thanks to type inference, still being used the same way.

codecov[bot] commented 3 years ago

Codecov Report

Merging #306 (cddf69b) into master (7c7ecd0) will decrease coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #306      +/-   ##
============================================
- Coverage     98.37%   98.37%   -0.01%     
+ Complexity      935      934       -1     
============================================
  Files           214      214              
  Lines          2036     2033       -3     
  Branches        123      123              
============================================
- Hits           2003     2000       -3     
  Misses           29       29              
  Partials          4        4              
Impacted Files Coverage Δ Complexity Δ
...rest/matchers/function/FragileFunctionMatcher.java 100.00% <ø> (ø) 7.00 <0.00> (ø)
...n/java/org/dmfs/jems/single/elementary/Digest.java 100.00% <ø> (ø) 13.00 <0.00> (ø)
.../java/org/dmfs/jems/single/elementary/Reduced.java 100.00% <ø> (ø) 4.00 <0.00> (ø)
...s/jems/hamcrest/matchers/BrokenFragileMatcher.java 100.00% <100.00%> (ø) 7.00 <3.00> (ø)
...java/org/dmfs/jems/iterable/decorators/Sorted.java 100.00% <100.00%> (ø) 2.00 <1.00> (-1.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 7c7ecd0...cddf69b. Read the comment docs.