flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - add backup cacheid
Date Sat, 22 Nov 2014 07:33:13 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 2eacb7fdc -> a986ba168


add backup cacheid


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

Branch: refs/heads/develop
Commit: a986ba168aeb25da4875b1dd0d4dc55b36ed5fd8
Parents: 2eacb7f
Author: Alex Harui <aharui@apache.org>
Authored: Fri Nov 21 23:32:56 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Nov 21 23:32:56 2014 -0800

----------------------------------------------------------------------
 MD5Checker/src/MD5Checker.mxml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/a986ba16/MD5Checker/src/MD5Checker.mxml
----------------------------------------------------------------------
diff --git a/MD5Checker/src/MD5Checker.mxml b/MD5Checker/src/MD5Checker.mxml
index 24709a1..bb4be53 100644
--- a/MD5Checker/src/MD5Checker.mxml
+++ b/MD5Checker/src/MD5Checker.mxml
@@ -99,6 +99,7 @@ limitations under the License.
                     if (!item.md5)
                         continue;
                     item.cacheID = node.@cacheID.toString();
+                    item.cacheID2 = node.@cacheID2.toString();
                     item.node = node;
                     data.push(item);
                 }
@@ -113,6 +114,7 @@ limitations under the License.
                     if (!item.md5)
                         continue;
                     item.cacheID = node.@cacheID.toString();
+                    item.cacheID2 = node.@cacheID2.toString();
                     item.node = node;
                     data.push(item);
                 }
@@ -127,6 +129,7 @@ limitations under the License.
                     if (!item.md5)
                         continue;
                     item.cacheID = node.@cacheID.toString();
+                    item.cacheID2 = node.@cacheID2.toString();
                     item.node = node;
                     data.push(item);
                 }
@@ -141,6 +144,7 @@ limitations under the License.
                     if (!item.md5)
                         continue;
                     item.cacheID = node.@cacheID.toString();
+                    item.cacheID2 = node.@cacheID2.toString();
                     item.node = node;
                     data.push(item);
                 }
@@ -252,7 +256,7 @@ limitations under the License.
 
             private function headcompleteHandler(event:Event):void
             {
-                if (data[current].cacheID != lastModified)
+                if (data[current].cacheID != lastModified && data[current].cacheID2
!= lastModified)
                 {
                     download();
                 }


Mime
View raw message