tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject tez git commit: TEZ-1891. Incorrect number of Javadoc warnings reported (jeagles)
Date Tue, 06 Jan 2015 18:56:31 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.6 a23e740db -> a5db290bb


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/a5db290b
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/a5db290b
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/a5db290b

Branch: refs/heads/branch-0.6
Commit: a5db290bb2e2878d6770408c0fdeeb2fc2d0595f
Parents: a23e740
Author: Jonathan Eagles <jeagles@gmail.com>
Authored: Tue Jan 6 12:56:16 2015 -0600
Committer: Jonathan Eagles <jeagles@gmail.com>
Committed: Tue Jan 6 12:56:16 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/a5db290b/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 5269d5a..a5fa0b2 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,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/a5db290b/build-tools/test-patch.sh
----------------------------------------------------------------------
diff --git a/build-tools/test-patch.sh b/build-tools/test-patch.sh
index 9e9fb94..832f60d 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


Mime
View raw message