You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/11/22 08:33:13 UTC

git commit: [flex-utilities] [refs/heads/develop] - add backup cacheid

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 <ah...@apache.org>
Authored: Fri Nov 21 23:32:56 2014 -0800
Committer: Alex Harui <ah...@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();
                 }