You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2020/11/10 06:10:05 UTC
[phoenix-omid] branch master updated: OMID-166
AbstractTransactionManager.closeResources should be public
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-omid.git
The following commit(s) were added to refs/heads/master by this push:
new 46656dc OMID-166 AbstractTransactionManager.closeResources should be public
46656dc is described below
commit 46656dc8798ca3af0cbde0d97c636a02f7a2ea4a
Author: Istvan Toth <st...@apache.org>
AuthorDate: Mon Nov 9 14:57:48 2020 +0100
OMID-166 AbstractTransactionManager.closeResources should be public
set AbstractTransactionManager.closeResources to protected instead
---
.../java/org/apache/omid/transaction/AbstractTransactionManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/transaction-client/src/main/java/org/apache/omid/transaction/AbstractTransactionManager.java b/transaction-client/src/main/java/org/apache/omid/transaction/AbstractTransactionManager.java
index f192fb6..3446723 100644
--- a/transaction-client/src/main/java/org/apache/omid/transaction/AbstractTransactionManager.java
+++ b/transaction-client/src/main/java/org/apache/omid/transaction/AbstractTransactionManager.java
@@ -313,7 +313,7 @@ public abstract class AbstractTransactionManager implements TransactionManager {
public void postRollback(AbstractTransaction<? extends CellId> transaction) throws TransactionManagerException {}
- abstract void closeResources() throws IOException;
+ protected abstract void closeResources() throws IOException;
/**
* @see java.io.Closeable#close()