[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Sat Nov 11 14:45:38 EST 2006
User: msurtani
Date: 06/11/11 14:45:38
Modified: src/org/jboss/cache/interceptors Tag:
Branch_JBossCache_1_4_0 TxInterceptor.java
Log:
Replaced a manual array copy with a system array copy
Revision Changes Path
No revision
No revision
1.48.2.9 +1 -1 JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TxInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java,v
retrieving revision 1.48.2.8
retrieving revision 1.48.2.9
diff -u -b -r1.48.2.8 -r1.48.2.9
--- TxInterceptor.java 11 Nov 2006 17:50:03 -0000 1.48.2.8
+++ TxInterceptor.java 11 Nov 2006 19:45:38 -0000 1.48.2.9
@@ -542,7 +542,7 @@
injectDataVersion((DataVersion) origArgs[origArgs.length - 1]);
// modify the call to the non-dataversioned counterpart since we've popped out the data version
Object[] args = new Object[origArgs.length - 1];
- for (int i=0; i<args.length; i++) args[i] = origArgs[i];
+ System.arraycopy(origArgs, 0, args, 0, args.length);
retval = super.invoke(MethodCallFactory.create(MethodDeclarations.getUnversionedMethod(method_call.getMethodId()), args));
}
More information about the jboss-cvs-commits
mailing list