Commit e9defc9e authored by Chris Lamb's avatar Chris Lamb 💬

Don't emit source-contains-prebuilt-java-object against Lintian itself as we...

Don't emit source-contains-prebuilt-java-object against Lintian itself as we ship a trivial HelloWorld.jar as a test fixture.
parent 14cec8b7
......@@ -45,7 +45,8 @@ sub run {
for my $jar_file (sort keys %{$java_info}) {
my $files = $java_info->{$jar_file}{files};
tag 'source-contains-prebuilt-java-object', $jar_file
if any { m/$CLASS_REGEX$/i } keys %{$files};
if any { m/$CLASS_REGEX$/i } keys %{$files}
and $info->name ne 'lintian';
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment