Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDariusz Luksza2012-03-31 20:14:18 -0400
committerMatthias Sohn2012-03-31 20:14:18 -0400
commitdf7527930d3ff1b4529e7716a27e33d2f3d6bde2 (patch)
tree1e0ba01c843a0cf45b4b23406b28b428711432b1 /org.eclipse.egit.ui.test/src/org/eclipse/jgit
parent8cae7599c35267c85a7fdef0b9ce0b8e2c9239c9 (diff)
downloadegit-df7527930d3ff1b4529e7716a27e33d2f3d6bde2.tar.gz
egit-df7527930d3ff1b4529e7716a27e33d2f3d6bde2.tar.xz
egit-df7527930d3ff1b4529e7716a27e33d2f3d6bde2.zip
[sync] New 'Git Commit Model' implementation
New less memory consuming implementation of 'Git Commit Model'. It uses cache providers added earlier for retrieving data from repository instead of calculating changes in every model object. This is only beginning of rewriting 'Git Commit Model'. Next commits will ensure that cache objects are created only once and completely destroyed after synchronization. Change-Id: I6a5b9c05bc210ebf3627fa24745f7d3d48a74e06 Signed-off-by: Dariusz Luksza <dariusz@luksza.org> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/jgit')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/jgit/revwalk/MockRevCommit.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/jgit/revwalk/MockRevCommit.java b/org.eclipse.egit.ui.test/src/org/eclipse/jgit/revwalk/MockRevCommit.java
deleted file mode 100644
index 9ca88faac..000000000
--- a/org.eclipse.egit.ui.test/src/org/eclipse/jgit/revwalk/MockRevCommit.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*******************************************************************************
- * Copyright (C) 2011, Dariusz Luksza <dariusz@luksza.org>
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *******************************************************************************/
-package org.eclipse.jgit.revwalk;
-
-import org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetSorterTest;
-import org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit;
-
-/**
- * The only reason of this class existence is to tests {@link GitModelCommit}
- * ordering in {@link GitChangeSetSorterTest}
- *
- * DO NOT USE IT ELSEWERE!
- */
-public class MockRevCommit extends RevCommit {
-
- public MockRevCommit(int commitTime) {
- super(zeroId());
- this.commitTime = commitTime;
- }
-
-}

Back to the top