You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/01/28 14:22:43 UTC
[commons-release-plugin] branch master updated: "ZIP" is in uppercase
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 774bb4b "ZIP" is in uppercase
774bb4b is described below
commit 774bb4bf7e3642660e0d44fc4266fc0e50aa8db4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 28 09:22:39 2023 -0500
"ZIP" is in uppercase
---
.../commons/release/plugin/mojos/CommonsSiteCompressionMojo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java
index 5d7c773..b412e50 100755
--- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java
+++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsSiteCompressionMojo.java
@@ -151,7 +151,7 @@ public class CommonsSiteCompressionMojo extends AbstractMojo {
.toPath());
ZipOutputStream zos = new ZipOutputStream(fos)) {
for (final File file : fileList) {
- if (!file.isDirectory()) { // we only zip files, not directories
+ if (!file.isDirectory()) { // we only ZIP files, not directories
addToZip(directoryToZip, file, zos);
}
}
@@ -159,7 +159,7 @@ public class CommonsSiteCompressionMojo extends AbstractMojo {
}
/**
- * Given the <code>directoryToZip</code> we add the <code>file</code> to the zip archive represented by
+ * Given the <code>directoryToZip</code> we add the <code>file</code> to the ZIP archive represented by
* <code>zos</code>.
*
* @param directoryToZip a {@link File} representing the directory from which the file exists that we are