Skip to content

Commit ad60d02

Browse files
piyush kumar sadangiromani
piyush kumar sadangi
authored andcommitted
minor: use extractor's default project to be .yml
1 parent 12518f3 commit ad60d02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extractor/src/main/java/com/example/extractor/CheckstyleExampleExtractor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public static void main(final String[] args) throws Exception {
170170
*/
171171
public static void outputDefaultProjectsList(final String outputPath) {
172172
try (InputStream inputStream = CheckstyleExampleExtractor.class
173-
.getResourceAsStream("/list-of-projects.properties");
173+
.getResourceAsStream("/list-of-projects.yml");
174174
OutputStream outputStream = Files.newOutputStream(Path.of(outputPath))) {
175175

176176
final byte[] buffer = new byte[BUFFER_SIZE];

extractor/src/test/java/com/example/extractor/MainsLauncherTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class MainsLauncherTest {
5454
/**
5555
* The constant for default projects file.
5656
*/
57-
private static final String DEFAULT_PROJECTS_FILE = "list-of-projects.properties";
57+
private static final String DEFAULT_PROJECTS_FILE = "list-of-projects.yml";
5858

5959
/**
6060
* Tests the main method of CheckstyleExampleExtractor.

0 commit comments

Comments
 (0)