]> git.eshelyaron.com Git - emacs.git/commit
Clean up some redundant or otherwise suspect code
authorPo Lu <luangruo@yahoo.com>
Wed, 29 Nov 2023 02:46:42 +0000 (10:46 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 29 Nov 2023 02:51:49 +0000 (10:51 +0800)
commit265ffe59fbd7c01e2bd5a8c6dcac9035c00de004
treee92142455855fc2c7317cb143e53991c8740deee
parent5a0250f76676d8750f42bbca1af5c4553846949b
Clean up some redundant or otherwise suspect code

* java/org/gnu/emacs/EmacsOpenActivity.java (onCreate):
Don't check if URI is non-NULL, for instanceof checks this
also.

* java/org/gnu/emacs/EmacsSafThread.java (accessDocument1):
Don't check !writable twice.

* java/org/gnu/emacs/EmacsService.java (documentIdFromName):
Designate this function as public, since it is called
through JNI.
java/org/gnu/emacs/EmacsOpenActivity.java
java/org/gnu/emacs/EmacsSafThread.java
java/org/gnu/emacs/EmacsService.java