Skip to content

Commit 9b4bdae

Browse files
committed
JS: Remove unneeded replace call
1 parent 74ad6e8 commit 9b4bdae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/extractor/src/com/semmle/js/parser/JSDocParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ public Pair<String, List<Tag>> parse(String comment) {
18661866
Tag tag;
18671867
String description;
18681868

1869-
source = comment.replaceAll("^/?\\*+", "").replaceAll("\\*+/?\\z", "");
1869+
source = comment;
18701870

18711871
length = source.length();
18721872
index = 0;

0 commit comments

Comments
 (0)