HBASE-5562 test-patch.sh reports a javadoc warning when there are no new javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1299824 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be78e3c4ee
commit
d04201683a
|
@ -366,7 +366,7 @@ checkJavadocWarnings () {
|
||||||
echo "There appear to be $javadocWarnings javadoc warnings generated by the patched build."
|
echo "There appear to be $javadocWarnings javadoc warnings generated by the patched build."
|
||||||
|
|
||||||
### if current warnings greater than OK_JAVADOC_WARNINGS
|
### if current warnings greater than OK_JAVADOC_WARNINGS
|
||||||
if [[ $javadocWarnings > $OK_JAVADOC_WARNINGS ]] ; then
|
if [[ $javadocWarnings -gt $OK_JAVADOC_WARNINGS ]] ; then
|
||||||
JIRA_COMMENT="$JIRA_COMMENT
|
JIRA_COMMENT="$JIRA_COMMENT
|
||||||
|
|
||||||
-1 javadoc. The javadoc tool appears to have generated `expr $(($javadocWarnings-$OK_JAVADOC_WARNINGS))` warning messages."
|
-1 javadoc. The javadoc tool appears to have generated `expr $(($javadocWarnings-$OK_JAVADOC_WARNINGS))` warning messages."
|
||||||
|
|
Loading…
Reference in New Issue