Emmet: fix logging message

This commit is contained in:
Alexander Zolotov
2014-05-06 19:44:55 +04:00
parent 83deceb1d0
commit 88dcca7566
@@ -148,7 +148,7 @@ public class LiveTemplateBuilder {
private <T> List<T> getListWithLimit(List<T> list) {
if (mySegmentLimit > 0 && list.size() > mySegmentLimit) {
LOGGER.warn("Template with more than 100 segments had been build. Text: " + myText);
LOGGER.warn("Template with more than " + mySegmentLimit + " segments had been build (" + list.size() + "). Text: " + myText);
return list.subList(0, Math.min(list.size(), mySegmentLimit));
}
return list;