Repository: falcon Updated Branches: refs/heads/master 4f17787b3 -> 89d9d265c
FALCON-1070 numResults and offset doesnot work for instance operations. Contributed by Suhas Vasu Project: http://git-wip-us.apache.org/repos/asf/falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/89d9d265 Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/89d9d265 Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/89d9d265 Branch: refs/heads/master Commit: 89d9d265cbf9c78733993600449783c0259ae8e9 Parents: 4f17787 Author: Suhas Vasu <[email protected]> Authored: Mon Mar 16 12:53:10 2015 +0530 Committer: Suhas Vasu <[email protected]> Committed: Mon Mar 16 12:53:10 2015 +0530 ---------------------------------------------------------------------- CHANGES.txt | 3 +++ .../main/java/org/apache/falcon/resource/channel/HTTPChannel.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/falcon/blob/89d9d265/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index bbb63ae..56db195 100755 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -105,6 +105,9 @@ Trunk (Unreleased) (Suhas vasu) BUG FIXES + FALCON-1070 numResults and offset doesnot work for instance operations + (Suhas Vasu) + FALCON-1025 lastWeek and CurrentWeek functions are getting evaluated incorrect (pavan kumar kolamuri via Suhas Vasu) http://git-wip-us.apache.org/repos/asf/falcon/blob/89d9d265/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java ---------------------------------------------------------------------- diff --git a/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java b/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java index b8db4b5..3d3a58a 100644 --- a/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java +++ b/prism/src/main/java/org/apache/falcon/resource/channel/HTTPChannel.java @@ -138,7 +138,7 @@ public class HTTPChannel extends AbstractChannel { Annotation[][] paramAnnotations = method.getParameterAnnotations(); StringBuilder queryString = new StringBuilder("?"); for (int index = 0; index < args.length; index++) { - if (args[index] instanceof String || args[index] instanceof Boolean) { + if (args[index] instanceof String || args[index] instanceof Boolean || args[index] instanceof Integer) { String arg = String.valueOf(args[index]); for (int annotation = 0; annotation < paramAnnotations[index].length; annotation++) { Annotation paramAnnotation = paramAnnotations[index][annotation];
