diff options
author | aclement <aclement> | 2009-01-31 22:06:22 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-01-31 22:06:22 +0000 |
commit | 3c4a44d338cd120716df6952a273f1f48eb5076c (patch) | |
tree | 273916e8ab30c560b54a72ffda9376a7549a7278 /tests/bugs164 | |
parent | 1da1f7cdaca36e258045ef29660abaa13c84ebed (diff) | |
download | aspectj-3c4a44d338cd120716df6952a273f1f48eb5076c.tar.gz aspectj-3c4a44d338cd120716df6952a273f1f48eb5076c.zip |
195090: ajc$ local vars that aren't used getting reported when using -warn:+unusedArgument
Diffstat (limited to 'tests/bugs164')
-rw-r--r-- | tests/bugs164/pr195090.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs164/pr195090.java b/tests/bugs164/pr195090.java new file mode 100644 index 000000000..515a135be --- /dev/null +++ b/tests/bugs164/pr195090.java @@ -0,0 +1,19 @@ +/** + * Helper interface. + */ +interface Interface{ + boolean methodToBeImplemented(); +} + +/** + * Exposes the ajc$this_ is never read warning. + */ +public aspect pr195090 { + public boolean Interface.methodToBeImplemented() { + return returnTrue(); + } + + public static boolean returnTrue() { + return true; + } +} |