Project

General

Profile

Actions

Architecture #2279

closed

Shoud we use the TreeWalk.release() method after walking the JGit tree ?

Added by Nicolas CHARLES over 12 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
4
Assignee:
-
Category:
Architecture - Code maintenance
Effort required:
Name check:
Fix check:
Regression:

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

Actions

Also available in: Atom PDF