From 32f07981a740d97c248e44567be40d8ab53d824a Mon Sep 17 00:00:00 2001 From: Tony Tkacik Date: Thu, 12 Nov 2015 14:34:46 +0100 Subject: [PATCH] Preserve augmentation order in module. Change-Id: I5a868b7f2fa9a411d66f978784b3fdae2b52fe28 Signed-off-by: Tony Tkacik --- .../parser/stmt/rfc6020/effective/AbstractEffectiveModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<>(); -- 2.36.6