diff options
author | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-11-20 17:52:50 +0200 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2018-11-25 10:48:33 +0000 |
commit | 622df67ead8cf5b4640bde4662a52bd201269d0c (patch) | |
tree | 3c4f9022748066f0dda71a0289effe9c475aff09 /openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/src/main | |
parent | d3ee3a2f05f2c5898f92891527c64ce7b055b34e (diff) |
Code quality improvements
Change-Id: I63a28a4c40d143876258e817bdf537d85c2e9f8e
Issue-ID: SDC-1946
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/src/main')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/src/main/java/org/openecomp/sdc/action/types/Action.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/src/main/java/org/openecomp/sdc/action/types/Action.java b/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/src/main/java/org/openecomp/sdc/action/types/Action.java index 0acd051004..b7d5568c8c 100644 --- a/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/src/main/java/org/openecomp/sdc/action/types/Action.java +++ b/openecomp-be/lib/openecomp-sdc-action-lib/openecomp-sdc-action-api/src/main/java/org/openecomp/sdc/action/types/Action.java @@ -261,11 +261,8 @@ public class Action implements Comparable { if (!version.equals(action.version)) { return false; } - if (!name.equals(action.name)) { - return false; - } - return true; + return name.equals(action.name); } @Override |