diff options
Diffstat (limited to 'docs/teaching/exercises/answers/Answer4b.java')
-rw-r--r-- | docs/teaching/exercises/answers/Answer4b.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/teaching/exercises/answers/Answer4b.java b/docs/teaching/exercises/answers/Answer4b.java index d0292b14f..4fd5354c1 100644 --- a/docs/teaching/exercises/answers/Answer4b.java +++ b/docs/teaching/exercises/answers/Answer4b.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 * ******************************************************************/ package answers; @@ -21,9 +21,9 @@ aspect Answer4b { Rectangle around(Group g): execution(Rectangle Group.getBounds()) && this(g) { - if (g.cache == null) { - g.cache = proceed(g); - } - return g.cache; + if (g.cache == null) { + g.cache = proceed(g); + } + return g.cache; } } |