Merge "Update example code for obtaining a locked DirCache"

This commit is contained in:
Christian Halstrick 2012-03-05 03:46:53 -05:00 committed by Gerrit Code Review @ Eclipse.org
commit c71fff4ce2
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@
* algorithm. For example deleting a path:
*
* <pre>
* final DirCache dirc = DirCache.lock(db);
* final DirCache dirc = db.lockDirCache();
* final DirCacheBuilder edit = dirc.builder();
*
* final TreeWalk walk = new TreeWalk(db);