This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new cd5910d  Removed GOOG::DEBUG
cd5910d is described below

commit cd5910d7ae94bfa2e91d44e6004a10505b182d1e
Author: Harbs <[email protected]>
AuthorDate: Fri Sep 7 12:33:11 2018 +0300

    Removed GOOG::DEBUG
---
 .../src/main/royale/mx/charts/AreaChart.as         |  3 +-
 .../src/main/royale/mx/collections/ArrayList.as    | 21 +++++--------
 .../src/main/royale/mx/containers/DividedBox.as    |  3 +-
 .../src/main/royale/mx/containers/Panel.as         |  6 ++--
 .../src/main/royale/mx/containers/TabNavigator.as  |  3 +-
 .../main/royale/mx/controls/AdvancedDataGrid.as    |  6 ++--
 .../src/main/royale/mx/controls/DateChooser.as     | 24 +++++----------
 .../src/main/royale/mx/controls/TextArea.as        |  6 ++--
 .../src/main/royale/mx/controls/TextInput.as       | 18 ++++-------
 .../MXRoyale/src/main/royale/mx/controls/Tree.as   | 15 +++------
 .../AdvancedDataGridColumn.as                      |  6 ++--
 .../royale/mx/controls/listClasses/ListBase.as     | 16 ++++------
 .../MXRoyale/src/main/royale/mx/core/Container.as  | 36 ++++++++--------------
 .../src/main/royale/mx/events/CollectionEvent.as   |  3 +-
 .../src/main/royale/mx/managers/SystemManager.as   | 12 +++-----
 .../src/main/royale/mx/rpc/events/ResultEvent.as   |  3 +-
 .../src/main/royale/mx/styles/StyleManagerImpl.as  | 24 +++++----------
 .../src/main/royale/mx/utils/ObjectProxy.as        |  3 +-
 .../src/main/royale/mx/utils/ObjectUtil.as         | 30 ++++++------------
 19 files changed, 81 insertions(+), 157 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AreaChart.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AreaChart.as
index 87836fe..006e211 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AreaChart.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AreaChart.as
@@ -231,8 +231,7 @@ public class AreaChart extends ChartBase
      */
     override public function setStyle(styleProp:String, newValue:*):void
     {
-        if (GOOG::DEBUG)
-            trace("setStyle not implemented");
+        trace("setStyle not implemented");
     }
 
 }
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/collections/ArrayList.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/collections/ArrayList.as
index 3067f57..1a2b19e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/collections/ArrayList.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/collections/ArrayList.as
@@ -39,6 +39,7 @@ import mx.utils.ArrayUtil;
 import mx.utils.UIDUtil;
 */
 import org.apache.royale.utils.UIDUtil;
+import org.apache.royale.reflection.getQualifiedClassName;
 
 //--------------------------------------
 //  Events
@@ -301,8 +302,7 @@ public class ArrayList extends EventDispatcher
 //            var message:String = resourceManager.getString(
 //                "collections", "outOfBounds", [ index ]);
 //            throw new RangeError(message);
