mirror of
https://github.com/github/codeql.git
synced 2025-12-30 23:58:15 +01:00
JS: Remove unneeded replace call
This commit is contained in:
@@ -1866,7 +1866,7 @@ public class JSDocParser {
|
||||
Tag tag;
|
||||
String description;
|
||||
|
||||
source = comment.replaceAll("^/?\\*+", "").replaceAll("\\*+/?\\z", "");
|
||||
source = comment;
|
||||
|
||||
length = source.length();
|
||||
index = 0;
|
||||
|
||||
Reference in New Issue
Block a user