From 3d013831856669ebf70bcf8fe204069ce16275fd Mon Sep 17 00:00:00 2001 From: wisberg Date: Fri, 14 Oct 2005 05:05:15 +0000 Subject: method rename - fix dup entries for target when assembling --- build/src/org/aspectj/internal/tools/build/Module.java | 4 ++-- build/src/org/aspectj/internal/tools/build/Result.java | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'build') diff --git a/build/src/org/aspectj/internal/tools/build/Module.java b/build/src/org/aspectj/internal/tools/build/Module.java index 2c59a5d61..80d1d8ca5 100644 --- a/build/src/org/aspectj/internal/tools/build/Module.java +++ b/build/src/org/aspectj/internal/tools/build/Module.java @@ -99,7 +99,7 @@ public class Module { * * @see findKnownJarAntecedants() */ - static void doFindKnownJarAntecedants(Result result, List known) { + static void doFindJarRequirements(Result result, List known) { Util.iaxIfNull(result, "result"); Util.iaxIfNull(known, "known"); addIfNew(result.getLibJars(), known); @@ -110,7 +110,7 @@ public class Module { File requiredJar = requiredResult.getOutputFile(); if (!known.contains(requiredJar)) { known.add(requiredJar); - doFindKnownJarAntecedants(requiredResult, known); + doFindJarRequirements(requiredResult, known); } } } diff --git a/build/src/org/aspectj/internal/tools/build/Result.java b/build/src/org/aspectj/internal/tools/build/Result.java index bd1cbc125..672ba561b 100644 --- a/build/src/org/aspectj/internal/tools/build/Result.java +++ b/build/src/org/aspectj/internal/tools/build/Result.java @@ -217,9 +217,10 @@ public class Result { return outOfDate; } - public List findKnownJarAntecedants() { + /** @return List (File) of jar's required */ + public List findJarRequirements() { ArrayList result = new ArrayList(); - Module.doFindKnownJarAntecedants(this, result); + Module.doFindJarRequirements(this, result); return result; } -- cgit v1.2.3