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 CDC70200B78 for ; Thu, 28 Jul 2016 19:45:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CC581160AD4; Thu, 28 Jul 2016 17:45:19 +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 928AC160ABC for ; Thu, 28 Jul 2016 19:45:18 +0200 (CEST) Received: (qmail 93647 invoked by uid 500); 28 Jul 2016 17:45:17 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 92084 invoked by uid 99); 28 Jul 2016 17:45:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2016 17:45:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A08BCE0B40; Thu, 28 Jul 2016 17:45:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Date: Thu, 28 Jul 2016 17:45:40 -0000 Message-Id: In-Reply-To: <26d38903aa2b481489fe8fa7ca2e2cd4@git.apache.org> References: <26d38903aa2b481489fe8fa7ca2e2cd4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [26/57] airavata git commit: fixing get all users error archived-at: Thu, 28 Jul 2016 17:45:20 -0000 fixing get all users error Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/6148dabf Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/6148dabf Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/6148dabf Branch: refs/heads/develop Commit: 6148dabfbb3e4d1c794988b23018596b06a3e361 Parents: 52dc070 Author: scnakandala Authored: Mon Jul 11 12:38:21 2016 -0400 Committer: scnakandala Committed: Mon Jul 11 12:38:21 2016 -0400 ---------------------------------------------------------------------- .../registry/core/experiment/catalog/ExpCatResourceUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/6148dabf/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java ---------------------------------------------------------------------- diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java index 6533ab2..b67abe9 100644 --- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java +++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/ExpCatResourceUtils.java @@ -384,8 +384,8 @@ public class ExpCatResourceUtils { em.getTransaction().commit(); em.close(); ArrayList usernameList = new ArrayList<>(); - if(usernameList != null) { - for (int i = 0; i