synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r356543 - in /incubator/synapse/trunk/java: src/sampleMediators/deprecation/ test/org/apache/synapse/configurators/ test/org/apache/synapse/spi/injection/ test/org/apache/synapse/spi/processors/
Date Tue, 13 Dec 2005 17:12:50 GMT
Author: pzf
Date: Tue Dec 13 09:12:35 2005
New Revision: 356543

URL: http://svn.apache.org/viewcvs?rev=356543&view=rev
Log:
remove all warnings and breaks

Modified:
    incubator/synapse/trunk/java/src/sampleMediators/deprecation/DeprecationMediator.java
    incubator/synapse/trunk/java/test/org/apache/synapse/configurators/SynapseConfiguratorTest.java
    incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/BuiltInProcessorWithRuleTest.java
    incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/FaultProcessorWithRuleTest.java
    incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendBackProcessorWithRuleTest.java
    incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
    incubator/synapse/trunk/java/test/org/apache/synapse/spi/processors/ClassMediatorProcessorTest.java

Modified: incubator/synapse/trunk/java/src/sampleMediators/deprecation/DeprecationMediator.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/src/sampleMediators/deprecation/DeprecationMediator.java?rev=356543&r1=356542&r2=356543&view=diff
==============================================================================
--- incubator/synapse/trunk/java/src/sampleMediators/deprecation/DeprecationMediator.java
(original)
+++ incubator/synapse/trunk/java/src/sampleMediators/deprecation/DeprecationMediator.java
Tue Dec 13 09:12:35 2005
@@ -27,8 +27,8 @@
 public class DeprecationMediator implements Mediator, EnvironmentAware {
 
     DeprecationConfiguration configuration;
-    private InputStream depricationInStream;
-    private SynapseEnvironment se;
+    private InputStream deprecationInStream;
+   // private SynapseEnvironment se;
     private ClassLoader cl;
 
 
@@ -38,9 +38,9 @@
     public boolean mediate(SynapseMessage synapseMessageContext) {
 
         try {
-            this.depricationInStream = this.cl.getResourceAsStream("META-INF/deprecation.xml");
+            this.deprecationInStream = this.cl.getResourceAsStream("META-INF/deprecation.xml");
             final DeprecationConfigurator deprecationConfigurator =
-                    new DeprecationConfigurator(this.depricationInStream);
+                    new DeprecationConfigurator(this.deprecationInStream);
             Map mediatorConfig = deprecationConfigurator
                     .getConfig(synapseMessageContext.getTo());
             loadConfiguration(mediatorConfig);
@@ -97,7 +97,8 @@
     }
 
     public void setSynapseEnvironment(SynapseEnvironment se) {
-        this.se = se;
+     //   this.se = se;
+     // we don't use this
     }
 
     public void setClassLoader(ClassLoader cl) {

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/configurators/SynapseConfiguratorTest.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/configurators/SynapseConfiguratorTest.java?rev=356543&r1=356542&r2=356543&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/configurators/SynapseConfiguratorTest.java
(original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/configurators/SynapseConfiguratorTest.java
Tue Dec 13 09:12:35 2005
@@ -1,14 +1,3 @@
-package org.apache.synapse.configurators;
-
-import junit.framework.TestCase;
-import org.apache.synapse.SynapseEnvironment;
-import org.apache.synapse.SynapseMessage;
-import org.apache.synapse.Constants;
-import org.apache.synapse.util.Axis2EvnSetup;
-import org.apache.synapse.axis2.Axis2SynapseEnvironmentFinder;
-import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.description.Parameter;
 /*
 * Copyright 2004,2005 The Apache Software Foundation.
 *
@@ -25,6 +14,18 @@
 * limitations under the License.
 *
 */
+package org.apache.synapse.configurators;
+
+import junit.framework.TestCase;
+import org.apache.synapse.SynapseEnvironment;
+
+import org.apache.synapse.Constants;
+import org.apache.synapse.util.Axis2EvnSetup;
+import org.apache.synapse.axis2.Axis2SynapseEnvironmentFinder;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.engine.AxisConfiguration;
+import org.apache.axis2.description.Parameter;
+
 
 public class SynapseConfiguratorTest extends TestCase {
     public void testSynapseEnvironmentFinder() throws Exception {

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/BuiltInProcessorWithRuleTest.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/BuiltInProcessorWithRuleTest.java?rev=356543&r1=356542&r2=356543&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/BuiltInProcessorWithRuleTest.java
(original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/BuiltInProcessorWithRuleTest.java
Tue Dec 13 09:12:35 2005
@@ -1,18 +1,3 @@
-package org.apache.synapse.spi.injection;
-
-import junit.framework.TestCase;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.om.OMFactory;
-import org.apache.axis2.om.impl.llom.builder.StAXOMBuilder;
-import org.apache.synapse.SynapseEnvironment;
-import org.apache.synapse.util.Axis2EvnSetup;
-import org.apache.synapse.axis2.Axis2SynapseEnvironment;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.io.ByteArrayInputStream;
 /*
 * Copyright 2004,2005 The Apache Software Foundation.
 *
@@ -29,6 +14,13 @@
 * limitations under the License.
 *
 */
+package org.apache.synapse.spi.injection;
+
+import junit.framework.TestCase;
+import org.apache.synapse.SynapseEnvironment;
+import org.apache.synapse.util.Axis2EvnSetup;
+import org.apache.synapse.axis2.Axis2SynapseEnvironment;
+
 
 public class BuiltInProcessorWithRuleTest extends TestCase {
 

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/FaultProcessorWithRuleTest.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/FaultProcessorWithRuleTest.java?rev=356543&r1=356542&r2=356543&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/FaultProcessorWithRuleTest.java
(original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/FaultProcessorWithRuleTest.java
Tue Dec 13 09:12:35 2005
@@ -17,11 +17,11 @@
 package org.apache.synapse.spi.injection;
 
 import junit.framework.TestCase;
-import org.apache.axis2.Constants;
+
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.client.MessageSender;
 import org.apache.axis2.client.Options;
-import org.apache.axis2.context.MessageContext;
+
 import org.apache.axis2.transport.http.SimpleHTTPServer;
 import org.apache.synapse.util.Axis2EvnSetup;
 

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendBackProcessorWithRuleTest.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendBackProcessorWithRuleTest.java?rev=356543&r1=356542&r2=356543&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendBackProcessorWithRuleTest.java
(original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendBackProcessorWithRuleTest.java
Tue Dec 13 09:12:35 2005
@@ -1,14 +1,3 @@
-package org.apache.synapse.spi.injection;
-
-import junit.framework.TestCase;
-import org.apache.axis2.Constants;
-import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.client.MessageSender;
-import org.apache.axis2.client.Options;
-import org.apache.axis2.transport.http.SimpleHTTPServer;
-import org.apache.synapse.util.Axis2EvnSetup;
-
-import javax.xml.namespace.QName;
 /*
 * Copyright 2004,2005 The Apache Software Foundation.
 *
@@ -25,6 +14,17 @@
 * limitations under the License.
 *
 */
+package org.apache.synapse.spi.injection;
+
+import junit.framework.TestCase;
+
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.client.MessageSender;
+import org.apache.axis2.client.Options;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.synapse.util.Axis2EvnSetup;
+
+import javax.xml.namespace.QName;
 
 public class SendBackProcessorWithRuleTest extends TestCase {
     private SimpleHTTPServer synapseServer;

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java?rev=356543&r1=356542&r2=356543&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
(original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
Tue Dec 13 09:12:35 2005
@@ -1,14 +1,3 @@
-package org.apache.synapse.spi.injection;
-
-import junit.framework.TestCase;
-import org.apache.axis2.Constants;
-import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.client.MessageSender;
-import org.apache.axis2.client.Options;
-import org.apache.axis2.transport.http.SimpleHTTPServer;
-import org.apache.synapse.util.Axis2EvnSetup;
-
-import javax.xml.namespace.QName;
 /*
 * Copyright 2004,2005 The Apache Software Foundation.
 *
@@ -24,7 +13,18 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
-*/
+*/package org.apache.synapse.spi.injection;
+
+import junit.framework.TestCase;
+
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.client.MessageSender;
+import org.apache.axis2.client.Options;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.synapse.util.Axis2EvnSetup;
+
+import javax.xml.namespace.QName;
+
 
 public class SendOnProcessorWithRuleTest extends TestCase {
 

Modified: incubator/synapse/trunk/java/test/org/apache/synapse/spi/processors/ClassMediatorProcessorTest.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/spi/processors/ClassMediatorProcessorTest.java?rev=356543&r1=356542&r2=356543&view=diff
==============================================================================
--- incubator/synapse/trunk/java/test/org/apache/synapse/spi/processors/ClassMediatorProcessorTest.java
(original)
+++ incubator/synapse/trunk/java/test/org/apache/synapse/spi/processors/ClassMediatorProcessorTest.java
Tue Dec 13 09:12:35 2005
@@ -2,7 +2,6 @@
 
 import junit.framework.TestCase;
 import org.apache.synapse.SynapseMessage;
-import org.apache.synapse.Processor;
 import org.apache.synapse.processors.mediatortypes.ClassMediatorProcessor;
 import org.apache.synapse.util.Axis2EvnSetup;
 import org.apache.synapse.axis2.Axis2SynapseMessage;



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message