Architecture (meta) #2279
Shoud we use the TreeWalk.release() method after walking the JGit tree ?
| Status: | New | Start date: | 2012-02-14 | |
|---|---|---|---|---|
| Priority: | 4 | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Architecture - Refactoring | |||
| Target version: | Ideas (not version specific) | |||
| Needs translating: | No |
Description
The documentation is a bit unclear about the subject; it states clearly that RevWalk should be released after use ( http://wiki.eclipse.org/JGit/User_Guide ) but doesn't state the same for the TreeWalk (actually, it says nothing)
However, there is a release method in this class, so it is interesting to see if it should be invoked
History
#1
Updated by Jonathan CLARKE over 1 year ago
- Category changed from IT infrastructure and tools to Architecture - Refactoring
- Assignee changed from Jonathan CLARKE to François ARMAND
#2
Updated by Jonathan CLARKE about 1 year ago
- Target version changed from 2.4.0~alpha6 to 2.4.0~alpha7
#3
Updated by François ARMAND about 1 year ago
- Assignee deleted (
François ARMAND) - Target version changed from 2.4.0~alpha7 to Ideas (2.5 specific)
Not the kind of code modification we want to handle know, I thing.
I does not seems to leak as it is, so perhaps we shall think to it again in 2.5 ?
#4
Updated by Jonathan CLARKE 12 months ago
- Target version changed from Ideas (2.5 specific) to Ideas (not version specific)