Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Java: rename delete function to _delete and make private.
At the moment, Java classes are created with a special `delete` function that is in charge of clearing the Rust object, e.g.: ``` public synchronized void delete() { if (mNativeObj != 0) { do_delete(mNativeObj); mNativeObj = 0; } } ``` Delete is quite a useful name to have (I use it in my API) and this function being called this way is confusing, but also needlessly limits the API. Fixes Dushistov#350
- Loading branch information