You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2023/10/22 14:19:18 UTC

[maven-filtering] branch master updated: Fix typos and grammar (#81)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-filtering.git


The following commit(s) were added to refs/heads/master by this push:
     new f2c1858  Fix typos and grammar (#81)
f2c1858 is described below

commit f2c1858f39c82350cfa96e39fdc4a77a5b7c91e7
Author: Michael Keppler <ba...@gmx.de>
AuthorDate: Sun Oct 22 16:19:14 2023 +0200

    Fix typos and grammar (#81)
---
 .../maven/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 5645601..f5a5cd6 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 class DefaultMavenResourcesFiltering implements MavenResourcesFiltering {
                 && 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 class DefaultMavenResourcesFiltering implements MavenResourcesFiltering {
                     + "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 @@ public class DefaultMavenResourcesFiltering implements MavenResourcesFiltering {
         }
 
         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()) {