Skip to content

Commit e9cf3b8

Browse files
committed
remove unnecessary charset
1 parent 734d488 commit e9cf3b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/DocGeneratorApplication.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import io.opentelemetry.instrumentation.docs.utils.YamlHelper;
1313
import java.io.BufferedWriter;
1414
import java.io.IOException;
15-
import java.nio.charset.Charset;
1615
import java.nio.file.Files;
1716
import java.nio.file.Paths;
1817
import java.util.List;
@@ -38,8 +37,7 @@ public static void main(String[] args) throws IOException {
3837
List<InstrumentationModule> modules = new InstrumentationAnalyzer(fileManager).analyze();
3938

4039
try (BufferedWriter writer =
41-
Files.newBufferedWriter(
42-
Paths.get(baseRepoPath + "docs/instrumentation-list.yaml"), Charset.defaultCharset())) {
40+
Files.newBufferedWriter(Paths.get(baseRepoPath + "docs/instrumentation-list.yaml"))) {
4341
writer.write("# This file is generated and should not be manually edited.\n");
4442
writer.write("# The structure and contents are a work in progress and subject to change.\n");
4543
writer.write(

0 commit comments

Comments
 (0)