[maven-debian-helper] 02/05: Changed PackageScanner.addDocDependencies() to return a List instead of an ArrayList
Emmanuel Bourg
ebourg-guest at alioth.debian.org
Mon Aug 26 07:46:31 UTC 2013
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.
commit 42c62c49a8f68d62f68fb416c187ec464e6adb2e
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Mon Aug 26 08:46:10 2013 +0200
Changed PackageScanner.addDocDependencies() to return a List instead of an ArrayList
---
.../main/java/org/debian/maven/packager/util/PackageScanner.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/maven-packager-utils/src/main/java/org/debian/maven/packager/util/PackageScanner.java b/maven-packager-utils/src/main/java/org/debian/maven/packager/util/PackageScanner.java
index f577a8e..109e296 100644
--- a/maven-packager-utils/src/main/java/org/debian/maven/packager/util/PackageScanner.java
+++ b/maven-packager-utils/src/main/java/org/debian/maven/packager/util/PackageScanner.java
@@ -161,9 +161,9 @@ public class PackageScanner {
IOUtil.executeProcess(new String[]{"chmod", "+x", file}, new NoOutputHandler());
}
- public ArrayList<DebianDependency> addDocDependencies(Collection<DebianDependency> debianDeps, Map<DebianDependency,
+ public List<DebianDependency> addDocDependencies(Collection<DebianDependency> debianDeps, Map<DebianDependency,
Dependency> versionedPackagesAndDependencies) {
- ArrayList<DebianDependency> docDeps = new ArrayList<DebianDependency>();
+ List<DebianDependency> docDeps = new ArrayList<DebianDependency>();
for (DebianDependency dependency : debianDeps) {
Dependency runtimeDependency = versionedPackagesAndDependencies.get(dependency);
if (runtimeDependency != null && "pom".equals(runtimeDependency.getType())) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-debian-helper.git
More information about the pkg-java-commits
mailing list