mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
OC-13555 Fix AppCodeGenerateTest: testEncode1 and testCopy1
This commit is contained in:
@@ -378,7 +378,7 @@ public class FormatterUtil {
|
||||
if (treePrev.getElementType() == TokenType.WHITE_SPACE) {
|
||||
return treePrev;
|
||||
}
|
||||
else if (treePrev.getTextLength() == 0) {
|
||||
else if (treePrev.getTextLength() == 0 && !treePrev.getElementType().isLeftBound()) {
|
||||
return getWsCandidate(treePrev);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user