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/10 08:43:05 UTC

git commit: [flex-sdk] [refs/heads/develop] - FLEX-34878 updated asdoc comments to include reason for null value in error property in certain cases

Repository: flex-sdk
Updated Branches:
  refs/heads/develop 41ef6ebd5 -> e7b0d1aff


FLEX-34878 updated asdoc comments to include reason for null value in error property in certain cases


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

Branch: refs/heads/develop
Commit: e7b0d1aff154d17595b3694fa50cc0b396fc3d60
Parents: 41ef6eb
Author: chrsmrtn <ch...@apache.org>
Authored: Tue Jun 9 23:32:46 2015 -0700
Committer: chrsmrtn <ch...@apache.org>
Committed: Tue Jun 9 23:39:24 2015 -0700

----------------------------------------------------------------------
 .../projects/framework/src/mx/formatters/Formatter.as   | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e7b0d1af/frameworks/projects/framework/src/mx/formatters/Formatter.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/formatters/Formatter.as b/frameworks/projects/framework/src/mx/formatters/Formatter.as
index 11c4541..ae88476 100644
--- a/frameworks/projects/framework/src/mx/formatters/Formatter.as
+++ b/frameworks/projects/framework/src/mx/formatters/Formatter.as
@@ -117,9 +117,13 @@ public class Formatter implements IFormatter
 
 	/**
 	 *  Error message for an invalid format string specified to the formatter.
+	 *  The localeChain property of the ResourceManager is used to resolve
+	 *  the default error message. If it is unable to find a value, it will
+	 *  return <code>null</code>. This can happen if none of the locales
+	 *  specified in the localeChain are compiled into the application.
 	 * 
 	 *  @default "Invalid format"
-	 *  
+	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9
 	 *  @playerversion AIR 1.1
@@ -162,7 +166,11 @@ public class Formatter implements IFormatter
 	private static var defaultInvalidValueErrorOverride:String
 
 	/**
-	 *  Error messages for an invalid value specified to the formatter.
+	 *  Error messages for an invalid value specified to the formatter. The
+	 *  localeChain property of the ResourceManager is used to resolve the
+	 *  default error message. If it is unable to find a value, it will return
+	 *  <code>null</code>. This can happen if none of the locales specified in
+	 *  the localeChain are compiled into the application.
 	 * 
 	 *  @default "Invalid value"
 	 *