BUG-1023: fix warnings emitted during loading of OF13 models 12/7112/1
authorRobert Varga <rovarga@cisco.com>
Fri, 16 May 2014 10:29:29 +0000 (12:29 +0200)
committerRobert Varga <rovarga@cisco.com>
Fri, 16 May 2014 12:01:10 +0000 (14:01 +0200)
commit1aa9fb4076f179b795bd08273f7daf5d2aa48287
treef7fead34e2cd5ac8c681dee35c01735f52c89cad
parent6f0eeb681698cb64eadd97ff88f92d0b31b545a1
BUG-1023: fix warnings emitted during loading of OF13 models

This fixes a thinko when multiple entities exist with the same base
schema path.

Also reformats the file, adds final keywords and logging which was used
to find the problem. Finally it cleans up exception formatting to
improve readability.

Change-Id: Iab6b7959d7a305bf790d5ca38ad5f4452b185987
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java