Feature/dubbo3.2 rest remove first match break (#12837)

* support reExport

* add rest method annotation support judge

---------

Co-authored-by: suncr <suncairong@moresec.cn>
This commit is contained in:
suncairong163 2023-08-03 20:43:07 +08:00 committed by GitHub
parent 1e18b359e2
commit 36b2ec267d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -198,8 +198,9 @@ public abstract class AbstractServiceRestMetadataResolver implements ServiceRest
for (Method serviceMethod : serviceMethods) {
if (overrides(serviceMethod, declaredServiceMethod)) {
serviceMethodsMap.put(serviceMethod, declaredServiceMethod);
// once method match ,break for decrease loop times
break;
// override method count > 1
// // once method match ,break for decrease loop times
// break;
}
}
}