You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by oz...@apache.org on 2006/05/23 13:21:55 UTC
svn commit: r408874 -
/jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java
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