mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for EA-33672 - IOE: GroovyStringLiteralManipulator.handleContentChange
This commit is contained in:
+3
-1
@@ -27,7 +27,9 @@ public class GroovyStringLiteralManipulator extends AbstractElementManipulator<G
|
||||
private static final Logger LOG = Logger.getInstance(GroovyStringLiteralManipulator.class);
|
||||
|
||||
public GrLiteralImpl handleContentChange(GrLiteral expr, TextRange range, String newContent) throws IncorrectOperationException {
|
||||
if (!(expr.getValue() instanceof String)) throw new IncorrectOperationException("cannot handle content change");
|
||||
if (!(expr.getValue() instanceof String)) {
|
||||
throw new IncorrectOperationException("cannot handle content change, expr.getValue()=" + expr.getValue());
|
||||
}
|
||||
|
||||
LOG.assertTrue(expr instanceof GrLiteralImpl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user