diff options
author | ehilsdal <ehilsdal> | 2004-11-10 06:03:33 +0000 |
---|---|---|
committer | ehilsdal <ehilsdal> | 2004-11-10 06:03:33 +0000 |
commit | 90da53cec2fb59df3743822ae79a5b34655a106a (patch) | |
tree | 0b50d12403b79b7f40f528d7e2b81d6dc710f9ef /docs/teaching/exercises/answers/Answer4c.java | |
parent | c9363fd12ac1d276af0bb63b87e893c7cef50ecf (diff) | |
download | aspectj-90da53cec2fb59df3743822ae79a5b34655a106a.tar.gz aspectj-90da53cec2fb59df3743822ae79a5b34655a106a.zip |
revised with info from OOPSLA 2004:
renaming support.Log.log to support.Log.write
renaming test.Test to test.CoreTest
(r)ing aspectj
clearing up a few random things
Diffstat (limited to 'docs/teaching/exercises/answers/Answer4c.java')
-rw-r--r-- | docs/teaching/exercises/answers/Answer4c.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/teaching/exercises/answers/Answer4c.java b/docs/teaching/exercises/answers/Answer4c.java index 75e1123dd..172859658 100644 --- a/docs/teaching/exercises/answers/Answer4c.java +++ b/docs/teaching/exercises/answers/Answer4c.java @@ -20,15 +20,17 @@ aspect Answer4c { private Rectangle Group.cache = null; Rectangle around(Group g): - execution(Rectangle Group.getBounds()) && this(g) - { + execution(Rectangle Group.getBounds()) + && this(g) { if (g.cache == null) { g.cache = proceed(g); } return g.cache; } - before(Group g): call(void move(int, int)) && target(g) { + before(Group g): + call(void move(int, int)) + && target(g) { g.cache = null; } } |