mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-14 09:43:03 +08:00
refactor(project): normalize formatting and reorder class members across modules
This commit is contained in:
@@ -11,7 +11,7 @@ public class TestCoordinateManager {
|
||||
private CTestCore cTestCore = new CTestCore();
|
||||
|
||||
@Coordinated(capability = "test_c")
|
||||
public void testMethodCoordinate(String input){
|
||||
public void testMethodCoordinate(String input) {
|
||||
String resultB = bTestCore.testCoordinateSubMethod();
|
||||
cTestCore.testCoordinateSubMethod(resultB);
|
||||
}
|
||||
|
||||
@@ -5,5 +5,6 @@ import work.slhaf.partner.api.agent.factory.capability.annotation.Capability;
|
||||
@Capability("test_a")
|
||||
public interface ATestCapability {
|
||||
void testMethodNormalA();
|
||||
|
||||
String testMethodNormalB();
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@ import work.slhaf.partner.api.agent.factory.capability.annotation.CapabilityMeth
|
||||
public class ATestCore {
|
||||
|
||||
@CapabilityMethod
|
||||
public void testMethodNormalA(){
|
||||
public void testMethodNormalA() {
|
||||
System.out.println("ATestCore::testMethodNormalA");
|
||||
}
|
||||
|
||||
@CapabilityMethod
|
||||
public String testMethodNormalB(){
|
||||
public String testMethodNormalB() {
|
||||
return "ATestCore::testMethodNormalB";
|
||||
}
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@ import work.slhaf.partner.api.agent.factory.capability.annotation.CapabilityMeth
|
||||
public class BTestCore {
|
||||
|
||||
@CapabilityMethod
|
||||
public void testMethodNormalA(){
|
||||
public void testMethodNormalA() {
|
||||
System.out.println("BTestCore::testMethodNormalA");
|
||||
}
|
||||
|
||||
public String testCoordinateSubMethod(){
|
||||
public String testCoordinateSubMethod() {
|
||||
return "BTestCore::testMethodCoordinate";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,11 +7,11 @@ import work.slhaf.partner.api.agent.factory.capability.annotation.CapabilityMeth
|
||||
public class CTestCore {
|
||||
|
||||
@CapabilityMethod
|
||||
public void testMethodNormalA(String input){
|
||||
public void testMethodNormalA(String input) {
|
||||
System.out.println("CTestCore::testMethodNormalA, input: " + input);
|
||||
}
|
||||
|
||||
public void testCoordinateSubMethod(String input){
|
||||
public void testCoordinateSubMethod(String input) {
|
||||
System.out.println("CTestCore::testMethodCoordinate, input: " + input);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user