cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1384769 - /cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Date Fri, 14 Sep 2012 13:33:33 GMT
Author: ay
Date: Fri Sep 14 13:33:32 2012
New Revision: 1384769

URL: http://svn.apache.org/viewvc?rev=1384769&view=rev
Log:
make visibility of related methods in RMTxStore consistent

Modified:
    cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java

Modified: cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java?rev=1384769&r1=1384768&r2=1384769&view=diff
==============================================================================
--- cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
(original)
+++ cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Fri Sep 14 13:33:32 2012
@@ -1019,14 +1019,14 @@ public class RMTxStore implements RMStor
     }
 
     
-    private void cacheStatement(Connection con, String sql) 
+    protected void cacheStatement(Connection con, String sql) 
         throws SQLException {
         PreparedStatement stmt = con.prepareStatement(sql);
         cachedStatements.put(sql, stmt);
         statementLocks.put(stmt, new ReentrantLock());
     }
     
-    private void cacheStatements() throws SQLException {
+    protected void cacheStatements() throws SQLException {
         if (connection == null) {
             // if the connection is not held, no statement is cached.
             return;



Mime
View raw message