*/
public ContributionDependencyBuilderImpl(ContributionDependencyBuilderMonitor monitor) {
if (monitor == null) {
// Create a default monitor that logs using the JDK logger.
monitor = new ContributionDependencyBuilderMonitor() {
public void problem(Problem problem) {
if (problem.getSeverity() == Severity.INFO) {
logger.info(problem.toString());
} else if (problem.getSeverity() == Severity.WARNING) {
logger.warning(problem.toString());