You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2015/01/06 19:54:56 UTC

tez git commit: TEZ-1891. Incorrect number of Javadoc warnings reported (jeagles)

Repository: tez
Updated Branches:
  refs/heads/master 9c385681f -> d54c48add


TEZ-1891. Incorrect number of Javadoc warnings reported (jeagles)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/d54c48ad
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/d54c48ad
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/d54c48ad

Branch: refs/heads/master
Commit: d54c48add6b3f8ccb6b017ec1f9300e991d0c5fb
Parents: 9c38568
Author: Jonathan Eagles <je...@gmail.com>
Authored: Tue Jan 6 12:54:35 2015 -0600
Committer: Jonathan Eagles <je...@gmail.com>
Committed: Tue Jan 6 12:54:35 2015 -0600

----------------------------------------------------------------------
 CHANGES.txt               | 1 +
 build-tools/test-patch.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/d54c48ad/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 41fb11a..046abb4 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -20,6 +20,7 @@ Release 0.6.0: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-1891. Incorrect number of Javadoc warnings reported
   TEZ-1762. Lots of unit tests do not have timeout parameter set.
   TEZ-1886. remove deprecation warnings for tez-ui on the console.
   TEZ-1875. dropdown filters do not work on vertices and task attempts page.

http://git-wip-us.apache.org/repos/asf/tez/blob/d54c48ad/build-tools/test-patch.sh
----------------------------------------------------------------------
diff --git a/build-tools/test-patch.sh b/build-tools/test-patch.sh
index a18bc0c..cc14122 100755
--- a/build-tools/test-patch.sh
+++ b/build-tools/test-patch.sh
@@ -373,7 +373,7 @@ applyPatch () {
 ###############################################################################
 calculateJavadocWarnings() {
     WARNING_FILE="$1"
-    RET=$(egrep "^[0-9]+ warnings$" "$WARNING_FILE" | awk '{sum+=$1} END {print sum}')
+    RET=$(egrep "^[0-9]+ warnings?$" "$WARNING_FILE" | awk '{sum+=$1} END {print sum}')
 }
 
 ### Check there are no javadoc warnings