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.

WildCardHead.java 562B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2008, Florian Köberle <florianskarten@web.de> 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.fnmatch;
  11. final class WildCardHead extends AbstractHead {
  12. WildCardHead(boolean star) {
  13. super(star);
  14. }
  15. /** {@inheritDoc} */
  16. @Override
  17. protected final boolean matches(char c) {
  18. return true;
  19. }
  20. }