mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Brought javadocs up to date with current api behavior in AVMService.
Got rid of a redundant and mostly unused method, the createSnapshot() that takes a List of names. Adjusted to fit. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,7 +19,6 @@ package org.alfresco.repo.avm;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.PrintStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
@@ -177,9 +176,7 @@ public class AVMServiceTestBase extends TestCase
|
||||
out.println("I am main:/a/b/c/bar");
|
||||
out.flush();
|
||||
out.close();
|
||||
ArrayList<String> toSnapshot = new ArrayList<String>();
|
||||
toSnapshot.add("main");
|
||||
fService.createSnapshot(toSnapshot);
|
||||
fService.createSnapshot("main", null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -191,7 +188,7 @@ public class AVMServiceTestBase extends TestCase
|
||||
{
|
||||
assertEquals(history.get(i), recursiveList(repName, i, false));
|
||||
}
|
||||
int latest = fService.getLatestVersionID(repName);
|
||||
int latest = fService.getNextVersionID(repName);
|
||||
history.put(latest - 1, recursiveList(repName, -1, false));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user