[ 
https://issues.apache.org/jira/browse/OOZIE-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16587450#comment-16587450
 ] 

Andras Salamon commented on OOZIE-3318:
---------------------------------------

Thanks [~kmarton] for the patch. Would it be possible to simplify the warning 
number calculation? Using a single grep instead of the grep+awk combo? 
Something like that:
{noformat}
grep -c '\[WARNING\].*warning' ./test-patch/reports/JAVADOC-clean.txt{noformat}

> Fix Javadoc check in the pre-commit
> -----------------------------------
>
>                 Key: OOZIE-3318
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3318
>             Project: Oozie
>          Issue Type: Sub-task
>          Components: scripts
>    Affects Versions: 5.0.0
>            Reporter: Julia Kinga Marton
>            Assignee: Julia Kinga Marton
>            Priority: Blocker
>             Fix For: 5.1.0
>
>         Attachments: OOZIE-3318-003.patch, OOZIE-3318.001.patch, 
> OOZIE-3318.002.patch
>
>
> Javadoc check builds are broken in the pre-commit



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to