diff options
author | ehilsdal <ehilsdal> | 2003-08-27 20:13:05 +0000 |
---|---|---|
committer | ehilsdal <ehilsdal> | 2003-08-27 20:13:05 +0000 |
commit | 910f2658b1342cd4a3b22169895c71fa8b48279c (patch) | |
tree | 9a1b7d32e315012600d5cd4bb6a7720a8e1d85e4 /docs/teaching/exercises/figures/SlothfulPoint.java | |
parent | 3fa486456c61e332341ccfb634a72920b6467c50 (diff) | |
download | aspectj-910f2658b1342cd4a3b22169895c71fa8b48279c.tar.gz aspectj-910f2658b1342cd4a3b22169895c71fa8b48279c.zip |
untabified
Diffstat (limited to 'docs/teaching/exercises/figures/SlothfulPoint.java')
-rw-r--r-- | docs/teaching/exercises/figures/SlothfulPoint.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/teaching/exercises/figures/SlothfulPoint.java b/docs/teaching/exercises/figures/SlothfulPoint.java index ede073b24..8bdfbee82 100644 --- a/docs/teaching/exercises/figures/SlothfulPoint.java +++ b/docs/teaching/exercises/figures/SlothfulPoint.java @@ -1,13 +1,13 @@ /* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Common Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * PARC initial implementation + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Common Public License v1.0 + * which accompanies this distribution and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * PARC initial implementation * ******************************************************************/ @@ -35,7 +35,7 @@ public class SlothfulPoint extends ShapeFigureElement { public void setY(int y) { } public void move(int dx, int dy) { - System.out.println("Slothful moving"); + System.out.println("Slothful moving"); } public String toString() { @@ -43,7 +43,7 @@ public class SlothfulPoint extends ShapeFigureElement { } public Shape getShape() { - return new Ellipse2D.Float((float)_x, + return new Ellipse2D.Float((float)_x, (float)_y, 1.0f, 1.0f); } } |