cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [01/12] cxf git commit: Fix unessary elses and static references in integration
Date Fri, 04 Aug 2017 16:07:24 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 7443f0109 -> 13bcc2362


Fix unessary elses and static references in integration


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/813c06f6
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/813c06f6
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/813c06f6

Branch: refs/heads/master
Commit: 813c06f6946c8e065c57af224741b2f245c6aafe
Parents: d111a1d
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri Aug 4 10:19:52 2017 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Aug 4 10:40:43 2017 -0400

----------------------------------------------------------------------
 .../java/org/apache/cxf/cdi/CdiBusBean.java     |  4 +-
 .../cxf/cdi/JAXRSCdiResourceExtension.java      |  2 +-
 .../cxf/connector/CXFConnectionParam.java       |  6 +-
 .../cxf/jca/core/classloader/Handler.java       |  3 +-
 .../jca/core/classloader/PlugInClassLoader.java | 14 ++---
 .../classloader/PlugInClassLoaderHelper.java    | 58 ++++++++++----------
 .../AbstractManagedConnectionFactoryImpl.java   |  9 ++-
 .../cxf/jca/cxf/ConnectionFactoryImpl.java      |  3 +-
 .../org/apache/cxf/jca/cxf/JCABusFactory.java   |  7 +--
 .../org/apache/cxf/jca/jarloader/JarLoader.java |  3 +-
 .../outbound/ManagedConnectionFactoryImpl.java  |  3 +-
 .../ManagedConnectionFactoryImplTest.java       |  1 +
 .../cxf/jca/cxf/ConnectionFactoryImplTest.java  |  2 +
 .../cxf/ManagedConnectionFactoryImplTest.java   |  1 +
 .../cxf/jca/cxf/ManagedConnectionImplTest.java  |  1 +
 .../cxf/jca/cxf/ResourceAdapterImplTest.java    |  2 +
 16 files changed, 57 insertions(+), 62 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/cdi/src/main/java/org/apache/cxf/cdi/CdiBusBean.java
----------------------------------------------------------------------
diff --git a/integration/cdi/src/main/java/org/apache/cxf/cdi/CdiBusBean.java b/integration/cdi/src/main/java/org/apache/cxf/cdi/CdiBusBean.java
index 523701e..f54ac4a 100644
--- a/integration/cdi/src/main/java/org/apache/cxf/cdi/CdiBusBean.java
+++ b/integration/cdi/src/main/java/org/apache/cxf/cdi/CdiBusBean.java
@@ -26,7 +26,7 @@ import javax.enterprise.inject.spi.InjectionPoint;
 import javax.enterprise.inject.spi.InjectionTarget;
 
 import org.apache.cxf.Bus;
