This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 1acdd1e fix wrong comments (#5677)
1acdd1e is described below
commit 1acdd1e766f7b88098c17a19aa147f2383bc88db
Author: tzxyz <[email protected]>
AuthorDate: Fri Jan 17 16:19:03 2020 +0800
fix wrong comments (#5677)
---
.../org/apache/dubbo/common/extension/AdaptiveClassCodeGenerator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/AdaptiveClassCodeGenerator.java
b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/AdaptiveClassCodeGenerator.java
index b68bd2d..73790a1 100644
---
a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/AdaptiveClassCodeGenerator.java
+++
b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/AdaptiveClassCodeGenerator.java
@@ -75,7 +75,7 @@ public class AdaptiveClassCodeGenerator {
}
/**
- * test if given type has at least one method annotated with
<code>SPI</code>
+ * test if given type has at least one method annotated with
<code>Adaptive</code>
*/
private boolean hasAdaptiveMethod() {
return Arrays.stream(type.getMethods()).anyMatch(m ->
m.isAnnotationPresent(Adaptive.class));