From a59fdcabd0bb7686479d88842179b4ddfeb3f5f5 Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Sat, 7 Oct 2023 14:27:52 +0200 Subject: [PATCH] Fix typos and grammar --- .../shared/filtering/DefaultMavenResourcesFiltering.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/maven/shared/filtering/DefaultMavenResourcesFiltering.java b/src/main/java/org/apache/maven/shared/filtering/DefaultMavenResourcesFiltering.java index 5645601a..f5a5cd63 100644 --- a/src/main/java/org/apache/maven/shared/filtering/DefaultMavenResourcesFiltering.java +++ b/src/main/java/org/apache/maven/shared/filtering/DefaultMavenResourcesFiltering.java @@ -302,7 +302,7 @@ public void filterResources(MavenResourcesExecution mavenResourcesExecution) thr && isFilteringUsed && propertiesFiles.size() > 0) { // @todo Sometime in the future we should change this to be a warning - LOGGER.info("The encoding used to copy filtered properties files have not been set." + LOGGER.info("The encoding used to copy filtered properties files has not been set." + " This means that the same encoding will be used to copy filtered properties files" + " as when copying other filtered resources. This might not be what you want!" + " Run your build with --debug to see which files might be affected." @@ -311,7 +311,7 @@ public void filterResources(MavenResourcesExecution mavenResourcesExecution) thr + "examples/filtering-properties-files.html"); StringBuilder affectedFiles = new StringBuilder(); - affectedFiles.append("Here is a list of the filtered properties files in you project that might be" + affectedFiles.append("Here is a list of the filtered properties files in your project that might be" + " affected by encoding problems: "); for (File propertiesFile : propertiesFiles) { affectedFiles.append(System.lineSeparator()).append(" - ").append(propertiesFile.getPath()); @@ -433,7 +433,7 @@ private void copyDirectoryLayout(File sourceDirectory, File destinationDirectory } if (!sourceDirectory.exists()) { - throw new IOException("Source directory doesn't exists (" + sourceDirectory.getAbsolutePath() + ")."); + throw new IOException("Source directory doesn't exist (" + sourceDirectory.getAbsolutePath() + ")."); } for (String name : scanner.getIncludedDirectories()) {