tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r827767 - /tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeModelResolver.java
Date Tue, 20 Oct 2009 19:27:27 GMT
Author: slaws
Date: Tue Oct 20 19:27:27 2009
New Revision: 827767

URL: http://svn.apache.org/viewvc?rev=827767&view=rev
Log:
Get monitor from context now

Modified:
    tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeModelResolver.java

Modified: tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeModelResolver.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeModelResolver.java?rev=827767&r1=827766&r2=827767&view=diff
==============================================================================
--- tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeModelResolver.java
(original)
+++ tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeModelResolver.java
Tue Oct 20 19:27:27 2009
@@ -42,7 +42,6 @@
 
     private Contribution contribution;
     private Map<QName, Composite> map = new HashMap<QName, Composite>();
-    private Monitor monitor;
 
     public CompositeModelResolver(Contribution contribution, FactoryExtensionPoint modelFactories)
{
         this.contribution = contribution;
@@ -52,7 +51,7 @@
         Composite composite = (Composite)resolved;
         Composite old = map.put(composite.getName(), composite);
         if (old != null) {
-            Monitor.error(monitor,
+            Monitor.error(context.getMonitor(),
                           this,
                           Messages.RESOURCE_BUNDLE,
                           "DuplicateCompositeName",



Mime
View raw message