@Test public void test() { artifacts.add(artifact); handler.process(artifacts); assertThat(artifacts).isEmpty(); }
@Override public Collection<Artifact> process(Collection<Artifact> intermediates) { Configuration config = context.getConfiguration(); removeArtifacts(intermediates, config); removeProprietaryArtifacts(intermediates, config); return intermediates; }
ConfigurationHandlerRemove extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> intermediates) { Configuration config = context.getConfiguration(); removeArtifacts(intermediates, config); removeProprietaryArtifacts(intermediates, config); return intermediates; } }
ConfigurationHandlerRemove extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> intermediates) { Configuration config = context.getConfiguration(); removeArtifacts(intermediates, config); removeProprietaryArtifacts(intermediates, config); return intermediates; } ConfigurationHandlerRemove(AntennaContext context); }
ConfigurationHandlerRemove extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> intermediates) { Configuration config = context.getConfiguration(); removeArtifacts(intermediates, config); removeProprietaryArtifacts(intermediates, config); return intermediates; } ConfigurationHandlerRemove(AntennaContext context); @Override Collection<Artifact> process(Collection<Artifact> intermediates); }
ConfigurationHandlerRemove extends AbstractProcessor { @Override public Collection<Artifact> process(Collection<Artifact> intermediates) { Configuration config = context.getConfiguration(); removeArtifacts(intermediates, config); removeProprietaryArtifacts(intermediates, config); return intermediates; } ConfigurationHandlerRemove(AntennaContext context); @Override Collection<Artifact> process(Collection<Artifact> intermediates);  }