mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Odds and ends. Started infrastructure for AVM command line utilities.
Loosened cache invalidation for write operations so that layered/write lookups are not discarded. Changed direct buffer copies to use System.arraycopy. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -85,10 +85,7 @@ public class AVMRemoteOutputStream extends OutputStream
|
||||
else
|
||||
{
|
||||
byte [] buff = new byte[len];
|
||||
for (int i = 0; i < len; i++)
|
||||
{
|
||||
buff[i] = b[i + off];
|
||||
}
|
||||
System.arraycopy(b, off, buff, 0, len);
|
||||
fAVMRemote.writeOutput(fHandle, buff, len);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user