Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-10-05 11:42:52 +0000
committerEike Stepper2012-10-05 11:42:52 +0000
commitbd3e3935ef223f341b10072f13427d5e124ff760 (patch)
tree5c9b70c19df185c6f70e4e8a07add966f2e373e9 /plugins/org.eclipse.emf.cdo.server.mongodb
parent9699c005e9832e03bf0d150f881a72df71b69880 (diff)
downloadcdo-bd3e3935ef223f341b10072f13427d5e124ff760.tar.gz
cdo-bd3e3935ef223f341b10072f13427d5e124ff760.tar.xz
cdo-bd3e3935ef223f341b10072f13427d5e124ff760.zip
[256624] [UI] Create a Commit History ViewPart drops/I20121005-0745
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256624
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.mongodb')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java b/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java
index ed28641cb9..8de469b920 100644
--- a/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java
+++ b/plugins/org.eclipse.emf.cdo.server.mongodb/src/org/eclipse/emf/cdo/server/internal/mongodb/Commits.java
@@ -4,7 +4,7 @@
* 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
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
@@ -855,6 +855,11 @@ public class Commits extends Coll
public void loadCommitInfos(CDOBranch branch, long startTime, long endTime, final CDOCommitInfoHandler handler)
{
+ if (endTime < CDOBranchPoint.UNSPECIFIED_DATE)
+ {
+ throw new IllegalArgumentException("Counting not supported");
+ }
+
DBObject query = new BasicDBObject();
if (branch != null && store.isBranching())

Back to the top