Split up tryToCompletePhase() 77/87777/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 14 Feb 2020 09:52:07 +0000 (10:52 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 16 Feb 2020 09:45:22 +0000 (10:45 +0100)
commit0651edd9ee098768ce89dfc2b92aa6710c7b0f35
treef236caf9578edc6d4a0a70e0dfccc0322979ba2c
parent228e16cfc78f6cdc98c072e054cdc4546cd8b629
Split up tryToCompletePhase()

This method is incredibly hot, split it up so that it is easier
to optimize as well as profile.

JIRA: YANGTOOLS-652
Change-Id: I3f87a00061c5f45f80364de3ba1a249beaa25b7f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/StatementContextBase.java