commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r290338 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/SessionBeanProvider.java
Date Tue, 20 Sep 2005 03:06:59 GMT
Author: jcarman
Date: Mon Sep 19 20:06:57 2005
New Revision: 290338

URL: http://svn.apache.org/viewcvs?rev=290338&view=rev
Log:
Reformatted code.

Modified:
    jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/SessionBeanProvider.java

Modified: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/SessionBeanProvider.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/SessionBeanProvider.java?rev=290338&r1=290337&r2=290338&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/SessionBeanProvider.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/SessionBeanProvider.java
Mon Sep 19 20:06:57 2005
@@ -16,8 +16,8 @@
  */
 package org.apache.commons.proxy.provider;
 
-import org.apache.commons.proxy.exception.ObjectProviderException;
 import org.apache.commons.proxy.ObjectProvider;
+import org.apache.commons.proxy.exception.ObjectProviderException;
 
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
@@ -38,7 +38,6 @@
 //----------------------------------------------------------------------------------------------------------------------
 // Fields
 //----------------------------------------------------------------------------------------------------------------------
-
     private final String jndiName;
     private final Class serviceInterface;
     private final Class homeInterface;
@@ -72,7 +71,8 @@
     {
         try
         {
-            final InitialContext initialContext = properties == null ? new InitialContext()
: new InitialContext( properties );
+            final InitialContext initialContext = properties == null ? new InitialContext()
:
+                                                  new InitialContext( properties );
             Object homeObject = PortableRemoteObject.narrow( initialContext.lookup( jndiName
), homeInterface );
             final Method createMethod = homeObject.getClass().getMethod( "create" );
             return serviceInterface.cast( createMethod.invoke( homeObject ) );



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


Mime
View raw message