maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1376736 - /maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java
Date Thu, 23 Aug 2012 22:18:00 GMT
Author: hboutemy
Date: Thu Aug 23 22:18:00 2012
New Revision: 1376736

URL: http://svn.apache.org/viewvc?rev=1376736&view=rev
Log:
renamed method to make it more clear

Modified:
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java

Modified: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java?rev=1376736&r1=1376735&r2=1376736&view=diff
==============================================================================
--- maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java
(original)
+++ maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/main/java/org/apache/maven/plugins/scmpublish/ScmPublishPublishScmMojo.java
Thu Aug 23 22:18:00 2012
@@ -149,7 +149,7 @@ public class ScmPublishPublishScmMojo
     {
         if ( requireNormalizeNewlines( srcFile ) )
         {
-            normalizeNewlines( srcFile, destFile );
+            copyAndNormalizeNewlines( srcFile, destFile );
         }
         else
         {
@@ -164,7 +164,7 @@ public class ScmPublishPublishScmMojo
      * @param destFile the destination file
      * @throws IOException
      */
-    private void normalizeNewlines( File srcFile, File destFile )
+    private void copyAndNormalizeNewlines( File srcFile, File destFile )
         throws IOException
     {
         BufferedReader in = null;



Mime
View raw message