falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peeyu...@apache.org
Subject falcon git commit: FALCON-1975 Getting NoSuchMethodError when calling isNoneEmpty
Date Fri, 20 May 2016 15:19:04 GMT
Repository: falcon
Updated Branches:
  refs/heads/master a9119c696 -> e48877523


FALCON-1975 Getting NoSuchMethodError when calling isNoneEmpty

Author: yzheng-hortonworks <yzheng@hortonworks.com>

Reviewers: Balu <bvellanki@hortonworks.com>, Venkat <n.r.v@live.com>, Praveen
<adlakha.praveen@gmail.com>, Peeyush <peeyushb@apache.org>

Closes #154 from yzheng-hortonworks/FALCON-1975


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/e4887752
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/e4887752
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/e4887752

Branch: refs/heads/master
Commit: e48877523728ccc903d9d7331782f3ba880b18a0
Parents: a9119c6
Author: yzheng-hortonworks <yzheng@hortonworks.com>
Authored: Fri May 20 20:48:50 2016 +0530
Committer: peeyush b <pbishnoi@hortonworks.com>
Committed: Fri May 20 20:48:50 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/falcon/resource/AbstractInstanceManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/e4887752/prism/src/main/java/org/apache/falcon/resource/AbstractInstanceManager.java
----------------------------------------------------------------------
diff --git a/prism/src/main/java/org/apache/falcon/resource/AbstractInstanceManager.java b/prism/src/main/java/org/apache/falcon/resource/AbstractInstanceManager.java
index 528ff98..276e316 100644
--- a/prism/src/main/java/org/apache/falcon/resource/AbstractInstanceManager.java
+++ b/prism/src/main/java/org/apache/falcon/resource/AbstractInstanceManager.java
@@ -313,7 +313,7 @@ public abstract class AbstractInstanceManager extends AbstractEntityManager
{
         if (StringUtils.isNotEmpty(startStr) && StringUtils.isEmpty(sortOrder)) {
             Collections.reverse(instanceSet);
         }
-        if (StringUtils.isNoneEmpty(sortOrder)) {
+        if (StringUtils.isNotEmpty(sortOrder)) {
             // Sort the ArrayList using orderBy
             instanceSet = sortInstances(instanceSet, orderBy.toLowerCase(), sortOrder);
         }


Mime
View raw message