Remove redundant @Aspect from CodeStyleAspect.aj
This has been present for quite some time, and compilation at the command line was never a problem. However, after upgrading to STS 2.3.3.M2, errors started appearing in the Problems tab about 'duplicate @Aspect annotations'. This message was a bit misleading given that the underlying issue is that applying an @Aspect annotation on an aspect declared in .aj style is redundant. Andy Clement is investigating as well, but for now the reason for the change in behavior remains a mystery.
This commit is contained in:
parent
7304c09021
commit
605ac0e230
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2007 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -16,12 +16,9 @@
|
||||||
|
|
||||||
package org.springframework.aop.aspectj.autoproxy;
|
package org.springframework.aop.aspectj.autoproxy;
|
||||||
|
|
||||||
import org.aspectj.lang.annotation.Aspect;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Adrian Colyer
|
* @author Adrian Colyer
|
||||||
*/
|
*/
|
||||||
@Aspect
|
|
||||||
public aspect CodeStyleAspect {
|
public aspect CodeStyleAspect {
|
||||||
|
|
||||||
private String foo;
|
private String foo;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue