hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1617212 - /httpcomponents/httpclient-android/trunk/build.gradle
Date Mon, 11 Aug 2014 07:49:39 GMT
Author: olegk
Date: Mon Aug 11 07:49:39 2014
New Revision: 1617212

URL: http://svn.apache.org/r1617212
Log:
HTTPCLIENT-1532: use Base64#NO_WRAP mode for Base64 encoding

Modified:
    httpcomponents/httpclient-android/trunk/build.gradle

Modified: httpcomponents/httpclient-android/trunk/build.gradle
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/trunk/build.gradle?rev=1617212&r1=1617211&r2=1617212&view=diff
==============================================================================
--- httpcomponents/httpclient-android/trunk/build.gradle (original)
+++ httpcomponents/httpclient-android/trunk/build.gradle Mon Aug 11 07:49:39 2014
@@ -351,7 +351,7 @@ task rewriteBase64(dependsOn: rewriteSha
     doLast {
         List<Replacement> replacements = [
                 new Replacement(~/^import org\.apache\.commons\.codec\.binary\.Base64;/,
'import android.util.Base64;'),
-                new Replacement(~/^(.*?)Base64\.encodeBase64\((.*?)\)(.*)$/, '$1Base64.encode($2,
Base64.DEFAULT)$3'),
+                new Replacement(~/^(.*?)Base64\.encodeBase64\((.*?)\)(.*)$/, '$1Base64.encode($2,
Base64.NO_WRAP)$3'),
         ]
         srcRoot.traverse(namefilter: ~/.*\.java$/) { File file ->
             if (!file.directory) {



Mime
View raw message