Codota Logo
CommitterRevFilter$PatternSearch
Code IndexAdd Codota to your IDE (free)

How to use
CommitterRevFilter$PatternSearch
in
org.eclipse.jgit.revwalk.filter

Best Java code snippets using org.eclipse.jgit.revwalk.filter.CommitterRevFilter$PatternSearch (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Create a new committer filter.
 * <p>
 * An optimized substring search may be automatically selected if the
 * pattern does not contain any regular expression meta-characters.
 * <p>
 * The search is performed using a case-insensitive comparison. The
 * character encoding of the commit message itself is not respected. The
 * filter matches on raw UTF-8 byte sequences.
 *
 * @param pattern
 *            regular expression pattern to match.
 * @return a new filter that matches the given expression against the author
 *         name and address of a commit.
 */
public static RevFilter create(String pattern) {
  if (pattern.length() == 0)
    throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);
  if (SubStringRevFilter.safe(pattern))
    return new SubStringSearch(pattern);
  return new PatternSearch(pattern);
}
origin: org.eclipse.jgit/org.eclipse.jgit

  @Override
  public RevFilter clone() {
    return new PatternSearch(pattern());
  }
}
origin: theonedev/onedev

  @Override
  public RevFilter clone() {
    return new PatternSearch(pattern());
  }
}
origin: sonia.jgit/org.eclipse.jgit

  @Override
  public RevFilter clone() {
    return new PatternSearch(pattern());
  }
}
origin: berlam/github-bucket

  @Override
  public RevFilter clone() {
    return new PatternSearch(pattern());
  }
}
origin: theonedev/onedev

/**
 * Create a new committer filter.
 * <p>
 * An optimized substring search may be automatically selected if the
 * pattern does not contain any regular expression meta-characters.
 * <p>
 * The search is performed using a case-insensitive comparison. The
 * character encoding of the commit message itself is not respected. The
 * filter matches on raw UTF-8 byte sequences.
 *
 * @param pattern
 *            regular expression pattern to match.
 * @return a new filter that matches the given expression against the author
 *         name and address of a commit.
 */
public static RevFilter create(String pattern) {
  if (pattern.length() == 0)
    throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);
  if (SubStringRevFilter.safe(pattern))
    return new SubStringSearch(pattern);
  return new PatternSearch(pattern);
}
origin: sonia.jgit/org.eclipse.jgit

/**
 * Create a new committer filter.
 * <p>
 * An optimized substring search may be automatically selected if the
 * pattern does not contain any regular expression meta-characters.
 * <p>
 * The search is performed using a case-insensitive comparison. The
 * character encoding of the commit message itself is not respected. The
 * filter matches on raw UTF-8 byte sequences.
 *
 * @param pattern
 *            regular expression pattern to match.
 * @return a new filter that matches the given expression against the author
 *         name and address of a commit.
 */
public static RevFilter create(String pattern) {
  if (pattern.length() == 0)
    throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);
  if (SubStringRevFilter.safe(pattern))
    return new SubStringSearch(pattern);
  return new PatternSearch(pattern);
}
origin: berlam/github-bucket

/**
 * Create a new committer filter.
 * <p>
 * An optimized substring search may be automatically selected if the
 * pattern does not contain any regular expression meta-characters.
 * <p>
 * The search is performed using a case-insensitive comparison. The
 * character encoding of the commit message itself is not respected. The
 * filter matches on raw UTF-8 byte sequences.
 *
 * @param pattern
 *            regular expression pattern to match.
 * @return a new filter that matches the given expression against the author
 *         name and address of a commit.
 */
public static RevFilter create(String pattern) {
  if (pattern.length() == 0)
    throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);
  if (SubStringRevFilter.safe(pattern))
    return new SubStringSearch(pattern);
  return new PatternSearch(pattern);
}
org.eclipse.jgit.revwalk.filterCommitterRevFilter$PatternSearch

Most used methods

  • <init>
  • pattern

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now