This is an automated email from the git hooks/post-receive script. broucaries-guest pushed a commit to branch master in repository lintian.
commit 64264ead293baeaa46b51cb199ae02eeef4a4649 Author: Bastien ROUCARIÈS <[email protected]> Date: Sun Apr 6 21:17:03 2014 +0200 Fix perl critic warnings Signed-off-by: Bastien ROUCARIÈS <[email protected]> --- checks/cruft.pm | 2 ++ checks/java.pm | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/checks/cruft.pm b/checks/cruft.pm index b586389..8ccbb27 100644 --- a/checks/cruft.pm +++ b/checks/cruft.pm @@ -847,6 +847,7 @@ sub _search_in_block0 { _linelength_test($entry, $info, $name, $basename, $dirname, $path, $block); } + return; } # try to detect non human source based on line length @@ -874,6 +875,7 @@ sub _linelength_test { [['','']]); } } + return; } sub _tag_gfdl { diff --git a/checks/java.pm b/checks/java.pm index 6d98897..fc30a83 100644 --- a/checks/java.pm +++ b/checks/java.pm @@ -188,13 +188,14 @@ sub run { if @relative; } - if ($has_public_jars && $pkg =~ /^lib.*maven.*plugin.*/ && $jar_file !~ m#^usr/share/maven-repo/.*\.jar#) { + if ( $has_public_jars + && $pkg =~ /^lib.*maven.*plugin.*/ + && $jar_file !~ m#^usr/share/maven-repo/.*\.jar#) { # Trigger a warning when a maven plugin lib is installed in # /usr/share/java/ tag 'maven-plugin-in-usr-share-java', $jar_file; } - } tag 'missing-dep-on-jarwrapper' if $missing_jarwrapper; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

