From 70d8a36a8774ef5a4ccaad584864eb1a13999715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Bigaret?=
 <sebastien.bigaret@telecom-bretagne.eu>
Date: Fri, 7 Oct 2011 09:54:45 +0200
Subject: [PATCH] Fix: 'rmi.factories' were never taken into account

---
 .../telecom_bretagne/praxis/common/RMIMasterSocketFactory.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/eu/telecom_bretagne/praxis/common/RMIMasterSocketFactory.java b/src/eu/telecom_bretagne/praxis/common/RMIMasterSocketFactory.java
index 67a5a05d..2f28599d 100644
--- a/src/eu/telecom_bretagne/praxis/common/RMIMasterSocketFactory.java
+++ b/src/eu/telecom_bretagne/praxis/common/RMIMasterSocketFactory.java
@@ -52,7 +52,7 @@ class RMIMasterSocketFactory
 	{
 		super();
 		this.factory = factory;
-		if (factory == null)
+		if (factory != null)
 			return; // no need to do anything, we won't use super.createSocket().
 		
 		final String factories = System.getProperty("rmi.factories");
-- 
GitLab