diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-12 12:31:11 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-12 14:44:05 +0200 |
| commit | 65caf4985175662cb1c11314a860506b648d342b (patch) | |
| tree | fc74680068b709c3263c64faa91cc862d80c6ca8 /tests/src | |
| parent | 1e06aee2435ec34858890b6f14cab554f2c42a84 (diff) | |
| download | cgeo-65caf4985175662cb1c11314a860506b648d342b.zip cgeo-65caf4985175662cb1c11314a860506b648d342b.tar.gz cgeo-65caf4985175662cb1c11314a860506b648d342b.tar.bz2 | |
Refactoring: remove useless null checks
Boundary data ultimately coming to loadInViewport is checked for null
(those are Long fields) while they come from long values, that cannot be
null.
It makes little sense to return null to represent an empty set when we can
return the empty set itself.
Also, the cursor cannot be null, and the method can be made private.
Diffstat (limited to 'tests/src')
0 files changed, 0 insertions, 0 deletions
