harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r823963 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/geom/AffineTransform.java
Date Sat, 10 Oct 2009 22:00:28 GMT
Author: ndbeyer
Date: Sat Oct 10 22:00:28 2009
New Revision: 823963

URL: http://svn.apache.org/viewvc?rev=823963&view=rev
Log:
check the correct parameter to determine the Point2D to construct

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/geom/AffineTransform.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/geom/AffineTransform.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/geom/AffineTransform.java?rev=823963&r1=823962&r2=823963&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/geom/AffineTransform.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/geom/AffineTransform.java
Sat Oct 10 22:00:28 2009
@@ -492,7 +492,7 @@
 
     public Point2D deltaTransform(Point2D src, Point2D dst) {
         if (dst == null) {
-            if (dst instanceof Point2D.Double) {
+            if (src instanceof Point2D.Double) {
                 dst = new Point2D.Double();
             } else {
                 dst = new Point2D.Float();



Mime
View raw message