BUG-5504: use Object.toString() without overrides in precondition 90/36290/2
authorRobert Varga <rovarga@cisco.com>
Wed, 16 Mar 2016 12:57:17 +0000 (13:57 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 29 Mar 2016 08:48:05 +0000 (08:48 +0000)
commit9c8e1b0cd23fed1e3f883e85e54a42c603c48c2c
tree8fc4b1edac9ef36cfec378d6ce4b0039782c31ab
parenta058586ca2b1143012a5af8a3bf0ac4340a5a0af
BUG-5504: use Object.toString() without overrides in precondition

The precondition check could end up using a lot of memory due to dump of the
data tree. Implement a simpler version and use that in the message.

Change-Id: I494cb92c7f4691d235e8ffac6f79c696e4ea0f48
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 414ea232f11da87dbdfbb1a7a10155b93e93b853)
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/InMemoryDataTree.java