Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

@BugPattern(
summary =
"This public internal class doesn't end with any of the applicable javadoc disclaimers: \""
"This public internal class doesn't contain any of the applicable javadoc disclaimers: \""
+ OtelInternalJavadoc.EXPECTED_INTERNAL_COMMENT_V1
+ "\", or \""
+ OtelInternalJavadoc.EXPECTED_INTERNAL_COMMENT_V2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ void positiveCases() {
" * SPDX-License-Identifier: Apache-2.0",
" */",
"package io.opentelemetry.gradle.customchecks.internal;",
"// BUG: Diagnostic contains: doesn't end with any of the applicable javadoc disclaimers",
"// BUG: Diagnostic contains: doesn't contain any of the applicable javadoc disclaimers",
"public class InternalJavadocPositiveCases {",
" // BUG: Diagnostic contains: doesn't end with any of the applicable javadoc disclaimers",
" // BUG: Diagnostic contains: doesn't contain any of the applicable javadoc disclaimers",
" public static class One {}",
" /** Doesn't have the disclaimer. */",
" // BUG: Diagnostic contains: doesn't end with any of the applicable javadoc disclaimers",
" // BUG: Diagnostic contains: doesn't contain any of the applicable javadoc disclaimers",
" public static class Two {}",
"}")
.doTest();
Expand Down
Loading