You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

EndGenerator.java 608B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> and others
  3. *
  4. * This program and the accompanying materials are made available under the
  5. * terms of the Eclipse Distribution License v. 1.0 which is available at
  6. * https://www.eclipse.org/org/documents/edl-v10.php.
  7. *
  8. * SPDX-License-Identifier: BSD-3-Clause
  9. */
  10. package org.eclipse.jgit.revwalk;
  11. class EndGenerator extends Generator {
  12. static final EndGenerator INSTANCE = new EndGenerator();
  13. private EndGenerator() {
  14. super(false);
  15. }
  16. @Override
  17. RevCommit next() {
  18. return null;
  19. }
  20. @Override
  21. int outputType() {
  22. return 0;
  23. }
  24. }