flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Missed a couple of overrides needed for casting
Date Sun, 10 Jul 2016 20:42:08 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop c9d14d38a -> 08753622a


Missed a couple of overrides needed for casting


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

Branch: refs/heads/develop
Commit: 08753622a2d7f9cd9217a8c2c08de11d14e451d5
Parents: c9d14d3
Author: Harbs <harbs@in-tools.com>
Authored: Sun Jul 10 23:42:03 2016 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Sun Jul 10 23:42:03 2016 +0300

----------------------------------------------------------------------
 .../Core/src/main/flex/org/apache/flex/geom/Rectangle.as    | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/08753622/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
index d19dbad..1dbb164 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Rectangle.as
@@ -47,6 +47,15 @@ public class Rectangle extends flash.geom.Rectangle
 	{
 		return new org.apache.flex.geom.Rectangle(x,y,width,height);
 	}
+	override public function intersection(toIntersect:flash.geom.Rectangle):org.apache.flex.geom.Rectangle
+	{
+		return super.intersection(toIntersect) as org.apache.flex.geom.Rectangle;
+	}
+	override public function union(toUnion:flash.geom.Rectangle):org.apache.flex.geom.Rectangle
+	{
+		return super.union(toUnion) as org.apache.flex.geom.Rectangle;
+	}
+
 
 }
 


Mime
View raw message