vdiravka commented on a change in pull request #1397: DRILL-6633: Replace usage 
of Guava classes by JDK ones
URL: https://github.com/apache/drill/pull/1397#discussion_r211202697
 
 

 ##########
 File path: common/src/main/java/org/apache/drill/common/KerberosUtil.java
 ##########
 @@ -57,9 +57,9 @@ public static String getPrincipalFromParts(final String 
primary, final String in
   public static String[] splitPrincipalIntoParts(final String principal) {
     final String[] components = principal.split("[/@]");
     checkState(components.length == 3);
 
 Review comment:
   Nothing wrong with `Guava Preconditions` and with `Apache Commons` as well.
   IMO the method names in `Apache Commons` are more clear.
   
   But I've wrongly supposed that the purpose was to get rid Guava as much as 
possible.
   
   We can leave Guava Preconditions, since it is already written and usage of 
it is more common.

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


With regards,
Apache Git Services

Reply via email to