View | Details | Raw Unified | Return to bug 41847
Collapse All | Expand All

(-)src/java/org/apache/lenya/transaction/UnitOfWorkImpl.java (-3 / +3 lines)
Lines 184-194 Link Here
184
                if (objects[i] instanceof Transactionable) {
184
                if (objects[i] instanceof Transactionable) {
185
                    Transactionable t = (Transactionable) objects[i];
185
                    Transactionable t = (Transactionable) objects[i];
186
                    if (t.isCheckedOutByUser()) {
186
                    if (t.isCheckedOutByUser()) {
187
                        if (t.isLocked()) {
188
                           t.unlock();
189
                        }
187
                        t.checkin();
190
                        t.checkin();
188
                    }
191
                    }
189
                    if (t.isLocked()) {
190
                        t.unlock();
191
                    }
192
                }
192
                }
193
            }
193
            }
194
        }
194
        }

Return to bug 41847