private void warnTooManySegments(int size) {
    LOGGER.warn("Too many (" + size + " with the limit of " + mySegmentLimit + ") segments were requested" +
                " for the template with the text: " + myText);
  }
private void warnTooManySegments(int size)