mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
@NotNull namespace
This commit is contained in:
@@ -787,7 +787,7 @@ public abstract class DomInvocationHandler<T extends AbstractDomChildDescription
|
||||
@Override
|
||||
public DomElement fun(DomStub stub) {
|
||||
if (stub instanceof ElementStub && ((ElementStub)stub).isCustom()) {
|
||||
EvaluatedXmlName name = new DummyEvaluatedXmlName(stub.getName(), null);
|
||||
EvaluatedXmlName name = new DummyEvaluatedXmlName(stub.getName(), "");
|
||||
return new CollectionElementInvocationHandler(name, (CustomDomChildrenDescriptionImpl)description, myManager, (ElementStub)stub).getProxy();
|
||||
}
|
||||
return null;
|
||||
|
||||
@@ -27,11 +27,11 @@ public class DummyEvaluatedXmlName implements EvaluatedXmlName {
|
||||
private final XmlName myXmlName;
|
||||
private final String myNamespace;
|
||||
|
||||
public DummyEvaluatedXmlName(final String localName, final String namespace) {
|
||||
public DummyEvaluatedXmlName(final String localName, @NotNull final String namespace) {
|
||||
this(new XmlName(localName), namespace);
|
||||
}
|
||||
|
||||
public DummyEvaluatedXmlName(final XmlName xmlName, final String namespace) {
|
||||
public DummyEvaluatedXmlName(final XmlName xmlName, @NotNull final String namespace) {
|
||||
myXmlName = xmlName;
|
||||
myNamespace = namespace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user