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 15:17:28 UTC

commons-release-plugin git commit: Better method name.

Repository: commons-release-plugin
Updated Branches:
  refs/heads/master 072168464 -> 66da51638


Better method 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/66da5163
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/66da5163
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/66da5163

Branch: refs/heads/master
Commit: 66da516386b470693cf7bcbac738ba913072d04e
Parents: 0721684
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed May 30 09:17:25 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed May 30 09:17:25 2018 -0600

----------------------------------------------------------------------
 .../plugin/mojos/CommonsDistributionDetachmentMojo.java      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/66da5163/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 55abc09..a8bfa3b 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
@@ -144,8 +144,8 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
         if (!workingDirectory.exists()) {
             SharedFunctions.initDirectory(getLog(), workingDirectory);
         }
-        logAllArtifactsInSha1PropertiesFile();
-        logAllArtifactsInSha256PropertiesFile();
+        writeAllArtifactsInSha1PropertiesFile();
+        writeAllArtifactsInSha256PropertiesFile();
         copyRemovedArtifactsToWorkingDirectory();
         getLog().info("");
         hashArtifacts();
@@ -212,7 +212,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
      *
      * @throws MojoExecutionException if we cant write the file due to an {@link IOException}.
      */
-    private void logAllArtifactsInSha1PropertiesFile() throws MojoExecutionException {
+    private void writeAllArtifactsInSha1PropertiesFile() throws MojoExecutionException {
         File propertiesFile = new File(workingDirectory, "sha1.properties");
         try (FileOutputStream fileWriter = new FileOutputStream(propertiesFile)) {
             artifactSha1s.store(fileWriter, "Release SHA-1s");
@@ -226,7 +226,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
      *
      * @throws MojoExecutionException if we can't write the file due to an {@link IOException}.
      */
-    private void logAllArtifactsInSha256PropertiesFile() throws MojoExecutionException {
+    private void writeAllArtifactsInSha256PropertiesFile() throws MojoExecutionException {
         File propertiesFile = new File(workingDirectory, "sha256.properties");
         try (FileOutputStream fileWriter = new FileOutputStream(propertiesFile)) {
             artifactSha256s.store(fileWriter, "Release SHA-256s");