mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-20 00:04:27 +01:00
removed unused code
This commit is contained in:
@@ -186,18 +186,6 @@ public class Dependency extends EvidenceCollection implements Serializable, Comp
|
|||||||
return this.fileName;
|
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.
|
* Sets the file name of the dependency.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user