-                       if( GOOG::DEBUG) 
-                               trace("getItemAt throwing RangeError - not 
implemented");
+                       trace("getItemAt throwing RangeError - not 
implemented");
                        return null;
         }
             
@@ -331,8 +331,7 @@ public class ArrayList extends EventDispatcher
 //            var message:String = resourceManager.getString(
 //                "collections", "outOfBounds", [ index ]);
 //            throw new RangeError(message);
-                       if (GOOG::DEBUG)
-                               trace("setItemAt throwing RangeError - not 
implemented");
+                       trace("setItemAt throwing RangeError - not 
implemented");
                        return null;
         }
         
@@ -427,8 +426,7 @@ public class ArrayList extends EventDispatcher
 //            var message:String = resourceManager.getString(
 //                "collections", "outOfBounds", [ index ]);
 //            throw new RangeError(message);
-                       if (GOOG::DEBUG)
-                               trace("addItemAt throwing RangeError - not 
implemented");
+                       trace("addItemAt throwing RangeError - not 
implemented");
                        return;
         }
 
@@ -559,8 +557,7 @@ public class ArrayList extends EventDispatcher
 //            var message:String = resourceManager.getString(
 //                "collections", "outOfBounds", [ index ]);
 //            throw new RangeError(message);
-                       if (GOOG::DEBUG)
-                               trace("removeItemAt throwing RangeError - not 
implemented");
+                       trace("removeItemAt throwing RangeError - not 
implemented");
                        return null;
         }
 
@@ -694,11 +691,9 @@ public class ArrayList extends EventDispatcher
     {
         if (source)
             return source.toString();
-//        else
-//            return getQualifiedClassName(this); 
-               if (GOOG::DEBUG)
-                       trace("toString using getQualifiedClassName not 
implemented");
-               return "<ArrayList>";
+       else
+           return getQualifiedClassName(this); 
+               // return "<ArrayList>";
     }   
     
     
//--------------------------------------------------------------------------
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/DividedBox.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/DividedBox.as
index 291b83f..414f8cc 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/DividedBox.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/DividedBox.as
@@ -418,8 +418,7 @@ public class DividedBox extends Box
 //                             return dividerLayer.numChildren;
 //             else 
 //                     return 0;
-               if (GOOG::DEBUG)
-                       trace("numDividers not implemented");
+               trace("numDividers not implemented");
                return 0;
        }
 
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Panel.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Panel.as
index d972990..ec50dfd 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Panel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Panel.as
@@ -692,14 +692,12 @@ public class Panel extends Container
      */
     public function get dropShadowVisible():String
     {
-        if (GOOG::DEBUG)
-            trace("Panel:dropShadowVisible not implemented");
+        trace("Panel:dropShadowVisible not implemented");
         return null;
     }
     public function set dropShadowVisible(value:String):void
     {
-        if (GOOG::DEBUG)
-            trace("Panel:dropShadowVisible not implemented");
+        trace("Panel:dropShadowVisible not implemented");
     }
     
     /**
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/TabNavigator.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/TabNavigator.as
index d1e3be6..9b7eebf 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/TabNavigator.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/TabNavigator.as
@@ -417,8 +417,7 @@ public class TabNavigator extends ViewStack implements 
IFocusManagerComponent
     public function getTabAt(index:int):Button
     {
         // TODO
-        if (GOOG::DEBUG)
-            trace("cacheAsBitmap not implemented");
+        trace("cacheAsBitmap not implemented");
         return null;
     }
 
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
index d4effda..549e31c 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
@@ -9617,16 +9617,14 @@ public class AdvancedDataGrid extends AdvancedListBase
            
        public function get HeaderStyleName():Object
     {
-        if (GOOG::DEBUG)
-            trace("HeaderStyleName not implemented");
+        trace("HeaderStyleName not implemented");
         return 0;
     }
        
        
     public function set HeaderStyleName(value:Object):void
     {
-        if (GOOG::DEBUG)
-            trace("HeaderStyleName not implemented");
+        trace("HeaderStyleName not implemented");
     }
 
        
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateChooser.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateChooser.as
index b9aa970..f7b82ac 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateChooser.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/DateChooser.as
@@ -249,8 +249,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     override public function get enabled():Boolean
     {
-               if (GOOG::DEBUG)
-                       trace("get enabled not implemented");
+               trace("get enabled not implemented");
         return true;
     }
 
@@ -259,8 +258,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     override public function set enabled(value:Boolean):void
     {
-        if (GOOG::DEBUG)
-                       trace("set enabled not implemented");
+               trace("set enabled not implemented");
     }
 
     
//--------------------------------------------------------------------------
@@ -342,8 +340,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     public function get disabledDays():Array
     {
-               if (GOOG::DEBUG)
-                       trace("get disabledDays not implemented.");
+               trace("get disabledDays not implemented.");
         return null;
     }
 
@@ -352,8 +349,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     public function set disabledDays(value:Array):void
     {
-               if (GOOG::DEBUG)
-                       trace("set disabledDays not implemented");
+               trace("set disabledDays not implemented");
 //        _disabledDays = value;
 //        disabledDaysChanged = true;
 //
@@ -408,8 +404,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     public function get disabledRanges():Array
     {
-               if (GOOG::DEBUG)
-                       trace("get disabledRanged not implemented");
+               trace("get disabledRanged not implemented");
         return null;
     }
 
@@ -418,8 +413,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     public function set disabledRanges(value:Array):void
     {
-               if (GOOG::DEBUG)
-                       trace("set disabledRanges not implemented");
+               trace("set disabledRanges not implemented");
 //        _disabledRanges = scrubTimeValues(value);
 //        disabledRangesChanged = true;
 //
@@ -855,8 +849,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     public function get selectedRanges():Array
     {
-               if (GOOG::DEBUG)
-                       trace("get selectedRanges not implemented.");
+               trace("get selectedRanges not implemented.");
                return null;
 //        _selectedRanges = dateGrid.selectedRanges;
 //        return _selectedRanges;
@@ -867,8 +860,7 @@ public class DateChooser extends UIComponent implements 
ILayoutParent, ILayoutVi
      */
     public function set selectedRanges(value:Array):void
     {
-               if (GOOG::DEBUG)
-                       trace("set selectedRanges not implemented.");
+               trace("set selectedRanges not implemented.");
 //        _selectedRanges = scrubTimeValues(value);
 //        selectedRangesChanged = true;
 //
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextArea.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextArea.as
index da10a66..8558e75 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextArea.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextArea.as
@@ -854,8 +854,7 @@ public class TextArea extends ScrollControlBase
 //        invalidateSize();
 //        invalidateDisplayList();
                
-               if (GOOG::DEBUG)
-                       trace("displayAsPassword not implemented");
+               trace("displayAsPassword not implemented");
 
         dispatchEvent(new Event("displayAsPasswordChanged"));
     }
@@ -1459,8 +1458,7 @@ public class TextArea extends ScrollControlBase
         restrictChanged = true;
 
         //invalidateProperties();
-               if (GOOG::DEBUG)
-                       trace("restrict not implemented");
+               trace("restrict not implemented");
 
         dispatchEvent(new Event("restrictChanged"));
     }
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextInput.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextInput.as
index e15a444..ea8d713 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextInput.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/TextInput.as
@@ -1437,8 +1437,7 @@ public class TextInput extends UIComponent implements 
ITextInput
     {
         super.measure();
 
-        if (GOOG::DEBUG)
-               trace("TextInput.measure not implemented");
+        trace("TextInput.measure not implemented");
 
 //         var bm:EdgeMetrics = border && border is IRectangularBorder ?
 //                              IRectangularBorder(border).borderMetrics :
@@ -1492,8 +1491,7 @@ public class TextInput extends UIComponent implements 
ITextInput
     {
         super.updateDisplayList(unscaledWidth, unscaledHeight);
 
-        if (GOOG::DEBUG)
-               trace("TextInput.updateDisplayList not implemented");
+        trace("TextInput.updateDisplayList not implemented");
 //         var bm:EdgeMetrics;
 //
 //         if (border)
@@ -1542,8 +1540,7 @@ public class TextInput extends UIComponent implements 
ITextInput
      */
     override public function styleChanged(styleProp:String):void
     {
-       if (GOOG::DEBUG)
-               trace("TextInput.styleChanged not implemented");
+       trace("TextInput.styleChanged not implemented");
 //         var allStyles:Boolean = (styleProp == null || styleProp == 
"styleName");
 //
 //         super.styleChanged(styleProp);
@@ -1618,8 +1615,7 @@ public class TextInput extends UIComponent implements 
ITextInput
      */
     protected function createBorder():void
     {
-       if (GOOG::DEBUG)
-               trace("TextInput.createBorder not implemented");
+       trace("TextInput.createBorder not implemented");
 //         if (!border)
 //         {
 //             var borderClass:Class = getStyle("borderSkin");
@@ -1688,8 +1684,7 @@ public class TextInput extends UIComponent implements 
ITextInput
     private function textFieldChanged(styleChangeOnly:Boolean,
                                       dispatchValueCommitEvent:Boolean):void
     {
-       if (GOOG::DEBUG)
-               trace("TextInput.textFieldChanged not implemented");
+       trace("TextInput.textFieldChanged not implemented");
 //         var changed1:Boolean;
 //         var changed2:Boolean;
 //
@@ -1769,8 +1764,7 @@ public class TextInput extends UIComponent implements 
ITextInput
      */
     public function selectRange(anchorIndex:int, activeIndex:int):void
     {
-       if (GOOG::DEBUG)
-               trace("TextInput.selectRange not implemented");
+       trace("TextInput.selectRange not implemented");
         // Do it immediately.
 //         textField.setSelection(anchorIndex, activeIndex);
     }
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Tree.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Tree.as
index 3a8e70d..e60ef17 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Tree.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Tree.as
@@ -531,14 +531,12 @@ public class Tree extends List
      */
     public function get borderStyle():String
     {
-        if (GOOG::DEBUG)
-            trace("Tree:borderStyle not implemented");
+        trace("Tree:borderStyle not implemented");
         return "none";
     }
     public function set borderStyle(value:String):void
     {
-        if (GOOG::DEBUG)
-            trace("Tree:borderStyle not implemented");
+        trace("Tree:borderStyle not implemented");
     }
     
     
//--------------------------------------------------------------------------
@@ -1700,8 +1698,7 @@ public class Tree extends List
      */
     public function isItemOpen(item:Object):Boolean
     {
-        if (GOOG::DEBUG)
-            trace("Tree:isItemOpen not implemented");
+        trace("Tree:isItemOpen not implemented");
         /*
         var uid:String = itemToUID(item);
         return _openItems[uid] != null;
@@ -1764,8 +1761,7 @@ public class Tree extends List
                               dispatchEvent:Boolean = false,    
                               cause:Event = null):void
     {
-        if (GOOG::DEBUG)
-            trace("Tree:getItemIndex not implemented");
+        trace("Tree:getItemIndex not implemented");
     /*
         //if the iterator is null, that indicates we have not been 
         //validated yet, so we will not continue. 
@@ -2557,8 +2553,7 @@ public class Tree extends List
     */
     public function getItemIndex(item:Object):int
     {
-        if (GOOG::DEBUG)
-            trace("Tree:getItemIndex not implemented");
+        trace("Tree:getItemIndex not implemented");
         /*
         var cursor:IViewCursor = collection.createCursor();
         var i:int = 0;
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
index 59596e2..1d34f50 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
@@ -377,14 +377,12 @@ public class AdvancedDataGridColumn
    // public var sortDescending:Boolean = false;
     public function get textAlign():Object
     {
-        if (GOOG::DEBUG)
-            trace("textAlign not implemented");
+        trace("textAlign not implemented");
         return 0;
     }
     public function set textAlign(value:Object):void
     {
-        if (GOOG::DEBUG)
-            trace("textAlign not implemented");
+        trace("textAlign not implemented");
     }
     //----------------------------------
     //  itemRenderer
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
index 94c96f2..2ba0ac8 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/ListBase.as
@@ -366,8 +366,7 @@ use namespace mx_internal;
     public function get selectedIndices():Array
     {
         // TODO
-        if (GOOG::DEBUG)
-            trace("selectedIndices not implemented");
+        trace("selectedIndices not implemented");
         return null;
     }
     
@@ -377,8 +376,7 @@ use namespace mx_internal;
     public function set selectedIndices(indices:Array):void
     {
         // TODO
-        if (GOOG::DEBUG)
-            trace("selectedIndices not implemented");
+        trace("selectedIndices not implemented");
     }
     
     //----------------------------------
@@ -429,8 +427,7 @@ use namespace mx_internal;
     public function get selectedItems():Array
     {
         // TODO
-        if (GOOG::DEBUG)
-            trace("selectedItems not implemented");
+        trace("selectedItems not implemented");
         return null;
     }
     
@@ -440,8 +437,7 @@ use namespace mx_internal;
     public function set selectedItems(items:Array):void
     {
         // TODO
-        if (GOOG::DEBUG)
-            trace("selectedItems not implemented");
+        trace("selectedItems not implemented");
     }
     
        //----------------------------------
@@ -721,8 +717,8 @@ use namespace mx_internal;
         
         public function scrollToIndex(index):void
         {
-            if (GOOG::DEBUG)
-                trace("ListBase:scrollToIndex not implemented");
+
+            trace("ListBase:scrollToIndex not implemented");
         }
         
         /**
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
index f14f587..1b65bc2 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
@@ -552,14 +552,12 @@ public class Container extends UIComponent
      */
     public function get verticalGap():Object
     {
-        if (GOOG::DEBUG)
-            trace("verticalGap not implemented");
+        trace("verticalGap not implemented");
         return 0;
     }
     public function set verticalGap(value:Object):void
     {
-        if (GOOG::DEBUG)
-            trace("verticalGap not implemented");
+        trace("verticalGap not implemented");
     }
        
     /**
@@ -574,38 +572,32 @@ public class Container extends UIComponent
      */
     public function get horizontalAlign():String
     {
-        if (GOOG::DEBUG)
-            trace("Container:horizontalAlign not implemented");
+        trace("Container:horizontalAlign not implemented");
         return null;
     }
     public function set horizontalAlign(value:String):void
     {
-        if (GOOG::DEBUG)
-            trace("Container:horizontalAlign not implemented");
+        trace("Container:horizontalAlign not implemented");
     }
     
     
        public function get horizontalGap():Object
     {
-        if (GOOG::DEBUG)
-            trace("horizontalGap not implemented");
+        trace("horizontalGap not implemented");
         return 0;
     }
     public function set horizontalGap(value:Object):void
     {
-        if (GOOG::DEBUG)
-            trace("horizontalGap not implemented");
+        trace("horizontalGap not implemented");
     }
      public function get verticalAlign():Object
     {
-        if (GOOG::DEBUG)
-            trace("verticalAlign not implemented");
+        trace("verticalAlign not implemented");
         return 0;
     }
     public function set verticalAlign(value:Object):void
     {
-        if (GOOG::DEBUG)
-            trace("verticalAlign not implemented");
+        trace("verticalAlign not implemented");
     }
        /*        
      *  @langversion 3.0
@@ -615,14 +607,12 @@ public class Container extends UIComponent
      */
     public function get borderStyle():Object
     {
-        if (GOOG::DEBUG)
-            trace("borderStyle not implemented");
+        trace("borderStyle not implemented");
         return 0;
     }
     public function set borderStyle(value:Object):void
     {
-        if (GOOG::DEBUG)
-            trace("borderStyle not implemented");
+        trace("borderStyle not implemented");
     }
        [Inspectable(category="General")]
        
@@ -634,14 +624,12 @@ public class Container extends UIComponent
      */
     public function get backgroundColor():Object
     {
-        if (GOOG::DEBUG)
-            trace("backgroundColor not implemented");
+        trace("backgroundColor not implemented");
         return 0;
     }
     public function set backgroundColor(value:Object):void
     {
-        if (GOOG::DEBUG)
-            trace("backgroundColor not implemented");
+        trace("backgroundColor not implemented");
     }
     
     //----------------------------------
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/events/CollectionEvent.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/events/CollectionEvent.as
index 6823f08..8ebde54 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/CollectionEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/CollectionEvent.as
@@ -294,8 +294,7 @@ public class CollectionEvent extends Event
 //        return formatToString("CollectionEvent", "kind", "location",
 //                                                       "oldLocation", 
"type", "bubbles",
 //                                                       "cancelable", 
"eventPhase");
-               if (GOOG::DEBUG)
-                       trace("toString not implemented");
+               trace("toString not implemented");
                return "<CollectionEvent>";
     }
 
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
index 59afd80..fa33082 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManager.as
@@ -1801,8 +1801,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
     { override }
     public function removeChildAt(index:int):IUIComponent
     {
-        if (GOOG::DEBUG)
-            trace("removeChildAt not implemented");
+        trace("removeChildAt not implemented");
         
         return null;
     }
@@ -3627,8 +3626,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
     { override }
     public function setChildIndex(child:IUIComponent, index:int):void
     {
-        if (GOOG::DEBUG)
-            trace("setChildIndex not implemented");
+        trace("setChildIndex not implemented");
     }
     
     /**
@@ -3657,8 +3655,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
     { override }
     public function getChildByName(name:String):IUIComponent
     {
-        if (GOOG::DEBUG)
-            trace("getChildByName not implemented");
+        trace("getChildByName not implemented");
         return null;
     }
     
@@ -3670,8 +3667,7 @@ public class SystemManager extends SystemManagerBase 
implements ISystemManager,
     { override }
     public function contains(child:IUIComponent):Boolean
     {
-        if (GOOG::DEBUG)
-            trace("contains not implemented");
+        trace("contains not implemented");
         return true;
     }
     
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/events/ResultEvent.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/events/ResultEvent.as
index 37fea37..4a99d63 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/events/ResultEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/events/ResultEvent.as
@@ -247,8 +247,7 @@ public class ResultEvent extends Event
        override public function toString():String
     {
      //   return formatToString("ResultEvent", "messageId", "type", "bubbles", 
"cancelable", "eventPhase");
-    if (GOOG::DEBUG)
-                       trace("toString not implemented");
+               trace("toString not implemented");
                return "<ResultEvent>";
        }
 
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/styles/StyleManagerImpl.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/styles/StyleManagerImpl.as
index 5f6563b..bfeac6e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/styles/StyleManagerImpl.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/styles/StyleManagerImpl.as
@@ -118,8 +118,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
        
        public static function 
generateCSSStyleDeclarations(styleManager:StyleManagerImpl, 
factoryFunctions:Object, data:Array, newSelectors:Array = null, 
overrideMap:Object = null):void
        {
-        if (GOOG::DEBUG)
-            trace("generateCSSStyleDeclarations not implemented");
+        trace("generateCSSStyleDeclarations not implemented");
         /*
                var arr:Array = data;
                
@@ -776,8 +775,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
         */
        public function initProtoChainRoots():void
        {
-        if (GOOG::DEBUG)
-            trace("initProtoChainRoots not implemented");
+        trace("initProtoChainRoots not implemented");
         /*
                if (!stylesRoot)
                {
@@ -878,8 +876,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
         */ 
        public function getStyleDeclarations(subject:String):Object
        {
-        if (GOOG::DEBUG)
-            trace("getStyleDeclarations not implemented");
+        trace("getStyleDeclarations not implemented");
 
         /*
                // For Flex 3 and earlier, if we were passed a subject with a 
package
@@ -961,8 +958,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
         */
        public function getStyleDeclaration(selector:String):CSSStyleDeclaration
        {
-        if (GOOG::DEBUG)
-            trace("getStyleDeclaration not implemented");
+        trace("getStyleDeclaration not implemented");
         /*
                // For Flex 3 and earlier, if we were passed a selector with a 
package
                // name, such as "mx.controls.Button", strip off the package 
name
@@ -1027,8 +1023,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
         */     
        public function 
getMergedStyleDeclaration(selector:String):CSSStyleDeclaration
        {
-        if (GOOG::DEBUG)
-            trace("getMergedStyleDeclaration not implemented");
+        trace("getMergedStyleDeclaration not implemented");
         /*
                var style:CSSStyleDeclaration = getStyleDeclaration(selector);
                var parentStyle:CSSStyleDeclaration = null;
@@ -1088,8 +1083,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
                                                                                
styleDeclaration:CSSStyleDeclaration,
                                                                                
update:Boolean):void
        {
-        if (GOOG::DEBUG)
-            trace("setStyleDeclaration not implemented");
+        trace("setStyleDeclaration not implemented");
 
         /*
                // For Flex 3 and earlier, if we were passed a selector with a 
package
@@ -1223,8 +1217,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
        public function clearStyleDeclaration(selector:String,
                                                                                
  update:Boolean):void
        {
-        if (GOOG::DEBUG)
-            trace("clearStyleDeclaration not implemented");
+        trace("clearStyleDeclaration not implemented");
         /*
                var styleDeclaration:CSSStyleDeclaration =
                        getStyleDeclaration(selector);
@@ -1303,8 +1296,7 @@ public class StyleManagerImpl extends EventDispatcher 
implements IStyleManager2
         */
        public function styleDeclarationsChanged():void
        {
-        if (GOOG::DEBUG)
-            trace("styleDeclarationsChanged not implemented");
+        trace("styleDeclarationsChanged not implemented");
                //var sms:Array /* of SystemManager */ =
                //      SystemManagerGlobals.topLevelSystemManagers;
                //var n:int = sms.length;
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectProxy.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectProxy.as
index 117b350..f187dbe 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectProxy.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectProxy.as
@@ -151,8 +151,7 @@ public dynamic class ObjectProxy //extends Proxy
     public function ObjectProxy(item:Object = null, uid:String = null,
                                 proxyDepth:int = -1)
     {
-               if (GOOG::DEBUG)
-                       trace("ObjectProxy not implemented");
+               trace("ObjectProxy not implemented");
 //        super();
 //
 //        if (!item)
diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as
index c46249f..2ad6e6e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as
@@ -100,8 +100,7 @@ public class ObjectUtil
      */
     public static function compare(a:Object, b:Object, depth:int = -1):int
     {
-               if (GOOG::DEBUG)
-                       trace("compare not implemented");
+               trace("compare not implemented");
                return 0;
         //return internalCompare(a, b, 0, depth, new Dictionary(true));
     }
@@ -128,8 +127,7 @@ public class ObjectUtil
      */ 
     public static function copy(value:Object):Object
     {
-               if (GOOG::DEBUG)
-                       trace("copy not implemented");
+               trace("copy not implemented");
                return null;
 //        var buffer:ByteArray = new ByteArray();
 //        buffer.writeObject(value);
@@ -162,8 +160,7 @@ public class ObjectUtil
      */ 
     public static function clone(value:Object):Object
     {
-               if (GOOG::DEBUG)
-                       trace("clone not implemented");
+               trace("clone not implemented");
                return null;
 //        var result:Object = copy(value);
 //        cloneInternal(result, value);
@@ -176,8 +173,7 @@ public class ObjectUtil
      */    
     private static function cloneInternal(result:Object, value:Object):void
     {
-               if (GOOG::DEBUG)
-                       trace("cloneInternal not implemented");
+               trace("cloneInternal not implemented");
 //        if (value && value.hasOwnProperty("uid"))
 //            result.uid = value.uid;
 //
@@ -578,8 +574,7 @@ public class ObjectUtil
                                              namespaceURIs:Array = null, 
                                              exclude:Array = null):String
     {
-        if (GOOG::DEBUG)
-                       trace("internalToString not implemented");
+               trace("internalToString not implemented");
         
         return "(unknown)";
     }
@@ -745,8 +740,7 @@ public class ObjectUtil
                                         excludes:Array = null,
                                         options:Object = null):Object
     {   
-               if (GOOG::DEBUG)
-                       trace("getClassInfo not implemented");
+               trace("getClassInfo not implemented");
                return null;
     }
 
@@ -773,8 +767,7 @@ public class ObjectUtil
                 excludes:Array = null,
                 options:Object = null):Boolean
     {
-               if (GOOG::DEBUG)
-                       trace("hasMetadata not implemented");
+               trace("hasMetadata not implemented");
                return false;
 //        var classInfo:Object = getClassInfo(obj, excludes, options);
 //        var metadataInfo:Object = classInfo["metadata"];
@@ -854,8 +847,7 @@ public class ObjectUtil
      */
     public static function valuesAreSubsetOfObject(values:Object, 
object:Object):Boolean
     {
-               if (GOOG::DEBUG)
-                       trace("valuesAresubsetOfObject not implemented");
+               trace("valuesAresubsetOfObject not implemented");
                return false;
 //        if(!object && !values)
 //            return true;
@@ -971,8 +963,7 @@ public class ObjectUtil
      */
 //    private static function recordMetadata(properties:XMLList):Object
 //    {
-//             if (GOOG::DEBUG)
-//                     trace("recordMetadata not implemented");
+//             trace("recordMetadata not implemented");
 //             return null;
 //    }
 
@@ -982,8 +973,7 @@ public class ObjectUtil
      */
     private static function getCacheKey(o:Object, excludes:Array = null, 
options:Object = null):String
     {
-        if (GOOG::DEBUG)
-                       trace("getCacheKey not implemented");
+               trace("getCacheKey not implemented");
                return null;
     }
 

Reply via email to