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 2018/05/30 17:12:54 UTC

commons-release-plugin git commit: Don't hide class' ivar name.

Repository: commons-release-plugin
Updated Branches:
  refs/heads/master d93fdf5e7 -> c476f024e


Don't hide class' ivar name.

Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/c476f024
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/c476f024
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/c476f024

Branch: refs/heads/master
Commit: c476f024e1f2e7361877f7814a1d6a3db597ee82
Parents: d93fdf5
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed May 30 11:12:51 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed May 30 11:12:51 2018 -0600

----------------------------------------------------------------------
 .../mojos/CommonsDistributionDetachmentMojo.java  | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/c476f024/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
index 46f4e74..05f8816 100755
--- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
+++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
@@ -310,12 +310,12 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
     /**
      * A helper method to create a file path for the <code>md5</code> signature file from a given file.
      *
-     * @param workingDirectory is the {@link File} for the directory in which to make the <code>.md5</code> file.
+     * @param directory is the {@link File} for the directory in which to make the <code>.md5</code> file.
      * @param file the {@link File} whose name we should use to create the <code>.md5</code> file.
      * @return a {@link String} that is the absolute path to the <code>.md5</code> file.
      */
-    private String getMd5FilePath(File workingDirectory, File file) {
-        StringBuffer buffer = new StringBuffer(workingDirectory.getAbsolutePath());
+    private String getMd5FilePath(File directory, File file) {
+        StringBuffer buffer = new StringBuffer(directory.getAbsolutePath());
         buffer.append("/");
         buffer.append(file.getName());
         buffer.append(".md5");
@@ -325,12 +325,12 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
     /**
      * A helper method to create a file path for the <code>sha1</code> signature file from a given file.
      *
-     * @param workingDirectory is the {@link File} for the directory in which to make the <code>.sha1</code> file.
+     * @param directory is the {@link File} for the directory in which to make the <code>.sha1</code> file.
      * @param file the {@link File} whose name we should use to create the <code>.sha1</code> file.
      * @return a {@link String} that is the absolute path to the <code>.sha1</code> file.
      */
-    private String getSha1FilePath(File workingDirectory, File file) {
-        StringBuffer buffer = new StringBuffer(workingDirectory.getAbsolutePath());
+    private String getSha1FilePath(File directory, File file) {
+        StringBuffer buffer = new StringBuffer(directory.getAbsolutePath());
         buffer.append("/");
         buffer.append(file.getName());
         buffer.append(".sha1");
@@ -340,12 +340,12 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
     /**
      * A helper method to create a file path for the <code>sha1</code> signature file from a given file.
      *
-     * @param workingDirectory is the {@link File} for the directory in which to make the <code>.sha1</code> file.
+     * @param directory is the {@link File} for the directory in which to make the <code>.sha1</code> file.
      * @param file the {@link File} whose name we should use to create the <code>.sha1</code> file.
      * @return a {@link String} that is the absolute path to the <code>.sha1</code> file.
      */
-    private String getSha256FilePath(File workingDirectory, File file) {
-        StringBuffer buffer = new StringBuffer(workingDirectory.getAbsolutePath());
+    private String getSha256FilePath(File directory, File file) {
+        StringBuffer buffer = new StringBuffer(directory.getAbsolutePath());
         buffer.append("/");
         buffer.append(file.getName());
         buffer.append(".sha256");