Refactor getRevSort() calls to hasRevSort()
commit3f3d0a499aed6e4a59455e16f2c604b712309e30
authorMarek Zawirski <marek.zawirski@gmail.com>
Sun, 15 Jun 2008 21:45:44 +0000 (15 23:45 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 28 Jun 2008 09:56:03 +0000 (28 11:56 +0200)
treee4db5d781d4764931f99b1e33b6d84f8ec6b15ff
parent2bb840aa066933516047d818039d6d0e5b363e77
Refactor getRevSort() calls to hasRevSort()

It is not signifficant performance improvement, just avoids creation of
few unnecessary objects.
However, it improves encapsulation and keeps existing RevSort checking
code consistent with further use of hasRevSort().

Signed-off-by: Marek Zawirski <marek.zawirski@gmail.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/revwalk/ObjectWalk.java
org.spearce.jgit/src/org/spearce/jgit/revwalk/StartGenerator.java