Project

General

Profile

Actions

Architecture #2279

closed

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

Architecture #2279: Shoud we use the TreeWalk.release() method after walking the JGit tree ?

Added by Nicolas CHARLES over 14 years ago. Updated about 6 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

Updated by Jonathan CLARKE over 14 years ago Actions #1

  • Category changed from 13 to Architecture - Code maintenance
  • Assignee changed from Jonathan CLARKE to François ARMAND

Updated by Jonathan CLARKE over 14 years ago Actions #2

  • Target version changed from 2.4.0~alpha6 to 2.4.0~alpha7

Updated by François ARMAND over 14 years ago Actions #3

  • Assignee deleted (François ARMAND)
  • Target version changed from 2.4.0~alpha7 to 24

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 ?

Updated by Jonathan CLARKE about 14 years ago Actions #4

  • Target version changed from 24 to Ideas (not version specific)

Updated by Nicolas CHARLES about 6 years ago Actions #5

  • Status changed from New to Rejected

I guess it can be safely rejected: it's been working for 8 years, should still be ok

Actions

Also available in: PDF Atom