@Override public void setTransaction(Transaction transaction) { super.setTransaction(transaction); if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { // JD: note, we need to set both super and delegate transactions. super.setTransaction(transaction); // JD: this guard ensures that a recursive loop will not form if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { // JD: note, we need to set both super and delegate transactions. super.setTransaction(transaction); // JD: this guard ensures that a recursive loop will not form if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { super.setTransaction(transaction); if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { super.setTransaction(transaction); if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { // JD: note, we need to set both super and delegate transactions. super.setTransaction(transaction); // JD: this guard ensures that a recursive loop will not form if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { super.setTransaction(transaction); if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { //JD: note, we need to set both super and delegate transactions. super.setTransaction(transaction); //JD: this guard ensures that a recursive loop will not form if ( delegate.getTransaction() != transaction ) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { //JD: note, we need to set both super and delegate transactions. super.setTransaction(transaction); //JD: this guard ensures that a recursive loop will not form if ( delegate.getTransaction() != transaction ) { delegate.setTransaction(transaction); } }
@Override public void setTransaction(Transaction transaction) { super.setTransaction(transaction); if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } } // transaction end
@Override public void setTransaction(Transaction transaction) { super.setTransaction(transaction); if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } }
@Override public synchronized void setTransaction(Transaction transaction) { // we need to set both super and delegate transactions. super.setTransaction(transaction); // this guard ensures that a recursive loop will not form if (delegate.getTransaction() != transaction) { delegate.setTransaction(transaction); } if (!Transaction.AUTO_COMMIT.equals(transaction)) { GeogigTransactionState geogigTx; geogigTx = (GeogigTransactionState) transaction.getState(GeogigTransactionState.class); if (geogigTx == null) { geogigTx = new GeogigTransactionState(getEntry()); transaction.putState(GeogigTransactionState.class, geogigTx); } } }