Initial EGit contribution to eclipse.org
[egit.git] / org.eclipse.egit.core / src / org / eclipse / egit / core / internal / storage / KidWalk.java
blob9865e377ad85dc8dc6ef8c0dca4141bc35a260f2
1 /*******************************************************************************
2 * Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com>
3 * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
9 *******************************************************************************/
10 package org.eclipse.egit.core.internal.storage;
12 import org.eclipse.jgit.lib.AnyObjectId;
13 import org.eclipse.jgit.lib.Repository;
14 import org.eclipse.jgit.revwalk.RevCommit;
15 import org.eclipse.jgit.revwalk.RevWalk;
17 class KidWalk extends RevWalk {
18 KidWalk(final Repository repo) {
19 super(repo);
22 @Override
23 protected RevCommit createCommit(final AnyObjectId id) {
24 return new KidCommit(id);