diff options
author | Joss Armstrong <joss.armstrong@ericsson.com> | 2019-02-26 11:05:43 +0000 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-02-26 20:37:31 +0000 |
commit | 9b7dbdcd6a120da003a084ce83cc3f482c5c6d5b (patch) | |
tree | d1b6c09d8853dea10a6702030efd75f2143983f5 /appc-config/appc-flow-controller/provider/src/main | |
parent | fd68eae616494506aca03b267e22fd62f7d5b821 (diff) |
Line and branch coverage for Transaction
Increased line coverage from 54% to 99%
Added coverage for 50 branches resolving major Sonar issue
Issue-ID: APPC-1499
Change-Id: I10dba08c62247401ee4c9fb08fe65f3854445fb5
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
Diffstat (limited to 'appc-config/appc-flow-controller/provider/src/main')
-rw-r--r-- | appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/data/Transaction.java | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/data/Transaction.java b/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/data/Transaction.java index 8b4422a77..8e537ba9f 100644 --- a/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/data/Transaction.java +++ b/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/data/Transaction.java @@ -3,6 +3,8 @@ * ONAP : APPC * ================================================================================ * Copyright (C) 2017-18 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Modifications Copyright (C) 2019 Ericsson * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,14 +23,8 @@ package org.onap.appc.flow.controller.data; -import java.io.IOException; -import java.util.ArrayList; import java.util.List; - import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.JsonGenerationException; -import com.fasterxml.jackson.databind.JsonMappingException; -import com.fasterxml.jackson.databind.ObjectMapper; public class Transaction { @@ -357,9 +353,4 @@ public class Transaction { return false; return true; } - - } - - - |