mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for EA-39399 - assert: DomInvocationHandler.copyFrom
This commit is contained in:
@@ -161,7 +161,7 @@ public abstract class DomInvocationHandler<T extends AbstractDomChildDescription
|
||||
|
||||
public void copyFrom(final DomElement other) {
|
||||
if (other == getProxy()) return;
|
||||
assert other.getDomElementType().equals(myType);
|
||||
assert other.getDomElementType().equals(myType) : "Can't copy from " + other.getDomElementType() + " to " + myType;
|
||||
|
||||
if (!DomUtil.hasXml(other)) {
|
||||
undefine();
|
||||
|
||||
Reference in New Issue
Block a user