mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
I think this fixes the race under load that I discovered. More testing is
needed. Once again this will require a new database as I've changed the AVM schema back. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -248,8 +248,8 @@ class AVMCrawler implements Runnable
|
||||
private String randomName()
|
||||
{
|
||||
char [] chars = new char[2];
|
||||
chars[0] = (char)('a' + fRandom.nextInt(26));
|
||||
chars[1] = (char)('a' + fRandom.nextInt(26));
|
||||
chars[0] = (char)('a' + fRandom.nextInt(12));
|
||||
chars[1] = (char)('a' + fRandom.nextInt(12));
|
||||
return new String(chars);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user