public @Nullable IntSet getCommitsForSubstring(@NotNull CharSequence string) throws StorageException {
    IntSet trigrams = TrigramBuilder.getTrigrams(string);
    return trigrams.isEmpty() ? null : getCommitsWithAllKeys(trigrams);
  }
public @Nullable IntSet getCommitsForSubstring(@NotNull CharSequence string)