- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ScheduledThreadPoolExecutor s =
new ScheduledThreadPoolExecutor(corePoolSize)
ThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
String str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
- Smart code suggestions by Codota
}
/** * 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); }
@Override public RevFilter clone() { return new PatternSearch(pattern()); } }
@Override public RevFilter clone() { return new PatternSearch(pattern()); } }
@Override public RevFilter clone() { return new PatternSearch(pattern()); } }
@Override public RevFilter clone() { return new PatternSearch(pattern()); } }
/** * 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); }
/** * 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); }
/** * 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); }