Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG 1839 - HTTP delete of non existing data
[controller.git]
/
opendaylight
/
md-sal
/
sal-rest-connector
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
sal
/
restconf
/
impl
/
test
/
DummyRpcResult.java
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 acc5c009350ef946e01c0366fbe462d0ce13576c..3c545c06e95054f70dd4ab21c42912179f37990d 100644
(file)
--- 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;
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<T> implements RpcResult<T> {
public class DummyRpcResult<T> implements RpcResult<T> {
@@
-23,7
+23,7
@@
public class DummyRpcResult<T> implements RpcResult<T> {
errors = null;
}
errors = null;
}
- private DummyRpcResult(Builder<T> builder) {
+ private DummyRpcResult(
final
Builder<T> builder) {
isSuccessful = builder.isSuccessful;
result = builder.result;
errors = builder.errors;
isSuccessful = builder.isSuccessful;
result = builder.result;
errors = builder.errors;
@@
-49,17
+49,17
@@
public class DummyRpcResult<T> implements RpcResult<T> {
private T result;
private Collection<RpcError> errors;
private T result;
private Collection<RpcError> errors;
- public Builder<T> isSuccessful(boolean isSuccessful) {
+ public Builder<T> isSuccessful(
final
boolean isSuccessful) {
this.isSuccessful = isSuccessful;
return this;
}
this.isSuccessful = isSuccessful;
return this;
}
- public Builder<T> result(T result) {
+ public Builder<T> result(
final
T result) {
this.result = result;
return this;
}
this.result = result;
return this;
}
- public Builder<T> errors(Collection<RpcError> errors) {
+ public Builder<T> errors(
final
Collection<RpcError> errors) {
this.errors = errors;
return this;
}
this.errors = errors;
return this;
}