Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 614B3200B6B for ; Fri, 9 Sep 2016 08:58:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5FF04160AC2; Fri, 9 Sep 2016 06:58:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A1DD0160AB6 for ; Fri, 9 Sep 2016 08:58:23 +0200 (CEST) Received: (qmail 4557 invoked by uid 500); 9 Sep 2016 06:58:22 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 4337 invoked by uid 99); 9 Sep 2016 06:58:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2016 06:58:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BFB722C1B7F for ; Fri, 9 Sep 2016 06:58:21 +0000 (UTC) Date: Fri, 9 Sep 2016 06:58:21 +0000 (UTC) From: "Alexander Pivovarov (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-4601) Check for empty string properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Sep 2016 06:58:24 -0000 Alexander Pivovarov created FLINK-4601: ------------------------------------------ Summary: Check for empty string properly Key: FLINK-4601 URL: https://issues.apache.org/jira/browse/FLINK-4601 Project: Flink Issue Type: Bug Affects Versions: 1.1.2 Reporter: Alexander Pivovarov Priority: Trivial UdfAnalyzerExamplesTest.java and UdfAnalyzerTest.java use == to check for empty string. We should use isEmpty() instead -- This message was sent by Atlassian JIRA (v6.3.4#6332)