diff options
Diffstat (limited to 'tests/bugs164/pr265695/Asp.aj')
-rw-r--r-- | tests/bugs164/pr265695/Asp.aj | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/bugs164/pr265695/Asp.aj b/tests/bugs164/pr265695/Asp.aj index 296cb1f36..50df2bbce 100644 --- a/tests/bugs164/pr265695/Asp.aj +++ b/tests/bugs164/pr265695/Asp.aj @@ -13,18 +13,18 @@ interface DemoService { class DemoServiceImpl implements DemoService { - public void secureMethod() { } + public void secureMethod() { } } aspect X { // None of these match, the subject at execution(secureMethod()) does not have the annotation - // see http://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html + // see https://www.eclipse.org/aspectj/doc/next/adk15notebook/join-point-modifiers.html before(): execution(@Secured * *Service+.*(..)) { } - + before(): execution(@Secured * *Service.*(..)) { } before(): execution(@Secured * DemoService.*(..)) { } - + } public class Asp { @@ -32,4 +32,3 @@ public class Asp { new DemoServiceImpl().secureMethod(); } } - |