X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-bierman02%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2Ftest%2FDummyRpcResult.java;fp=restconf%2Frestconf-nb-bierman02%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2Ftest%2FDummyRpcResult.java;h=ff0193745f70f28c70be407a2d9c08b9d975e97b;hb=cee4ffb9ad70be2129dddd722086f2219f613115;hp=184f5755fb1d96a404c0966f6ea149843ffbddeb;hpb=74a5603f11edae5a6c071d35e8a2c33845440df9;p=netconf.git diff --git a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java index 184f5755fb..ff0193745f 100644 --- a/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java +++ b/restconf/restconf-nb-bierman02/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java @@ -7,7 +7,7 @@ */ package org.opendaylight.controller.sal.restconf.impl.test; -import java.util.Collection; +import java.util.List; import org.opendaylight.yangtools.yang.common.RpcError; import org.opendaylight.yangtools.yang.common.RpcResult; @@ -15,7 +15,7 @@ public class DummyRpcResult implements RpcResult { private final boolean isSuccessful; private final T result; - private final Collection errors; + private final List errors; public DummyRpcResult() { isSuccessful = false; @@ -40,14 +40,14 @@ public class DummyRpcResult implements RpcResult { } @Override - public Collection getErrors() { + public List getErrors() { return errors; } public static class Builder { private boolean isSuccessful; private T result; - private Collection errors; + private List errors; public Builder isSuccessful(final boolean successful) { this.isSuccessful = successful; @@ -59,7 +59,7 @@ public class DummyRpcResult implements RpcResult { return this; } - public Builder errors(final Collection newErrors) { + public Builder errors(final List newErrors) { this.errors = newErrors; return this; }