You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/06/06 12:57:56 UTC
[incubator-servicecomb-java-chassis] 01/02: Fix javadoc grammar
error
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git
commit 2c3d677304e6c732f450228fe7a1fa1da0540f04
Author: Yang Bo <ya...@huawei.com>
AuthorDate: Wed Jun 6 11:20:46 2018 +0800
Fix javadoc grammar error
---
.../accesslog/parser/CompositeVertxRestAccessLogItemMeta.java | 2 +-
.../accesslog/parser/impl/VertxRestAccessLogPatternParser.java | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/CompositeVertxRestAccessLogItemMeta.java b/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/CompositeVertxRestAccessLogItemMeta.java
index 2ad687f..e5a5b82 100644
--- a/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/CompositeVertxRestAccessLogItemMeta.java
+++ b/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/CompositeVertxRestAccessLogItemMeta.java
@@ -22,7 +22,7 @@ import java.util.List;
/**
* Hold a group of {@link VertxRestAccessLogItemMeta} so that user can define
* only one VertxRestAccessLogItemMeta in spi loading file and load a group of meta.
- * <p/>
+ *
* Once the access log loading mechanism finds that a meta is CompositeVertxRestAccessLogItemMeta,
* the meta hold by it will be used in access log while this meta itself will be ignored.
*/
diff --git a/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/impl/VertxRestAccessLogPatternParser.java b/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/impl/VertxRestAccessLogPatternParser.java
index 7fdb2f9..5151f5c 100644
--- a/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/impl/VertxRestAccessLogPatternParser.java
+++ b/transports/transport-rest/transport-rest-vertx/src/main/java/org/apache/servicecomb/transport/rest/vertx/accesslog/parser/impl/VertxRestAccessLogPatternParser.java
@@ -84,8 +84,8 @@ public class VertxRestAccessLogPatternParser implements AccessLogPatternParser<R
/**
* Behavior of this compare:
- * 1. comparePlaceholderString("abc","bbc") < 0
- * 2. comparePlaceholderString("abc","ab") < 0
+ * 1. comparePlaceholderString("abc","bbc") < 0
+ * 2. comparePlaceholderString("abc","ab") < 0
* 3. comparePlaceholderString("abc","abc") = 0
*/
public static int comparePlaceholderString(String s1, String s2) {
@@ -105,7 +105,7 @@ public class VertxRestAccessLogPatternParser implements AccessLogPatternParser<R
/**
* Sort all of the {@link AccessLogItemMeta}, the meta that is in front of the others has higher priority.
- * <p/>
+ *
* Sort rule(priority decreased):
* <ol>
* <li>compare the {@link AccessLogItemMeta#order}</li>
@@ -113,7 +113,7 @@ public class VertxRestAccessLogPatternParser implements AccessLogPatternParser<R
* the other one's suffix, this one(who's suffix is longer) has higher priority</li>
* <li>compare the {@link AccessLogItemMeta#prefix}, compare rule is the same as suffix.</li>
* </ol>
- * <p/>
+ *
* e.g. given a list of {@link AccessLogItemMeta} like below:
* <ol>
* <li>(%ac{,}bcd)</li>
--
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.