realm/realm-java — pull request #598 by kneth (2014-11-21 11:08:03+00:00)
Title: Extending removeFromRealm() to be able to remove last object

As reported in #595 `removeFromRealm()` does not work when removing the last object. This PR fixes the bug, and adds a number of unit tests.

@emanuelez @bmunkholm @cmelchior