aboutsummaryrefslogtreecommitdiffstats
path: root/docs/teaching/exercises/answers/Answer4c.java
diff options
context:
space:
mode:
Diffstat (limited to 'docs/teaching/exercises/answers/Answer4c.java')
-rw-r--r--docs/teaching/exercises/answers/Answer4c.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/teaching/exercises/answers/Answer4c.java b/docs/teaching/exercises/answers/Answer4c.java
index 795b5db80..c9d0e8415 100644
--- a/docs/teaching/exercises/answers/Answer4c.java
+++ b/docs/teaching/exercises/answers/Answer4c.java
@@ -2,9 +2,9 @@
* 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 Eclipse Public License v1.0
+ * under the terms of the Eclipse Public License v 2.0
* which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
*
* Contributors:
* PARC initial implementation
@@ -20,7 +20,7 @@ aspect Answer4c {
private Rectangle Group.cache = null;
Rectangle around(Group g):
- execution(Rectangle Group.getBounds())
+ execution(Rectangle Group.getBounds())
&& this(g) {
if (g.cache == null) {
g.cache = proceed(g);
@@ -28,8 +28,8 @@ aspect Answer4c {
return g.cache;
}
- before(Group g):
- call(void move(int, int))
+ before(Group g):
+ call(void move(int, int))
&& target(g) {
g.cache = null;
}