mozilla-services/android-sync — comment on commit 7e98226e8f0dbfab8677d16bd47906a680b0f612
File:  line 0
By rnewman:

`fetchAll` never returns `null`, so:

```
Cursor cur;
try {
cur = db.fetchAll();
} catch (NullCursorException e) {
return 0;
}
try {
return cur.getCount();
} finally {
cur.close();
}
```