diff options
author | k.kazak <k.kazak@samsung.com> | 2019-02-22 09:00:16 +0100 |
---|---|---|
committer | k.kazak <k.kazak@samsung.com> | 2019-02-22 09:00:16 +0100 |
commit | edc2b5329e4dde7b5dcb01b8a8bccf51a8064131 (patch) | |
tree | 8b32df089e0976af75c73e3d02af99fedfa1584e /mso-api-handlers/mso-api-handler-infra | |
parent | f8842dbd4065e0b90d4ed0d4af9e4cc72ca218dd (diff) |
fix potential nullpointer from sonar
MsoMulticloudUtils: multicloudClient may be null
throw MsoException if it is null (instead of NullPointer)
removed unnecessary StackInfo object creation
using format specifiers for a logger instead of String concatenation
removed else block to make the code easier to read
Added tests for the method
Change-Id: I80d2e0ba2ef2d20c488cdfcf103d9cfa5784ab65
Issue-ID: SO-1516
Signed-off-by: k.kazak <k.kazak@samsung.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra')
0 files changed, 0 insertions, 0 deletions