Use a common shouldSkipObject method to avoid UNINTERESTING items
commit00fdad80138d6364b82407c9a6a7438e0b836a71
authorShawn O. Pearce <spearce@spearce.org>
Fri, 13 Mar 2009 18:11:52 +0000 (13 11:11 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 15 Mar 2009 11:48:40 +0000 (15 12:48 +0100)
treecf63f105c083af8c79eaf3dba28f9985129dfb3a
parent11996eeb6a5861f639b6ac71c08f206ba7ac6a11
Use a common shouldSkipObject method to avoid UNINTERESTING items

All cases are using the same logic to decide that we should skip
this current object and not return it to the caller.  A common
implementation makes the code easier to follow, especially as it
reduces the ugly line wrap involved in the loop body.

[rr. renamed method to comply with java conventions.]

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/revwalk/ObjectWalk.java