RPC statement should refuse to get copied 72/94672/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 19 Jan 2021 21:54:59 +0000 (22:54 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 19 Jan 2021 22:24:51 +0000 (23:24 +0100)
commit64e2cf9230b6c1b836c01281518d2275bf1fc4fc
treed52c679d836effaff32cd15e70fac1137ced543e
parentfc9f0211809fea4f93ce20f9d3da7778cd1fab04
RPC statement should refuse to get copied

RPCs cannot be defined inside reusable constructs and therefore
they should never be copied. Use the appropriate policy.

JIRA: YANGTOOLS-1195
Change-Id: I4cbf582cac0a4865447bc3782cf1771c96d7cba3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/BaseSchemaTreeStatementSupport.java
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/rpc/RpcStatementSupport.java