-import org.apache.cxf.bus.CXFBusFactory;
+import org.apache.cxf.BusFactory;
 import org.apache.cxf.bus.extension.ExtensionManagerBus;
 
 final class CdiBusBean extends AbstractCXFBean< ExtensionManagerBus > {
@@ -63,7 +63,7 @@ final class CdiBusBean extends AbstractCXFBean< ExtensionManagerBus >
{
     @Override
     public ExtensionManagerBus create(final CreationalContext< ExtensionManagerBus >
ctx) {
         final ExtensionManagerBus instance = injectionTarget.produce(ctx);
-        CXFBusFactory.possiblySetDefaultBus(instance);
+        BusFactory.possiblySetDefaultBus(instance);
         instance.initialize();
 
         injectionTarget.inject(instance, ctx);

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/cdi/src/main/java/org/apache/cxf/cdi/JAXRSCdiResourceExtension.java
----------------------------------------------------------------------
diff --git a/integration/cdi/src/main/java/org/apache/cxf/cdi/JAXRSCdiResourceExtension.java
b/integration/cdi/src/main/java/org/apache/cxf/cdi/JAXRSCdiResourceExtension.java
index 5ce8807..def5b02 100644
--- a/integration/cdi/src/main/java/org/apache/cxf/cdi/JAXRSCdiResourceExtension.java
+++ b/integration/cdi/src/main/java/org/apache/cxf/cdi/JAXRSCdiResourceExtension.java
@@ -111,7 +111,7 @@ public class JAXRSCdiResourceExtension implements Extension {
         } else if (event.getAnnotated().isAnnotationPresent(Provider.class)) {
             providerBeans.add(event.getBean());
         } else if (event.getBean().getTypes().contains(javax.ws.rs.core.Feature.class)) {
-            providerBeans.add((Bean< ? extends Feature >)event.getBean());
+            providerBeans.add(event.getBean());
         } else if (event.getBean().getTypes().contains(Feature.class)) {
             featureBeans.add((Bean< ? extends Feature >)event.getBean());
         } else if (CdiBusBean.CXF.equals(event.getBean().getName())

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/connector/CXFConnectionParam.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/connector/CXFConnectionParam.java
b/integration/jca/src/main/java/org/apache/cxf/connector/CXFConnectionParam.java
index dd062d6..7bd1110 100644
--- a/integration/jca/src/main/java/org/apache/cxf/connector/CXFConnectionParam.java
+++ b/integration/jca/src/main/java/org/apache/cxf/connector/CXFConnectionParam.java
@@ -103,9 +103,8 @@ public class CXFConnectionParam {
     public int hashCode() {
         if (getServiceName() != null) {
             return getInterface().hashCode() ^ getServiceName().hashCode();
-        } else {
-            return getInterface().hashCode() ^ (getAddress() != null ? getAddress().hashCode()
: 1);
         }
+        return getInterface().hashCode() ^ (getAddress() != null ? getAddress().hashCode()
: 1);
     }
 
     public String toString() {
@@ -122,8 +121,7 @@ public class CXFConnectionParam {
     private boolean areEquals(Object obj1, Object obj2) {
         if (obj1 == null) {
             return null == obj2;
-        } else {
-            return obj1.equals(obj2);
         }
+        return obj1.equals(obj2);
     }
 }

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/Handler.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/Handler.java
b/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/Handler.java
index 14e7d0d..753da32 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/Handler.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/Handler.java
@@ -42,9 +42,8 @@ public class Handler extends URLStreamHandler {
 
             if (bytes != null) {
                 return new java.io.ByteArrayInputStream(bytes);
-            } else {
-                throw new java.io.IOException(url.getPath() + " not found");
             }
+            throw new java.io.IOException(url.getPath() + " not found");
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java
b/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java
index 7cb3ee7..b350bc2 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoader.java
@@ -143,15 +143,13 @@ public class PlugInClassLoader extends SecureClassLoader {
 
         if (bytes != null) {
             return defineClass(name, bytes, 0, bytes.length, protectionDomain);
-        } else {
-            LOG.config("can't find name " + name + " , try to using the ploader");
-            Class<?> result = ploader.loadClass(name);
-            if (null == result) {
-                throw new ClassNotFoundException(name);
-            } else {
-                return result;
-            }
         }
+        LOG.config("can't find name " + name + " , try to using the ploader");
+        Class<?> result = ploader.loadClass(name);
+        if (null == result) {
+            throw new ClassNotFoundException(name);
+        }
+        return result;
     }
 
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java
b/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java
index 052c169..a00ec6a 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/core/classloader/PlugInClassLoaderHelper.java
@@ -62,37 +62,35 @@ public final class PlugInClassLoaderHelper {
             } catch (java.net.MalformedURLException mue) {
                 throw new IOException(mue.getMessage());
             }
-        } else {
-            // something with !/
-            // check for a nested directory reference
-            if (isNestedDirectoryReference(name)) {
-                throw new IOException(
-                        "Accessing contents of directories within jars is currently not supported");
-            } else {
-                String enclosingJar = name.substring(0, name.lastIndexOf("!/") + 2);
-                String resourceName = name.substring(name.lastIndexOf("!/") + 2);
-                Map<?, ?> jarMap = JarLoader.getJarContents(enclosingJar);
-
-                if (null != jarMap && jarMap.containsKey(resourceName)) {
-                    byte bytes[] = (byte[])jarMap.get(resourceName);
-
-                    // this class will not be looked for again
-                    // once it is loaded so to save memory we
-                    // remove it form the map, if it is not a
-                    // class we add it to the nonClasses cache,
-                    // this is only true for in memory cache.
-                    // REVISIT - this needs to be more specific,
-                    // some classes Home|Remote interfaces are
-                    // loaded multiple times - see remote class
-                    // downloading for the moment disable this
-                    // jarMap.remove(resourceName);
-                    //
-                    if (!name.endsWith(".class")) {
-                        nonClassesMap.put(name, bytes);
-                    }
-                    return bytes;
-                }
+        }
+        // something with !/
+        // check for a nested directory reference
+        if (isNestedDirectoryReference(name)) {
+            throw new IOException(
+                    "Accessing contents of directories within jars is currently not supported");
+        }
+        String enclosingJar = name.substring(0, name.lastIndexOf("!/") + 2);
+        String resourceName = name.substring(name.lastIndexOf("!/") + 2);
+        Map<?, ?> jarMap = JarLoader.getJarContents(enclosingJar);
+
+        if (null != jarMap && jarMap.containsKey(resourceName)) {
+            byte bytes[] = (byte[])jarMap.get(resourceName);
+
+            // this class will not be looked for again
+            // once it is loaded so to save memory we
+            // remove it form the map, if it is not a
+            // class we add it to the nonClasses cache,
+            // this is only true for in memory cache.
+            // REVISIT - this needs to be more specific,
+            // some classes Home|Remote interfaces are
+            // loaded multiple times - see remote class
+            // downloading for the moment disable this
+            // jarMap.remove(resourceName);
+            //
+            if (!name.endsWith(".class")) {
+                nonClassesMap.put(name, bytes);
             }
+            return bytes;
         }
 
         // failed to locate the resource

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java
b/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java
index 0168b08..cf3e6c6 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/core/resourceadapter/AbstractManagedConnectionFactoryImpl.java
@@ -85,12 +85,11 @@ public abstract class AbstractManagedConnectionFactoryImpl extends ResourceBean
             if (!conn.isBound()) {
                 LOG.fine("Match against unbounded, con= " + conn + ", info=" + crInfo);
                 return conn;
-            } else {
-                if (isMatch(conn, crInfo, subject)) {
-                    LOG.fine("Match against bounded, con= " + conn + ", info=" + crInfo);
+            }
+            if (isMatch(conn, crInfo, subject)) {
+                LOG.fine("Match against bounded, con= " + conn + ", info=" + crInfo);
 
-                    return conn;
-                }
+                return conn;
             }
         }
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ConnectionFactoryImpl.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ConnectionFactoryImpl.java
b/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ConnectionFactoryImpl.java
index 902511a..5601de0 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ConnectionFactoryImpl.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/cxf/ConnectionFactoryImpl.java
@@ -81,9 +81,8 @@ public class ConnectionFactoryImpl implements CXFConnectionFactory,
             // non-managed, null Subject
             ManagedConnection connection = managedConnectionFactory.createManagedConnection(null,
reqInfo);
             return connection.getConnection(null, reqInfo);
-        } else {
-            return connectionManager.allocateConnection(managedConnectionFactory, reqInfo);
         }
+        return connectionManager.allocateConnection(managedConnectionFactory, reqInfo);
     }
 
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java b/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java
index 82a73b4..46aa82e 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/cxf/JCABusFactory.java
@@ -83,10 +83,9 @@ public class JCABusFactory {
         } catch (Exception ex) {
             if (ex instanceof ResourceAdapterInternalException) {
                 throw (ResourceException)ex;
-            } else {
-                throw new ResourceAdapterInternalException(
-                                  new Message("FAIL_TO_INITIALIZE_JCABUSFACTORY", BUNDLE).toString(),
ex);
             }
+            throw new ResourceAdapterInternalException(
+                              new Message("FAIL_TO_INITIALIZE_JCABUSFACTORY", BUNDLE).toString(),
ex);
         } finally {
             Thread.currentThread().setContextClassLoader(original);
         }
@@ -258,7 +257,7 @@ public class JCABusFactory {
                         LOG.info("ejbServicePropertiesFile modified, initializing/updating
servants");
                         initializeServantsFromProperties(loadProperties(propsFile.toURI().toURL()));
                     }
-                    Thread.sleep((long)pollIntervalSeconds * 1000L);
+                    Thread.sleep(pollIntervalSeconds * 1000L);
                 } catch (Exception e) {
                     LOG.info("MonitorThread: failed to initialiseServantsFromProperties "
                               + "with properties absolute path=" + propsFile.getAbsolutePath());

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/jarloader/JarLoader.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/jarloader/JarLoader.java b/integration/jca/src/main/java/org/apache/cxf/jca/jarloader/JarLoader.java
index f587c1a..0844c89 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/jarloader/JarLoader.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/jarloader/JarLoader.java
@@ -124,9 +124,8 @@ public final class JarLoader {
 
         if (name.indexOf("!/") != -1) {
             return name.substring(0, name.indexOf("!/"));
-        } else {
-            return name;
         }
+        return name;
     }
 
     private static void readArchive(String name) throws MalformedURLException, IOException
{

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/main/java/org/apache/cxf/jca/outbound/ManagedConnectionFactoryImpl.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/main/java/org/apache/cxf/jca/outbound/ManagedConnectionFactoryImpl.java
b/integration/jca/src/main/java/org/apache/cxf/jca/outbound/ManagedConnectionFactoryImpl.java
index ba4bd07..98aa044 100644
--- a/integration/jca/src/main/java/org/apache/cxf/jca/outbound/ManagedConnectionFactoryImpl.java
+++ b/integration/jca/src/main/java/org/apache/cxf/jca/outbound/ManagedConnectionFactoryImpl.java
@@ -191,9 +191,8 @@ public class ManagedConnectionFactoryImpl implements ManagedConnectionFactory,
         if (resourceAdapter instanceof ResourceAdapterImpl) {
             return ((ResourceAdapterImpl)resourceAdapter).getBootstrapContext()
                 .getWorkManager();
-        } else {
-            return null;
         }
+        return null;
     }
 
 }

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ManagedConnectionFactoryImplTest.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ManagedConnectionFactoryImplTest.java
b/integration/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ManagedConnectionFactoryImplTest.java
index 68b03f8..6913e6e 100644
--- a/integration/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ManagedConnectionFactoryImplTest.java
+++ b/integration/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ManagedConnectionFactoryImplTest.java
@@ -41,6 +41,7 @@ public class ManagedConnectionFactoryImplTest extends Assert {
 
 
     @Test
+    @SuppressWarnings("cast")
     public void testManagedConnectionFactoryImplInstanceOfResourceBean() throws Exception
{
         assertNotNull("mcf is not null", mcf);
         assertTrue("ManagedConnectionFactoryImpl is ResourceBean", mcf instanceof ResourceBean);

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ConnectionFactoryImplTest.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ConnectionFactoryImplTest.java
b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ConnectionFactoryImplTest.java
index 5ecd26f..cf0125f 100644
--- a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ConnectionFactoryImplTest.java
+++ b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ConnectionFactoryImplTest.java
@@ -54,11 +54,13 @@ public class ConnectionFactoryImplTest extends Assert {
     }
 
     @Test
+    @SuppressWarnings("cast")
     public void testInstanceOfSerializable() throws Exception {
         assertTrue("Instance of Serializable", cf instanceof Serializable);
     }
 
     @Test
+    @SuppressWarnings("cast")
     public void testInstanceOfReferencable() throws Exception {
         assertTrue("Instance of Referenceable", cf instanceof Referenceable);
 

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
index 1a3cafb..d95dbda 100644
--- a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
+++ b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionFactoryImplTest.java
@@ -231,6 +231,7 @@ public class ManagedConnectionFactoryImplTest extends Assert {
         assertEquals("init was called once", 1, mcit.initCalledCount);
     }
 
+    @SuppressWarnings("cast")
     @Test
     public void testCreateManagedConnection() throws Exception {
         ManagedConnectionFactoryImplTester mcit = new ManagedConnectionFactoryImplTester();

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionImplTest.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionImplTest.java
b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionImplTest.java
index e42cfda..c09b47b 100644
--- a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionImplTest.java
+++ b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ManagedConnectionImplTest.java
@@ -45,6 +45,7 @@ public class ManagedConnectionImplTest extends ManagedConnectionTestBase
{
     protected QName portName;
 
     @Test
+    @SuppressWarnings("cast")
     public void testInstanceOfConnection() throws Exception {
         assertTrue("Instance of Connection", mci instanceof Connection);
         ((Connection)mci).close();

http://git-wip-us.apache.org/repos/asf/cxf/blob/813c06f6/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ResourceAdapterImplTest.java
----------------------------------------------------------------------
diff --git a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ResourceAdapterImplTest.java
b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ResourceAdapterImplTest.java
index 3929e55..a96fda0 100644
--- a/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ResourceAdapterImplTest.java
+++ b/integration/jca/src/test/java/org/apache/cxf/jca/cxf/ResourceAdapterImplTest.java
@@ -45,6 +45,7 @@ public class ResourceAdapterImplTest extends Assert {
     }
 
     @Test
+    @SuppressWarnings("cast")
     public void testConstructorWithoutProperties() throws Exception {
         ResourceAdapterImpl rai = new ResourceAdapterImpl();
         assertTrue("constructed without props", rai instanceof ResourceAdapterImpl);
@@ -54,6 +55,7 @@ public class ResourceAdapterImplTest extends Assert {
     }
 
     @Test
+    @SuppressWarnings("cast")
     public void testConstructorWithProperties() throws Exception {
         Properties props = new Properties();
         ResourceAdapterImpl rai = new ResourceAdapterImpl(props);


Mime
View raw message