BUG-1425: fix builder's implementation of equals() 68/9868/2
authorRobert Varga <rovarga@cisco.com>
Mon, 11 Aug 2014 21:39:36 +0000 (23:39 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 12 Aug 2014 12:56:15 +0000 (14:56 +0200)
commit7ea2c0647d716cf113ed254bb73d4379158135c0
tree8a38c820538efaf201ea42f33ea3025c63c15465
parenta05bf74d0afd7850717c0c2003ead3b3d088ce50
BUG-1425: fix builder's implementation of equals()

With the advent of LazyDataObject, we have two implementation which need
to compare as equal. LazyObject.equals(builderObject) already works, but
we need the revers to be true, too. This patch sets out to do exactly
that.

Change-Id: I931f66a9088451524a842f6a67e8492ac922fd3d
Signed-off-by: Robert Varga <rovarga@cisco.com>
code-generator/binding-java-api-generator/src/main/java/org/opendaylight/yangtools/sal/java/api/generator/BuilderTemplate.xtend