Skip to content

Commit d54cf8a

Browse files
committed
./gradlew spotlessApply
1 parent ab87535 commit d54cf8a

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

custom-checks/src/test/java/io/opentelemetry/javaagent/customchecks/OtelInternalJavadocTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class OtelInternalJavadocTest {
1414
void test() {
1515
doTest(
1616
"internal/InternalJavadocPositiveCases.java",
17-
"""
17+
"""
1818
package io.opentelemetry.javaagent.customchecks.internal;
1919
2020
// BUG: Diagnostic contains: doesn't end with any of the applicable javadoc disclaimers
@@ -30,7 +30,7 @@ public static class Two {}
3030
""");
3131
doTest(
3232
"internal/InternalJavadocNegativeCases.java",
33-
"""
33+
"""
3434
package io.opentelemetry.javaagent.customchecks.internal;
3535
3636
/**

instrumentation-docs/src/test/java/io/opentelemetry/instrumentation/docs/auditors/SupportedLibrariesAuditorTest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ void testPerformAuditWithMissingItems() throws IOException, InterruptedException
7373
}
7474

7575
private static String createLocalSupportedLibrariesContent() {
76-
return """
76+
return
77+
"""
7778
# Supported libraries, frameworks, application servers, and JVMs
7879
7980
We automatically instrument and support a huge number of libraries, frameworks,
@@ -105,7 +106,8 @@ private static String createLocalSupportedLibrariesContent() {
105106
}
106107

107108
private static String createRemoteSupportedLibrariesContent() {
108-
return """
109+
return
110+
"""
109111
# Supported libraries, frameworks, application servers, and JVMs
110112
111113
We automatically instrument and support a huge number of libraries, frameworks,
@@ -137,7 +139,8 @@ private static String createRemoteSupportedLibrariesContent() {
137139
}
138140

139141
private static String createRemoteSupportedLibrariesContentMissing() {
140-
return """
142+
return
143+
"""
141144
# Supported libraries, frameworks, application servers, and JVMs
142145
143146
We automatically instrument and support a huge number of libraries, frameworks,

instrumentation-docs/src/test/java/io/opentelemetry/instrumentation/docs/auditors/SuppressionListAuditorTest.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void testGetAuditorName() {
8181
@Test
8282
void testParseDocumentationDisabledList() {
8383
String testFile =
84-
"""
84+
"""
8585
## Enable manual instrumentation only
8686
8787
You can suppress all auto instrumentations but have support for manual
@@ -116,7 +116,7 @@ void testParseDocumentationDisabledList() {
116116
@Test
117117
void testParseInstrumentationList() {
118118
String testList =
119-
"""
119+
"""
120120
libraries:
121121
activej:
122122
- name: activej-http-6.0
@@ -191,7 +191,8 @@ void testIdentifyMissingItemsWithHyphenatedMatch() {
191191
}
192192

193193
private static String createDisableListContent() {
194-
return """
194+
return
195+
"""
195196
## Enable manual instrumentation only
196197
197198
You can suppress all auto instrumentations but have support for manual
@@ -216,7 +217,8 @@ private static String createDisableListContent() {
216217
}
217218

218219
private static String createDisableListContentMissing() {
219-
return """
220+
return
221+
"""
220222
## Enable manual instrumentation only
221223
222224
You can suppress all auto instrumentations but have support for manual
@@ -240,7 +242,8 @@ private static String createDisableListContentMissing() {
240242
}
241243

242244
private static String createInstrumentationListContent() {
243-
return """
245+
return
246+
"""
244247
libraries:
245248
activej:
246249
- name: activej-http-6.0

0 commit comments

Comments
 (0)