PropertyFoldingBuilder: text.equals(callSourcePsi.getText()) condition removed

This commit is contained in:
Nicolay Mitropolsky
2018-05-19 12:20:49 +03:00
parent 477d151823
commit 2a7e98e986
@@ -170,9 +170,6 @@ public class PropertyFoldingBuilder extends FoldingBuilderEx {
text = text.replace("{" + (i - 1) + "}", value.toString());
}
if (text != null) {
if (callSourcePsi != null && !text.equals(callSourcePsi.getText())) {
text = text.replace("''", "'");
}
return text.length() > FOLD_MAX_LENGTH ? text.substring(0, FOLD_MAX_LENGTH - 3) + "...\"" : text;
}
}