[YANGTOOLS-865] Make interface RpcError & NormalizedNode extend Serializable Created: 15/Mar/18 Updated: 15/Mar/18 Resolved: 15/Mar/18 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Michael Vorburger | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In https://git.opendaylight.org/gerrit/#/c/69326/2/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/md/sal/dom/spi/DefaultDOMRpcResult.java, we noticed that perhaps it would make sense to make the interfaces RpcError as well as NormalizedNode extend Serializable. |
| Comments |
| Comment by Robert Varga [ 15/Mar/18 ] |
|
Serializacie is an implementation trait and therefore should never be attached to an interface. It most certainly has no place in NormalizedNode, as that is inherently a view. |