This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit d23c79c03e6fadac42b1bd51defa633108a5b208
Author: Chris Lamb <la...@debian.org>
Date:   Tue Aug 8 15:15:30 2017 -0400

    Additionally consider .cljc files in foreach loop. Thanks to Niels Thykier 
<ni...@thykier.net>.
---
 checks/java.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/java.pm b/checks/java.pm
index 828b13b..83bd970 100644
--- a/checks/java.pm
+++ b/checks/java.pm
@@ -79,7 +79,7 @@ sub run {
             $has_public_jars = 1;
         }
         # check for common code files like .class or .clj (Clojure files)
-        foreach my $class (grep { m/\.(?:class|clj)$/oi } sort keys %{$files}){
+        foreach my $class (grep { m/\.(?:class|cljc?)$/oi } sort keys 
%{$files}){
             my $mver = $files->{$class};
             $classes = 1;
             next if $class =~ m/\.cljc?$/;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git

Reply via email to