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 2019/12/11 09:46:23 UTC

[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-5554 Synchronize @Parameters, @BeforeClass and @AfterClass methods (addendum)

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
     new a901102  PHOENIX-5554 Synchronize @Parameters, @BeforeClass and @AfterClass methods (addendum)
a901102 is described below

commit a9011025dd100de382d38a57f9396b9d5933e194
Author: Istvan Toth <st...@stoty.hu>
AuthorDate: Wed Dec 11 10:45:49 2019 +0100

    PHOENIX-5554 Synchronize @Parameters, @BeforeClass and @AfterClass methods (addendum)
    
    fix incorrect changes introduced by heuristics
---
 .../org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java   | 2 +-
 phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java b/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java
index ce14dfd..0d5d784 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java
@@ -59,7 +59,7 @@ public class CoprocessorHConnectionTableFactoryIT extends BaseUniqueNamesOwnClus
     return getOrgId(Math.round(Math.random() * maxOrgId));
   }
 
-  static synchronized void writeToTable(String tableName, Connection conn, int maxOrgId) throws SQLException {
+  static void writeToTable(String tableName, Connection conn, int maxOrgId) throws SQLException {
     try {
 
       String orgId = getRandomOrgId(maxOrgId);
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
index b97be3d..ee0683b 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
@@ -451,7 +451,7 @@ public abstract class BaseTest {
         }
     }
     
-    protected static synchronized void destroyDriver() {
+    protected static void destroyDriver() {
         if (driver != null) {
             try {
                 assertTrue(destroyDriver(driver));