Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Won't Do
-
None
-
None
-
None
Description
We currently have seven distinct implementations of this method, which really come down to following behaviors:
- delegates
- throws UnsupportedOperationException
- guards path argument for a type before returning a constant
- looks up in a pre-computed map
- perfoms a cached lookup
Options 3-5 are only accessible through SchemaAwareApplyOperation, hence we should be to make the method bimorphic and delegate internally to a utility class.
Attachments
Issue Links
- relates to
-
YANGTOOLS-951 Fix ListEntry-rooted InMemoryDataTree integration
-
- Resolved
-