mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
better handling of EA-53318
This commit is contained in:
@@ -609,7 +609,11 @@ public class JavaDocInfoGenerator {
|
||||
text = "\"" + StringUtil.trimLog(text, 120) + "\"";
|
||||
}
|
||||
else if (type.equalsToText("char")) text = "'" + text + "'";
|
||||
initializer = instance.getElementFactory().createExpressionFromText(text, variable);
|
||||
try {
|
||||
initializer = instance.getElementFactory().createExpressionFromText(text, variable);
|
||||
} catch (IncorrectOperationException ex) {
|
||||
LOG.error(text, ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user