missing placeholder quoting
This commit is contained in:
@@ -109,11 +109,11 @@ public class DefinitionsDocumentBuilder extends MarkupDocumentBuilder {
|
|||||||
if (checkThatDefinitionIsNotInIgnoreList(definitionName)) {
|
if (checkThatDefinitionIsNotInIgnoreList(definitionName)) {
|
||||||
buildDefinition(definitionName, model);
|
buildDefinition(definitionName, model);
|
||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
logger.info("Definition processed : {}", definitionName);
|
logger.info("Definition processed : '{}'", definitionName);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("Definition was ignored : {}", definitionName);
|
logger.debug("Definition was ignored : '{}'", definitionName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -162,7 +162,7 @@ public class DefinitionsDocumentBuilder extends MarkupDocumentBuilder {
|
|||||||
Path definitionFile = outputPath.resolve(resolveDefinitionDocument(definitionName));
|
Path definitionFile = outputPath.resolve(resolveDefinitionDocument(definitionName));
|
||||||
defDocBuilder.writeToFileWithoutExtension(definitionFile, StandardCharsets.UTF_8);
|
defDocBuilder.writeToFileWithoutExtension(definitionFile, StandardCharsets.UTF_8);
|
||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
logger.info("Separate definition file produced : {}", definitionFile);
|
logger.info("Separate definition file produced : '{}'", definitionFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
definitionRef(definitionName, this.markupDocBuilder);
|
definitionRef(definitionName, this.markupDocBuilder);
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ public class PathsDocumentBuilder extends MarkupDocumentBuilder {
|
|||||||
java.nio.file.Path operationFile = outputPath.resolve(resolveOperationDocument(operation));
|
java.nio.file.Path operationFile = outputPath.resolve(resolveOperationDocument(operation));
|
||||||
pathDocBuilder.writeToFileWithoutExtension(operationFile, StandardCharsets.UTF_8);
|
pathDocBuilder.writeToFileWithoutExtension(operationFile, StandardCharsets.UTF_8);
|
||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
logger.info("Separate operation file produced : {}", operationFile);
|
logger.info("Separate operation file produced : '{}'", operationFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
buildOperationRef(operation, this.markupDocBuilder);
|
buildOperationRef(operation, this.markupDocBuilder);
|
||||||
@@ -255,7 +255,7 @@ public class PathsDocumentBuilder extends MarkupDocumentBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
logger.info("Operation processed : {} (normalized id = '{}')", operation, normalizeName(operation.getId()));
|
logger.info("Operation processed : '{}' (normalized id = '{}')", operation, normalizeName(operation.getId()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class DiffUtils {
|
|||||||
try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(expectedDirectory)) {
|
try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(expectedDirectory)) {
|
||||||
for (Path expectedFile : directoryStream) {
|
for (Path expectedFile : directoryStream) {
|
||||||
Path actualFile = actualDirectory.resolve(expectedFile.getFileName());
|
Path actualFile = actualDirectory.resolve(expectedFile.getFileName());
|
||||||
LOGGER.info("Diffing file {} with {}", actualFile, expectedFile);
|
LOGGER.info("Diffing file '{}' with '{}'", actualFile, expectedFile);
|
||||||
DiffAssertions.assertThat(actualFile).isEqualTo(expectedFile, reportPath);
|
DiffAssertions.assertThat(actualFile).isEqualTo(expectedFile, reportPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -49,7 +49,7 @@ public class DiffUtils {
|
|||||||
|
|
||||||
public static void assertThatFileIsEqual(Path expectedFile, Path actualFile, String reportName) {
|
public static void assertThatFileIsEqual(Path expectedFile, Path actualFile, String reportName) {
|
||||||
Path reportPath = Paths.get("build/diff-report/", reportName);
|
Path reportPath = Paths.get("build/diff-report/", reportName);
|
||||||
LOGGER.info("Diffing file {} with {}", actualFile, expectedFile);
|
LOGGER.info("Diffing file '{}' with '{}'", actualFile, expectedFile);
|
||||||
DiffAssertions.assertThat(actualFile).isEqualTo(expectedFile, reportPath);
|
DiffAssertions.assertThat(actualFile).isEqualTo(expectedFile, reportPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user