Correct reference to EPL in source headers
[egit/chris.git] / org.eclipse.egit.core / src / org / eclipse / egit / core / internal / storage / KidCommitList.java
blob43b0e15e06e3e2cc272dba3d4d85579de81424be
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.spearce.jgit.revwalk.RevCommitList;
14 class KidCommitList extends RevCommitList<KidCommit> {
15 @Override
16 protected void enter(final int index, final KidCommit e) {
17 final int nParents = e.getParentCount();
18 for (int i = 0; i < nParents; i++)
19 ((KidCommit) e.getParent(i)).addChild(e);