flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] flink pull request #2275: FLINK-3929 Support for Kerberos Authentication wit...
Date Wed, 27 Jul 2016 13:15:34 GMT
Github user mxm commented on a diff in the pull request:

    --- 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 --
    A better place for the utility function could be `StringUtils`.

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message