Skip to content

Commit db0f7b4

Browse files
committed
clean up, us consistent separator for log messages
(cherry picked from commit 3007024)
1 parent 2e321a6 commit db0f7b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/openapiprocessor/maven/ProcessMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void execute () throws MojoExecutionException {
5252

5353
File source = apiPath.getParentFile ();
5454
String relativeSource = stripBaseDir (source.getAbsolutePath ());
55-
getLog().info(String.format ("%10s - ${project.basedir}%s%s", "apiPath", File.pathSeparator, relativeSource));
55+
getLog().info(String.format ("%10s - ${project.basedir}%s%s", "apiPath", File.separator, relativeSource));
5656

5757
String targetDir = (String) properties.computeIfAbsent (TARGET_DIR, k -> project.getBuild().getDirectory() + File.separator + "generated-sources" + File.separator + id);
5858

@@ -61,7 +61,7 @@ public void execute () throws MojoExecutionException {
6161
}
6262

6363
String relativeTargetDir = stripBaseDir (targetDir);
64-
getLog().info(String.format ("%10s - ${project.basedir}%s%s", "targetDir", File.pathSeparator, relativeTargetDir));
64+
getLog().info(String.format ("%10s - ${project.basedir}%s%s", "targetDir", File.separator, relativeTargetDir));
6565

6666
File targetRoot = new File(targetDir);
6767
UpToDateCheck upToDateCheck = new UpToDateCheck ();

0 commit comments

Comments
 (0)