equal
deleted
inserted
replaced
216 @Override |
216 @Override |
217 public void visit(Location o, Location t) { |
217 public void visit(Location o, Location t) { |
218 Archive targetArchive = findArchive(t); |
218 Archive targetArchive = findArchive(t); |
219 if (filter.accepts(o, archive, t, targetArchive)) { |
219 if (filter.accepts(o, archive, t, targetArchive)) { |
220 addDep(o, t); |
220 addDep(o, t); |
221 if (!requires.contains(targetArchive)) { |
221 if (archive != targetArchive && !requires.contains(targetArchive)) { |
222 requires.add(targetArchive); |
222 requires.add(targetArchive); |
223 } |
223 } |
224 } |
224 } |
225 if (targetArchive instanceof Module) { |
225 if (targetArchive instanceof Module) { |
226 Profile p = Profile.getProfile(t.getPackageName()); |
226 Profile p = Profile.getProfile(t.getPackageName()); |