From: Tony Tkacik Date: Thu, 12 Nov 2015 13:34:46 +0000 (+0100) Subject: Preserve augmentation order in module. X-Git-Tag: release/beryllium~148 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=32f07981a740d97c248e44567be40d8ab53d824a;p=yangtools.git Preserve augmentation order in module. Change-Id: I5a868b7f2fa9a411d66f978784b3fdae2b52fe28 Signed-off-by: Tony Tkacik --- diff --git a/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc6020/effective/AbstractEffectiveModule.java b/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc6020/effective/AbstractEffectiveModule.java index 730edbc320..aa33e60e39 100644 --- a/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc6020/effective/AbstractEffectiveModule.java +++ b/yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc6020/effective/AbstractEffectiveModule.java @@ -131,7 +131,7 @@ abstract class AbstractEffectiveModule> exte effectiveSubstatements.addAll(substatementsOfSubmodules); List unknownNodesInit = new ArrayList<>(); - Set augmentationsInit = new HashSet<>(); + Set augmentationsInit = new LinkedHashSet<>(); Set importsInit = new HashSet<>(); Set notificationsInit = new HashSet<>(); Set rpcsInit = new HashSet<>();