Github user mxm commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2275#discussion_r73159038
  
    --- Diff: flink-core/src/main/java/org/apache/flink/util/Preconditions.java 
---
    @@ -293,6 +293,16 @@ private static String format(@Nullable String 
template, @Nullable Object... args
     
                return builder.toString();
        }
    +
    +   /**
    +    * Returns {@code true} if the given string is null or is the empty 
string.
    +    * @param string a string reference to check
    +    * @return {@code true} if the string is null or is the empty string
    +    */
    +   public static boolean isNullOrEmpty(@Nullable String string) {
    --- End diff --
    
    Yes, even better :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to