-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize: @servicemark 注解,移除value属性,code属性必填。
- Loading branch information
1 parent
2f292d4
commit fb5c2c8
Showing
5 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
core-parent/core/src/test/java/icu/easyj/core/factory/TestServiceImplA.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package icu.easyj.core.factory; | ||
|
||
@ServiceMark(value = "A", isDefault = true) | ||
@ServiceMark(code = "A", isDefault = true) | ||
class TestServiceImplA implements ITestService { | ||
} |
2 changes: 1 addition & 1 deletion
2
core-parent/core/src/test/java/icu/easyj/core/factory/TestServiceImplB1.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package icu.easyj.core.factory; | ||
|
||
@ServiceMark(value = "B", order = 1) | ||
@ServiceMark(code = "B", order = 1) | ||
class TestServiceImplB1 implements ITestService { | ||
} |
2 changes: 1 addition & 1 deletion
2
core-parent/core/src/test/java/icu/easyj/core/factory/TestServiceImplB2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package icu.easyj.core.factory; | ||
|
||
@ServiceMark(value = "B", order = 2) | ||
@ServiceMark(code = "B", order = 2) | ||
class TestServiceImplB2 implements ITestService { | ||
} |