diff options
author | Dominik Mizyn <d.mizyn@samsung.com> | 2019-05-29 12:22:27 +0200 |
---|---|---|
committer | Dominik Mizyn <d.mizyn@samsung.com> | 2019-05-29 16:37:08 +0200 |
commit | 788e99d836a75badf45dce96358d184aa9e549f2 (patch) | |
tree | d10fa98f8e0a162c2488f2d32bf67b280ad958d5 /ecomp-portal-FE-common/client/app/views/user-notifications-admin/user.notifications.modal.less | |
parent | ba546e970d779a5e87a07b3058a85e1446c39129 (diff) |
Sonar: Reduce cyclomatic complexity
Reduce the number of conditional operators for equals(). Improve
testEquals() to better cover this method.
This patch also:
* immediately returns expression instead of assigning it to the
temporary variable "str",
* adds the "@Override" annotation above equals() method signature.
Issue-ID: PORTAL-595
Change-Id: I15f600acce873eb3f22cc405d06a50890c7e87c3
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
Diffstat (limited to 'ecomp-portal-FE-common/client/app/views/user-notifications-admin/user.notifications.modal.less')
0 files changed, 0 insertions, 0 deletions