From a4768386cc94104fbe6140340fd480779e445e58 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 10 Sep 2017 08:39:33 -0400 Subject: [PATCH] removed unused code --- .../owasp/dependencycheck/dependency/Dependency.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java index 95f336c0a..83e114ed0 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java @@ -186,18 +186,6 @@ public class Dependency extends EvidenceCollection implements Serializable, Comp return this.fileName; } - /** - * Returns the file name of the dependency with the backslash escaped for - * use in JavaScript. This is a complete hack as I could not get the replace - * to work in the template itself. - * - * @return the file name of the dependency with the backslash escaped for - * use in JavaScript - */ - public String getFileNameForJavaScript() { - return this.fileName.replace("\\", "\\\\"); - } - /** * Sets the file name of the dependency. *