Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] Deprecated JGit API cleanups in 0.11

I'd like to see the projects finish cleaning up our deprecated APIs as
part of the 0.11 release.  I've started by getting the low-hanging
fruit of TreeVisitor[1].  The much more difficult ones are:

  GitIndex

  GitlinkTreeEntry
  FileTreeEntry
  Tree
  TreeEntry
  SymlinkTreeEntry

Most of these uses should be replaced by DirCache or TreeWalk.  A few
Tree uses can be replaced with a direct TreeFormatter usage within the
test case, or use the newer TestRepository class and its mini-DSL
methods blob(), file() and tree() to construct a tree within the test
case.  I've CC'd the egit-dev list because there are still some uses
of GitIndex and Tree within EGit.

[1] http://egit.eclipse.org/r/2135

-- 
Shawn.


Back to the top