tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r826628 - /tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
Date Mon, 19 Oct 2009 10:30:53 GMT
Author: slaws
Date: Mon Oct 19 10:30:53 2009
New Revision: 826628

URL: http://svn.apache.org/viewvc?rev=826628&view=rev
Log:
Change import not found warning to severe

Modified:
    tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java

Modified: tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java?rev=826628&r1=826627&r2=826628&view=diff
==============================================================================
--- tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
(original)
+++ tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
Mon Oct 19 10:30:53 2009
@@ -291,7 +291,11 @@
                 if (!(import_ instanceof DefaultImport)) {
                 	// Add the (empty) matchingExports List and report a warning
                 	import_.setModelResolver(new DefaultImportModelResolver(matchingExports));
-                    warning(monitor, "UnresolvedImport", import_, import_);
+                	Monitor.error(monitor, 
+                	              this, 
+                	              "node-impl-validation-messages", 
+                	              "UnresolvedImport", 
+                	              import_);
                 }
             } // end if
         }



Mime
View raw message