Jokser commented on a change in pull request #6884: Ignite 12088
URL: https://github.com/apache/ignite/pull/6884#discussion_r326234447
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
 ##########
 @@ -1578,6 +1581,17 @@ public static TransactionConfiguration 
transactionConfiguration(@Nullable final
      */
     public static void validateCacheName(String name) throws 
IllegalArgumentException {
         A.ensure(name != null && !name.isEmpty(), "Cache name must not be null 
or empty.");
+        A.ensure(name.length() <= MAX_FILE_NAME_LENGTH, "Length of cache name 
can not exceed "+ MAX_FILE_NAME_LENGTH +".");
 
 Review comment:
   Code style issue - there should be whitespace between `"` and `+`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to