You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/09/17 04:02:12 UTC

[GitHub] [incubator-shardingsphere] tuohai666 commented on a change in pull request #3021: Feature#2601 Check RoutingResult.

tuohai666 commented on a change in pull request #3021: Feature#2601 Check RoutingResult.
URL: https://github.com/apache/incubator-shardingsphere/pull/3021#discussion_r324970146
 
 

 ##########
 File path: sharding-core/sharding-core-common/src/main/java/org/apache/shardingsphere/core/strategy/route/value/ListRouteValue.java
 ##########
 @@ -30,12 +31,17 @@
  */
 @RequiredArgsConstructor
 @Getter
-@ToString
 public final class ListRouteValue<T extends Comparable<?>> implements RouteValue {
     
     private final String columnName;
     
     private final String tableName;
     
     private final Collection<T> values;
+    
+    @Override
+    public String toString() {
+        return tableName + "." + columnName
 
 Review comment:
   Please don't start a new line until the current line reaches 200 characters.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services