MER-C / wiki-java

A MediaWiki bot framework in Java
GNU Affero General Public License v3.0
66 stars 58 forks source link

Return null on empty pages #148

Closed vonloxley closed 7 years ago

vonloxley commented 7 years ago

Fixes #147.

codecov-io commented 7 years ago

Codecov Report

Merging #148 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
+ Coverage   18.86%   18.91%   +0.04%     
==========================================
  Files          17       17              
  Lines        3641     3642       +1     
  Branches      770      771       +1     
==========================================
+ Hits          687      689       +2     
+ Misses       2860     2859       -1     
  Partials       94       94
Impacted Files Coverage Δ
src/org/wikipedia/Wiki.java 27.59% <100%> (+0.06%) :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 98ab61f...624ac9b. Read the comment docs.

MER-C commented 7 years ago

The empty string would be a more appropriate return value.