     {
         const newlocaleStyle:*= getStyle("locale") ;
 
-        if (localeStyle !== undefined && localeStyle == newlocaleStyle)
+        if (localeStyle === newlocaleStyle)
             return;
 
         localeStyle = newlocaleStyle;

 *  by the Unicode Technical Standard #35 (http//unicode.org/reports.tr35/)
 *
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 1.5
 *  @productversion Flex 4.5
 */
[Style(name="locale", type="String", inherit="yes")]

/**
 *  This is a base class used for wrapper classes that make use of the 
 *  flash.globalization classes for language and region specific formatting
 *  of dates, times, number, and currency amounts, string comparison and
 *  case conversion.
 * 
 *  @see spark.formatters.CurrencyFormatter
 *  @see spark.formatters.DateTimeFormatter
 *  @see spark.formatters.NumberFormatter
 *  @see spark.globalization.MatchingCollator
 *  @see spark.globalization.SortingCollator
 *  @see spark.globalization.StringTools
 * 
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 1.5
 *  @productversion Flex 4.5
 */
public class GlobalizationBase extends AdvancedStyleClient

     *  Constructor.
     *
     *  @langversion 3.0
     *  @playerversion Flash 10.1
     *  @playerversion AIR 1.1
     *  @productversion Flex 4.5
     */
