commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject svn commit: r408874 - /jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java
Date Tue, 23 May 2006 11:21:55 GMT
Author: ozeigermann
Date: Tue May 23 04:21:54 2006
New Revision: 408874

URL: http://svn.apache.org/viewvc?rev=408874&view=rev
Log:
Fixed simple typo

Modified:
    jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java

Modified: jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java?rev=408874&r1=408873&r2=408874&view=diff
==============================================================================
--- jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java
(original)
+++ jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java
Tue May 23 04:21:54 2006
@@ -1377,7 +1377,7 @@
         protected boolean finished = false;
 
         // list of streams participating in this tx
-        private List openResourcs = new ArrayList();
+        private List openResources = new ArrayList();
 
         public TransactionContext(Object txId) throws ResourceManagerException {
             this.txId = txId;
@@ -1483,7 +1483,7 @@
 
         public synchronized void closeResources() {
             synchronized (globalOpenResources) {
-                for (Iterator it = openResourcs.iterator(); it.hasNext();) {
+                for (Iterator it = openResources.iterator(); it.hasNext();) {
                     Object stream = it.next();
                     closeOpenResource(stream);
                 }
@@ -1493,7 +1493,7 @@
         public synchronized void registerResource(Object openResource) {
             synchronized (globalOpenResources) {
                 registerOpenResource(openResource);
-                openResourcs.add(openResource);
+                openResources.add(openResource);
             }
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message