[ https://issues.apache.org/jira/browse/OOZIE-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796881#comment-16796881 ]
Julia Kinga Marton commented on OOZIE-3335: ------------------------------------------- [~asalamon74], please rebase the patch on top of the current master > Cleanup parseFilter methods > --------------------------- > > Key: OOZIE-3335 > URL: https://issues.apache.org/jira/browse/OOZIE-3335 > Project: Oozie > Issue Type: Improvement > Components: core > Affects Versions: trunk > Reporter: Andras Salamon > Assignee: Andras Salamon > Priority: Minor > Attachments: OOZIE-3335-01-wip.patch, OOZIE-3335-02-wip.patch > > > TheĀ {{parseFilter}} method is implemented several times in oozie: > {noformat} > servlet/SLAServlet.java > util/JobsFilterUtils.java > DagEngine.java > CoordinatorEngine.java (parseJobFilter and parseJobsFilter methods) > BundleEngine.java (parseBulkFilter method){noformat} > The implementations are quite similar. Code duplication should be eliminated. > OOZIE-3229 will introduce a new utility class for filter parsing, all the > other classes should use it as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)