flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chrsm...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - FLEX-17210: removed exception throw to get ResourceManager mustella tests to pass again
Date Thu, 04 Jun 2015 18:53:32 GMT
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 <chrsmrtn@apache.org>
Authored: Thu Jun 4 11:37:54 2015 -0700
Committer: chrsmrtn <chrsmrtn@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();
     }


Mime
View raw message