diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/sig/ConnectorFactory.java | 11 |
1 files changed, 7 insertions, 4 deletions
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;
}
}
|