Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions custom-checks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ dependencies {

otelJava {
minJavaVersionSupported.set(JavaVersion.VERSION_17)
// OtelInternalJavadocTest fails with 25-ea
maxJavaVersionForTests.set(JavaVersion.VERSION_24)
}

// We cannot use "--release" javac option here because that will forbid exporting com.sun.tools package.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ private static String getJavadoc(VisitorState state) {
if (docCommentTree == null) {
return null;
}
return docCommentTree.toString().replace("\n", "");
return docCommentTree.toString().replace("\n", " ").replace(" * ", " ").replaceAll("\\s+", " ");
}
}