From 09eb73d75ec46cbe270971d45d403b8fb9922c1c Mon Sep 17 00:00:00 2001 From: knowcenter Date: Wed, 18 Jul 2007 07:36:36 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@137 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/knowcenter/wag/egov') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java index 510104d..236f260 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java @@ -322,7 +322,7 @@ public abstract class ConnectorFactory */ public static boolean needsSIG_ID(String connector) { - boolean return_result = true; + //boolean return_result = true; if(connector.contains("moa")) { @@ -332,8 +332,11 @@ public abstract class ConnectorFactory { moa_sig_id_visible = SettingsReader.getInstance().getValueFromKey(MOA_SIG_ID_VISIBLE_KEY); - if(!moa_sig_id_visible.equals("true") || moa_sig_id_visible == null) - return_result = false; + if(moa_sig_id_visible == null) + return false; + + if(!moa_sig_id_visible.equals("true")) + return false; } catch (SettingsException e) { @@ -343,6 +346,6 @@ public abstract class ConnectorFactory } } - return return_result; + return true;//return_result; } } -- cgit v1.2.3