cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r700261 - in /cxf/trunk: integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSConduitTest.java
Date Mon, 29 Sep 2008 21:25:34 GMT
Author: dkulp
Date: Mon Sep 29 14:25:33 2008
New Revision: 700261

URL: http://svn.apache.org/viewvc?rev=700261&view=rev
Log:
Fix errors/warnings in eclipse

Modified:
    cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
    cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSConduitTest.java

Modified: cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java?rev=700261&r1=700260&r2=700261&view=diff
==============================================================================
--- cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
(original)
+++ cxf/trunk/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
Mon Sep 29 14:25:33 2008
@@ -73,6 +73,7 @@
                                               new QName("fooPort3"));
     }
 
+    @SuppressWarnings("deprecation")
     @Test
     public void testSetConfigurationDomain() throws Exception {
         final String domainName = "SomeDomain";
@@ -84,6 +85,7 @@
         assertEquals(domainName, mcf.getConfigurationDomain());
     }
 
+    @SuppressWarnings("deprecation")
     @Test
     public void testGetConfigurationDomainReturnsDefaultValue() throws Exception {
         Properties p = new Properties();
@@ -91,6 +93,7 @@
         assertEquals(ManagedConnectionFactoryImpl.CONFIG_DOMAIN, mcf.getConfigurationDomain());
     }
 
+    @SuppressWarnings("deprecation")
     @Test
     public void testSetConfigurationScope() throws Exception {
         final String name = "a.b.c";
@@ -102,6 +105,7 @@
         assertEquals(name, mcf.getConfigurationScope());
     }
 
+    @SuppressWarnings("deprecation")
     @Test
     public void testGetConfigurationScopeReturnsDefaultValue() throws Exception {
         Properties p = new Properties();

Modified: cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSConduitTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSConduitTest.java?rev=700261&r1=700260&r2=700261&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSConduitTest.java
(original)
+++ cxf/trunk/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSConduitTest.java
Mon Sep 29 14:25:33 2008
@@ -122,7 +122,7 @@
         JMSConduit conduit = setupJMSConduit(true, false);
         Message msg = new MessageImpl();
         conduit.prepare(msg);
-        final byte[] testBytes = testMsg.getBytes(Charset.defaultCharset()); // TODO encoding
+        final byte[] testBytes = testMsg.getBytes(Charset.defaultCharset().name()); // TODO
encoding
         JMSConfiguration jmsConfig = conduit.getJmsConfig();
         JmsTemplate jmsTemplate = new JmsTemplate();
         jmsTemplate.setConnectionFactory(jmsConfig.getConnectionFactory());



Mime
View raw message