[
https://issues.apache.org/jira/browse/FALCON-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814695#comment-13814695
]
Shwetha G S commented on FALCON-114:
------------------------------------
Please remove this:
+/**
+ * This code serves for falcon-37 of apache falcon jira entry.
+ * for any comments please contact [email protected]
+ */
Why not compare in the first for loop itself?
+ for (int i = 0; i < keySet.length; i++) {
+ keys[i] = keySet[i].toString();
}
+ for (int i = 0; i < keys.length; i++) {
+ if (keyToFind.equalsIgnoreCase(keys[i])) {
+ return i;
+ }
+ }
Throw the exception:
+ } catch (ParseException pe) {
+ LOG.error("PARSE EXCEPTION");
+ return null;
+ } catch (Exception e) {
+ LOG.error("EXCEPTION");
+ return null;
+ }
> JSON creation for entities
> --------------------------
>
> Key: FALCON-114
> URL: https://issues.apache.org/jira/browse/FALCON-114
> Project: Falcon
> Issue Type: Sub-task
> Components: general
> Affects Versions: 0.4
> Reporter: Srikanth Vittal
> Assignee: Srikanth Vittal
> Labels: UI
> Attachments: FALCON-114.r1.patch
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Get the list of all the entities and create a single JSON file.
--
This message was sent by Atlassian JIRA
(v6.1#6144)