Browse Source

Merge "Update example code for obtaining a locked DirCache"

stable-2.0
Christian Halstrick 13 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
c71fff4ce2
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheBuildIterator.java

2
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheBuildIterator.java vendored

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

Loading…
Cancel
Save