Skip to content

Commit

Permalink
Undo changes to PendingTransactions method visibility (PegaSysEng#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaxter authored and notlesh committed May 4, 2019
1 parent a024bf4 commit c6c2179
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public boolean addRemoteTransaction(final Transaction transaction) {
return addTransaction;
}

public boolean addLocalTransaction(final Transaction transaction) {
boolean addLocalTransaction(final Transaction transaction) {
final boolean addTransaction =
addTransaction(new TransactionInfo(transaction, true, clock.instant()));
localTransactionAddedCounter.inc();
Expand All @@ -124,7 +124,7 @@ void removeTransaction(final Transaction transaction) {
notifyTransactionDropped(transaction);
}

public void transactionAddedToBlock(final Transaction transaction) {
void transactionAddedToBlock(final Transaction transaction) {
doRemoveTransaction(transaction, true);
}

Expand Down Expand Up @@ -267,11 +267,11 @@ public Set<TransactionInfo> getTransactionInfo() {
}
}

public void addTransactionListener(final PendingTransactionListener listener) {
void addTransactionListener(final PendingTransactionListener listener) {
listeners.subscribe(listener);
}

public void addTransactionDroppedListener(final PendingTransactionDroppedListener listener) {
void addTransactionDroppedListener(final PendingTransactionDroppedListener listener) {
transactionDroppedListeners.subscribe(listener);
}

Expand Down

0 comments on commit c6c2179

Please sign in to comment.