This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new ff32350 fix JavaDoc in DubboService (#9532)
ff32350 is described below
commit ff32350741827bce5354822588511823c794a365
Author: YuanXin Hu <[email protected]>
AuthorDate: Sun Jan 23 16:59:32 2022 +0800
fix JavaDoc in DubboService (#9532)
---
.../apache/dubbo/config/annotation/DubboService.java | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git
a/dubbo-common/src/main/java/org/apache/dubbo/config/annotation/DubboService.java
b/dubbo-common/src/main/java/org/apache/dubbo/config/annotation/DubboService.java
index 74f5f56..3aa4aa2 100644
---
a/dubbo-common/src/main/java/org/apache/dubbo/config/annotation/DubboService.java
+++
b/dubbo-common/src/main/java/org/apache/dubbo/config/annotation/DubboService.java
@@ -95,7 +95,7 @@ public @interface DubboService {
boolean export() default true;
/**
- * Service token, default value is false
+ * Service token, default value is empty string
*/
String token() default "";
@@ -110,12 +110,12 @@ public @interface DubboService {
boolean dynamic() default true;
/**
- * Access log for the service, default value is ""
+ * Access log for the service, default value is empty string
*/
String accesslog() default "";
/**
- * Maximum concurrent executes for the service, default value is 0 - no
limits
+ * Maximum concurrent executes for the service, default value is -1 - no
limits
*/
int executes() default -1;
@@ -125,17 +125,17 @@ public @interface DubboService {
boolean register() default true;
/**
- * Service weight value, default value is 0
+ * Service weight value, default value is -1
*/
int weight() default -1;
/**
- * Service doc, default value is ""
+ * Service doc, default value is empty string
*/
String document() default "";
/**
- * Delay time for service registration, default value is 0
+ * Delay time for service registration, default value is -1
*/
int delay() default -1;
@@ -162,7 +162,7 @@ public @interface DubboService {
String proxy() default "";
/**
- * Maximum connections service provider can accept, default value is 0 -
connection is shared
+ * Maximum connections service provider can accept, default value is -1 -
connection is shared
*/
int connections() default -1;
@@ -213,7 +213,7 @@ public @interface DubboService {
boolean async() default false;
/**
- * Maximum active requests allowed, default value is 0
+ * Maximum active requests allowed, default value is -1
*/
int actives() default -1;
@@ -233,7 +233,7 @@ public @interface DubboService {
String validation() default "";
/**
- * Timeout value for service invocation, default value is 0
+ * Timeout value for service invocation, default value is -1
*/
int timeout() default -1;