From 14cf33d0e65e119a38bb84fcf2738ee3d18c4aab Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 11 Aug 2009 10:38:50 +0000 Subject: Remove duplicate log message git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@803060 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/contribution/processor/ExtensibleStAXArtifactProcessor.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'java') diff --git a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java index 15cc7b043b..a50c19238f 100644 --- a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java +++ b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/ExtensibleStAXArtifactProcessor.java @@ -148,10 +148,7 @@ public class ExtensibleStAXArtifactProcessor implements StAXArtifactProcessor processor = (StAXArtifactProcessor)processors.getProcessor(name); if (processor == null) { Location location = source.getLocation(); - if (logger.isLoggable(Level.WARNING)) { - logger.warning("Element " + name + " cannot be processed. (" + location + ")"); - } - warning("ElementCannotBeProcessed", processors, name, location); + error("ElementCannotBeProcessed", processors, name, location); StAXArtifactProcessor anyElementProcessor = processors.getProcessor(ANY_ELEMENT); if (anyElementProcessor != null) { -- cgit v1.2.3