felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r1084782 - /felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/repository/ResolutionMonitorAdapter.java
Date Wed, 23 Mar 2011 22:21:22 GMT
Author: dsavage
Date: Wed Mar 23 22:21:22 2011
New Revision: 1084782

URL: http://svn.apache.org/viewvc?rev=1084782&view=rev
Log:
add convenience constructor

Modified:
    felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/repository/ResolutionMonitorAdapter.java

Modified: felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/repository/ResolutionMonitorAdapter.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/repository/ResolutionMonitorAdapter.java?rev=1084782&r1=1084781&r2=1084782&view=diff
==============================================================================
--- felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/repository/ResolutionMonitorAdapter.java
(original)
+++ felix/trunk/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/repository/ResolutionMonitorAdapter.java
Wed Mar 23 22:21:22 2011
@@ -20,6 +20,7 @@
 package org.apache.felix.sigil.eclipse.repository;
 
 import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
 import org.apache.felix.sigil.common.model.IModelElement;
 import org.apache.felix.sigil.common.model.eclipse.ISigilBundle;
 import org.apache.felix.sigil.common.repository.IResolutionMonitor;
@@ -29,6 +30,10 @@ public class ResolutionMonitorAdapter im
 
     private IProgressMonitor monitor;
 
+    public ResolutionMonitorAdapter() {
+        this.monitor = new NullProgressMonitor();
+    }
+    
     public ResolutionMonitorAdapter(IProgressMonitor monitor)
     {
         this.monitor = monitor;



Mime
View raw message