log
*/
- private static Logger log = org.apache.logging.log4j.LogManager.getLogger();
+ private static Logger log = org.apache.logging.log4j.LogManager.getLogger(ExportFormat.class);
/** Constant TXT_CSV="text/csv;charset=UTF-8"
*/
public static final String TXT_CSV = "text/csv;charset=UTF-8";
diff --git a/shared/src/main/java/org/eclipse/steady/shared/enums/Scope.java b/shared/src/main/java/org/eclipse/steady/shared/enums/Scope.java
index ca07e5a92..32fe2d5a9 100755
--- a/shared/src/main/java/org/eclipse/steady/shared/enums/Scope.java
+++ b/shared/src/main/java/org/eclipse/steady/shared/enums/Scope.java
@@ -35,7 +35,7 @@ public enum Scope {
IMPORT;
/** Constant log
*/
- private static final Logger log = org.apache.logging.log4j.LogManager.getLogger();
+ private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(Scope.class);
/**
* fromStringArray.
diff --git a/shared/src/main/java/org/eclipse/steady/shared/enums/VulnDepOrigin.java b/shared/src/main/java/org/eclipse/steady/shared/enums/VulnDepOrigin.java index cc1184d07..72575b931 100644 --- a/shared/src/main/java/org/eclipse/steady/shared/enums/VulnDepOrigin.java +++ b/shared/src/main/java/org/eclipse/steady/shared/enums/VulnDepOrigin.java @@ -33,7 +33,8 @@ public enum VulnDepOrigin { BUNDLEDAFFLIBID; /** Constantlog
*/
- private static final Logger log = org.apache.logging.log4j.LogManager.getLogger();
+ private static final Logger log =
+ org.apache.logging.log4j.LogManager.getLogger(VulnDepOrigin.class);
/**
* fromStringArray.
diff --git a/shared/src/main/java/org/eclipse/steady/shared/json/JsonReader.java b/shared/src/main/java/org/eclipse/steady/shared/json/JsonReader.java index 20c29a4e4..934f6f66e 100755 --- a/shared/src/main/java/org/eclipse/steady/shared/json/JsonReader.java +++ b/shared/src/main/java/org/eclipse/steady/shared/json/JsonReader.java @@ -31,7 +31,7 @@ */ public class JsonReaderwrite.
diff --git a/shared/src/main/java/org/eclipse/steady/shared/json/model/Artifact.java b/shared/src/main/java/org/eclipse/steady/shared/json/model/Artifact.java index 59331e985..63b2fcc9d 100755 --- a/shared/src/main/java/org/eclipse/steady/shared/json/model/Artifact.java +++ b/shared/src/main/java/org/eclipse/steady/shared/json/model/Artifact.java @@ -23,20 +23,20 @@ import java.nio.file.Paths; import java.util.regex.Pattern; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; + import org.apache.logging.log4j.Logger; import org.eclipse.steady.shared.enums.ProgrammingLanguage; import org.eclipse.steady.shared.util.VulasConfiguration; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - /** *Artifact class.
*/ @JsonIgnoreProperties(ignoreUnknown = true) public class Artifact implements Serializable, Comparable