flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/3] git commit: [flex-utilities] [refs/heads/develop] - trim md5
Date Fri, 30 May 2014 22:41:37 GMT
trim md5


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/9b3a6cf8
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/9b3a6cf8
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/9b3a6cf8

Branch: refs/heads/develop
Commit: 9b3a6cf83207bc9597adb7d51e08d47810d75cd9
Parents: 07b48a9
Author: Alex Harui <aharui@apache.org>
Authored: Fri May 30 15:40:29 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri May 30 15:40:29 2014 -0700

----------------------------------------------------------------------
 ant_on_air/src/org/apache/flex/ant/tags/Checksum.as | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/9b3a6cf8/ant_on_air/src/org/apache/flex/ant/tags/Checksum.as
----------------------------------------------------------------------
diff --git a/ant_on_air/src/org/apache/flex/ant/tags/Checksum.as b/ant_on_air/src/org/apache/flex/ant/tags/Checksum.as
index fae0fc1..f881b14 100644
--- a/ant_on_air/src/org/apache/flex/ant/tags/Checksum.as
+++ b/ant_on_air/src/org/apache/flex/ant/tags/Checksum.as
@@ -28,6 +28,7 @@ package org.apache.flex.ant.tags
     import flash.utils.ByteArray;
     
     import mx.core.IFlexModuleFactory;
+    import mx.utils.StringUtil;
     
     import org.apache.flex.ant.Ant;
     import org.apache.flex.ant.tags.supportClasses.TaskHandler;
@@ -157,6 +158,7 @@ package org.apache.flex.ant.tags
                     {
                         fs.open(sumFile, FileMode.READ);
                         var expected:String = fs.readUTFBytes(fs.bytesAvailable);
+                        expected = StringUtil.trim(expected);
                         fs.close();                
                         if (sum != expected)
                             context[verifyproperty != null ? verifyproperty : property] =
"false";


Mime
View raw message