@@ -0,0 +1,1385 @@
+/*%0A *  Copyright (C) 2017 Cojen.org%0A *%0A *  This program is free software: you can redistribute it and/or modify%0A *  it under the terms of the GNU Affero General Public License as%0A *  published by the Free Software Foundation, either version 3 of the%0A *  License, or (at your option) any later version.%0A *%0A *  This program is distributed in the hope that it will be useful,%0A *  but WITHOUT ANY WARRANTY; without even the implied warranty of%0A *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A *  GNU Affero General Public License for more details.%0A *%0A *  You should have received a copy of the GNU Affero General Public License%0A *  along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage org.cojen.tupl;%0A%0Aimport java.io.IOException;%0A%0A/**%0A * Commits every transactional update, and exits the scope when closed. For any entry stepped%0A * over, acquired locks are released.%0A *%0A * @author Brian S O'Neill%0A */%0Aclass ViewAutoCommitUpdater extends ViewNonRepeatableUpdater %7B%0A    /**%0A     * @param cursor unpositioned cursor%0A     */%0A    ViewAutoCommitUpdater(View view, Cursor cursor) throws IOException %7B%0A        super(view, cursor);%0A    %7D%0A%0A    @Override%0A    protected void postUpdate() throws IOException %7B%0A        mCursor.link().commit();%0A    %7D%0A%0A    @Override%0A    protected void finished() throws IOException %7B%0A        mCursor.link().exit();%0A    %7D%0A%7D%0A

Rename file.