You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ch...@apache.org on 2015/06/04 20:53:32 UTC

git commit: [flex-sdk] [refs/heads/develop] - FLEX-17210: removed exception throw to get ResourceManager mustella tests to pass again

Repository: flex-sdk
Updated Branches:
  refs/heads/develop b787537eb -> 852b59911


FLEX-17210: removed exception throw to get ResourceManager mustella tests to pass again


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

Branch: refs/heads/develop
Commit: 852b59911019e2b4a49795cf84f5ca29aeb00295
Parents: b787537
Author: chrsmrtn <ch...@apache.org>
Authored: Thu Jun 4 11:37:54 2015 -0700
Committer: chrsmrtn <ch...@apache.org>
Committed: Thu Jun 4 11:37:54 2015 -0700

----------------------------------------------------------------------
 .../framework/src/mx/resources/ResourceManagerImpl.as       | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/852b5991/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as b/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
index b5816a0..29093b9 100644
--- a/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
+++ b/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
@@ -239,15 +239,6 @@ public class ResourceManagerImpl extends EventDispatcher implements IResourceMan
     public function set localeChain(value:Array /* of String */):void
     {
         _localeChain = value;
-		
-		for each (var locale:String in value)
-		{
-			if (!localeMap.hasOwnProperty(locale))
-			{
-				throw new Error(
-					"Could not find compiled locale '" + locale + "'.");	
-			}
-		}
         
         update();
     }