@Nullable public String getTaskComment(@NotNull Task task) { return isShouldFormatCommitMessage() ? myCommitMessageFormat .replace("{id}", task.getId()) .replace("{summary}", task.getSummary()) : null; }