Skip to content

Commit 39cfecf

Browse files
committed
Fix
1 parent a298981 commit 39cfecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom-checks/src/main/java/io/opentelemetry/gradle/customchecks/OtelInternalJavadoc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ private static String getJavadoc(VisitorState state) {
7676
if (docCommentTree == null) {
7777
return null;
7878
}
79-
return docCommentTree.toString().replace("\n", "");
79+
return docCommentTree.toString().replace("\n", " ").replace(" * ", " ").replaceAll("\\s+", " ");
8080
}
8181
}

0 commit comments

Comments
 (0)