summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.iplog
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-06-28 11:57:41 -0700
committerShawn O. Pearce <spearce@spearce.org>2010-06-28 11:57:41 -0700
commitaa4b06e08781f9f4e33259d92eb919b3c6da22ef (patch)
treeeee974b42e4da94702449d3094dfd8e786bc0a18 /org.eclipse.jgit.iplog
parentacb7be2c5adb270d21182d389ce93f3bca38cd29 (diff)
downloadjgit-aa4b06e08781f9f4e33259d92eb919b3c6da22ef.tar.gz
jgit-aa4b06e08781f9f4e33259d92eb919b3c6da22ef.zip
Rename openObject, hasObject to just open, has
Similar to what we did on Repository, the openObject method already implied we wanted to open an object, given its main argument was of type AnyObjectId. Simplify the method name to just the action, has or open. Change-Id: If055e5e0d8de0e2424c18a773f6d2bc2f66054f4 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.iplog')
-rw-r--r--org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
index 0d98f24369..fa2010d1f6 100644
--- a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
+++ b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
@@ -416,7 +416,7 @@ public class IpLogGenerator {
private byte[] openBlob(int side) throws IOException {
tw.getObjectId(idbuf, side);
- return curs.openObject(idbuf, Constants.OBJ_BLOB).getCachedBytes();
+ return curs.open(idbuf, Constants.OBJ_BLOB).getCachedBytes();
}
/**