X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2Ftest%2FDummyRpcResult.java;h=3c545c06e95054f70dd4ab21c42912179f37990d;hp=acc5c009350ef946e01c0366fbe462d0ce13576c;hb=c222e37f2a0f0f3f6266242fbea2d3b018f4e6e3;hpb=405ea7ce68d22bd3d2501857c5253793b581b086 diff --git a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java index acc5c00935..3c545c06e9 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java +++ b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/DummyRpcResult.java @@ -8,8 +8,8 @@ package org.opendaylight.controller.sal.restconf.impl.test; import java.util.Collection; - -import org.opendaylight.yangtools.yang.common.*; +import org.opendaylight.yangtools.yang.common.RpcError; +import org.opendaylight.yangtools.yang.common.RpcResult; public class DummyRpcResult implements RpcResult { @@ -23,7 +23,7 @@ public class DummyRpcResult implements RpcResult { errors = null; } - private DummyRpcResult(Builder builder) { + private DummyRpcResult(final Builder builder) { isSuccessful = builder.isSuccessful; result = builder.result; errors = builder.errors; @@ -49,17 +49,17 @@ public class DummyRpcResult implements RpcResult { private T result; private Collection errors; - public Builder isSuccessful(boolean isSuccessful) { + public Builder isSuccessful(final boolean isSuccessful) { this.isSuccessful = isSuccessful; return this; } - public Builder result(T result) { + public Builder result(final T result) { this.result = result; return this; } - public Builder errors(Collection errors) { + public Builder errors(final Collection errors) { this.errors = errors; return this; }