diff options
author | Francis Toth <francis.toth@yoppworks.com> | 2020-05-08 16:31:04 -0400 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-05-21 06:34:12 +0000 |
commit | 0a65c2fe97240e892c8c65af2c9e6048aa350857 (patch) | |
tree | aa9d1f617c670b7c1b19bfcc0846bc59e0f6e3ef /catalog-model/src/test/java/org | |
parent | b8cea3e1099d47a61c95709d26d1742446d8e2c5 (diff) |
Refactor ArtifactsBusinessLogic::getRelatedComponentInstance
This commit aims to refactor the ArtifactsBusinessLogic::getRelatedComponentInstance, and getRelatedComponentComponentInstance. It improves how Either is used, fixes a potential NullPointerException, reduces some duplication along with cyclomatic complexity.
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I2503f5e2a697f793e4dcf32d7793f83c4a25ff46
Issue-ID: SDC-2812
Diffstat (limited to 'catalog-model/src/test/java/org')
0 files changed, 0 insertions, 0 deletions