User: fleury
Date: 00/07/27 15:34:08
Modified: src/main/org/jboss/ejb/plugins/jrmp/interfaces
GenericProxy.java
Log:
repetitive setting
Revision Changes Path
1.5 +5 -4
jboss/src/main/org/jboss/ejb/plugins/jrmp/interfaces/GenericProxy.java
Index: GenericProxy.java
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/jrmp/interfaces/GenericProxy.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- GenericProxy.java 2000/06/21 11:51:33 1.4
+++ GenericProxy.java 2000/07/27 22:34:08 1.5
@@ -21,7 +21,7 @@
*
* @see <related>
* @author Rickard �berg ([EMAIL PROTECTED])
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class GenericProxy
implements java.io.Serializable
@@ -45,7 +45,8 @@
public static void setTransactionManager(TransactionManager txMan)
{
- tm = txMan;
+ if (tm == null)
+ tm = txMan;
}
// Constructors --------------------------------------------------
@@ -69,8 +70,8 @@
protected void writeObject(java.io.ObjectOutputStream out)
throws IOException
{
- out.writeUTF(name);
- out.writeObject(isLocal() ? container : null);
+ out.writeUTF(name);
+ out.writeObject(isLocal() ? container : null);
out.writeLong(containerStartup);
out.writeBoolean(optimize);
}