royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [royale-asjs] branch feature/new_merge updated: AFAIK there’s no reason to explicitly extend Object
Date Thu, 06 Sep 2018 09:12:00 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/feature/new_merge by this push:
     new f6d865c  AFAIK there’s no reason to explicitly extend Object
f6d865c is described below

commit f6d865c3e9387bdea594e1352e0cbafc8a09e01b
Author: Harbs <harbs@in-tools.com>
AuthorDate: Thu Sep 6 12:11:52 2018 +0300

    AFAIK there’s no reason to explicitly extend Object
---
 .../GoogleMaps/src/main/royale/google/pseudo/HTMLInputElement.as     | 5 ++---
 frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/Node.as | 4 ++--
 .../src/main/royale/org/apache/royale/graphics/utils/PathHelper.as   | 2 +-
 frameworks/projects/MXRoyale/src/main/royale/mx/errors/EOFError.as   | 2 +-
 .../MXRoyale/src/main/royale/mx/external/ExternalInterface.as        | 2 +-
 .../projects/MXRoyale/src/main/royale/mx/filters/BitmapFilter.as     | 2 +-
 .../projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as | 2 +-
 .../Network/src/main/royale/org/apache/royale/net/HTTPConstants.as   | 2 +-
 .../Network/src/main/royale/org/apache/royale/net/URLRequest.as      | 2 +-
 .../projects/SparkRoyale/src/main/royale/spark/primitives/Path.as    | 2 +-
 mustella/src/main/royale/Bug.as                                      | 2 +-
 11 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/HTMLInputElement.as
b/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/HTMLInputElement.as
index 59bde13..768fd9b 100644
--- a/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/HTMLInputElement.as
+++ b/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/HTMLInputElement.as
@@ -19,7 +19,6 @@
 
 // used to quiet errors in asdoc
 package google.pseudo {
-public class HTMLInputElement extends Object {
+    public class HTMLInputElement{
+    }
 }
-}
-
diff --git a/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/Node.as b/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/Node.as
index cd4bba1..53e29ba 100644
--- a/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/Node.as
+++ b/frameworks/projects/GoogleMaps/src/main/royale/google/pseudo/Node.as
@@ -19,7 +19,7 @@
 
 // used to quiet issues with asdoc
 package google.pseudo {
-public class Node extends Object {
-}
+    public class Node{
+    }
 }
 
diff --git a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/graphics/utils/PathHelper.as
b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/graphics/utils/PathHelper.as
index ffb59fd..16db1e5 100644
--- a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/graphics/utils/PathHelper.as
+++ b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/graphics/utils/PathHelper.as
@@ -590,7 +590,7 @@ import flash.geom.Rectangle;
  *  @playerversion AIR 1.5
  *  @productversion Royale 1.0.0
  */
-class PathSegment extends Object
+class PathSegment
 {
 	
 	//--------------------------------------------------------------------------
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/errors/EOFError.as b/frameworks/projects/MXRoyale/src/main/royale/mx/errors/EOFError.as
index 964894a..59593d5 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/errors/EOFError.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/errors/EOFError.as
@@ -58,7 +58,7 @@ public class EOFError extends flash.errors.EOFError
 }
 
 COMPILE::JS
-public class EOFError extends Object
+public class EOFError
 {
     //--------------------------------------------------------------------------
     //
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/external/ExternalInterface.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/external/ExternalInterface.as
index 7408f87..5b9df42 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/external/ExternalInterface.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/external/ExternalInterface.as
@@ -21,7 +21,7 @@ package mx.external
 	
 
 		
-	public final class ExternalInterface extends Object
+	public final class ExternalInterface
 	{
 		public function ExternalInterface()
 		{
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/filters/BitmapFilter.as b/frameworks/projects/MXRoyale/src/main/royale/mx/filters/BitmapFilter.as
index be6e81e..442081a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/filters/BitmapFilter.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/filters/BitmapFilter.as
@@ -28,7 +28,7 @@ package mx.filters
  *  @playerversion AIR 1.1
  *  @productversion Royale 0.9.4
  */
-public class BitmapFilter extends Object
+public class BitmapFilter
 {
 
     public function BitmapFilter()
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as b/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
index 156ac2d..943a9a0 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
@@ -29,7 +29,7 @@ package mx.system
  *  @productversion Royale 0.9.3
  *  @royalesuppresspublicvarwarning
  */
-public class ApplicationDomain extends Object
+public class ApplicationDomain
 {
 
     
diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPConstants.as
b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPConstants.as
index 2a4acad..f36295a 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPConstants.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPConstants.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.royale.net
 {
-    public final class HTTPConstants extends Object
+    public final class HTTPConstants
     {
         /**
          *
diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLRequest.as
b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLRequest.as
index 712bb91..512d726 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLRequest.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/URLRequest.as
@@ -30,7 +30,7 @@ package org.apache.royale.net
      * 
      *  @royalesuppresspublicvarwarning
 	 */
-    public final class URLRequest extends Object
+    public final class URLRequest
     {
 		/**
 		 *  The URL to be requested.
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as
index a88bf68..5add61c 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as
@@ -2074,7 +2074,7 @@ import mx.events.PropertyChangeEvent; */
  *  @playerversion AIR 1.5
  *  @productversion Royale 0.9.4
  */
-/* class PathSegment extends Object
+/* class PathSegment
 { */
 
 //--------------------------------------------------------------------------
diff --git a/mustella/src/main/royale/Bug.as b/mustella/src/main/royale/Bug.as
index 8f8ee81..4486071 100644
--- a/mustella/src/main/royale/Bug.as
+++ b/mustella/src/main/royale/Bug.as
@@ -18,7 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package
 {
-	public class Bug extends Object
+	public class Bug
 	{
 		public var bugID:String;
 		


Mime
View raw message