mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 14:09:25 +00:00
This renaming more intuitively expresses the relationship between
subprojects and the JAR artifacts they produce.
Tracking history across these renames is possible, but it requires
use of the --follow flag to `git log`, for example
$ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java
will show history up until the renaming event, where
$ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java
will show history for all changes to the file, before and after the
renaming.
See http://chrisbeams.com/git-diff-across-renamed-directories
14 lines
397 B
Java
14 lines
397 B
Java
package example.profilescan;
|
|
|
|
import org.springframework.context.annotation.Profile;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Profile(ProfileAnnotatedComponent.PROFILE_NAME)
|
|
@Component(ProfileAnnotatedComponent.BEAN_NAME)
|
|
public class ProfileAnnotatedComponent {
|
|
|
|
public static final String BEAN_NAME = "profileAnnotatedComponent";
|
|
public static final String PROFILE_NAME = "test";
|
|
|
|
}
|