mirror of
https://github.com/apache/nifi.git
synced 2025-02-07 18:48:51 +00:00
- Extracted common logic from setState() and replace() into modifyState() - Removed redundant code from createNode() because exceptions are handled on the caller side - NodeExistsException and InterruptedException are handled in setState() and replace() - Also used KeeperException's subclasses instead of KeeperException.code() This closes #7324 Signed-off-by: David Handermann <exceptionfactory@apache.org>