]> source.dussan.org Git - aspectj.git/commitdiff
216067
authoraclement <aclement>
Wed, 20 Aug 2008 19:31:42 +0000 (19:31 +0000)
committeraclement <aclement>
Wed, 20 Aug 2008 19:31:42 +0000 (19:31 +0000)
docs/dist/doc/examples/introduction/Point.java

index 609a0488c7c30b58c5114c070db1cc8a24657362..4de01359bf355bc317491d94249ea8bc70e5a322 100644 (file)
@@ -74,9 +74,9 @@ public class Point {
 
    protected void makeRectangular(){
       if (!rectangular) {
-        x = rho * Math.sin(theta);
-        y = rho * Math.cos(theta);
-        rectangular = true;
+                y = rho * Math.sin(theta);
+                x = rho * Math.cos(theta);
+                rectangular = true;
       }
    }