aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/preprocess
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-06-27 15:02:03 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-06-27 15:02:03 +0200
commit8b80ea299ef6fadfbc0ec59308e0937612eb8c35 (patch)
tree8cf3759cafe1a2c2f7b21d1bcec23ff7a2ad7561 /src/main/java/at/gv/egiz/moazs/preprocess
parent9556dc6bd7e327dfbfc3c2d5228ad920ad7b9f8e (diff)
downloadmoa-zs-8b80ea299ef6fadfbc0ec59308e0937612eb8c35.tar.gz
moa-zs-8b80ea299ef6fadfbc0ec59308e0937612eb8c35.tar.bz2
moa-zs-8b80ea299ef6fadfbc0ec59308e0937612eb8c35.zip
Minor Fixes
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/preprocess')
-rw-r--r--src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java
index 2392ce0..14fb377 100644
--- a/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java
+++ b/src/main/java/at/gv/egiz/moazs/preprocess/ConfigUtil.java
@@ -229,12 +229,13 @@ public class ConfigUtil {
}
private boolean isTVNZClientConfigured(ClientType tnvzClient, Boolean isPerformQueryPersonRequest) {
- return (tnvzClient != null
+ return (isPerformQueryPersonRequest
+ && tnvzClient != null
&& tnvzClient.getURL() != null
&& tnvzClient.getReceiveTimeout() != null
&& tnvzClient.getConnectionTimeout() != null
&& isSSLConfigured(tnvzClient))
- || isPerformQueryPersonRequest == false;
+ || !isPerformQueryPersonRequest;
}
private boolean isMSGClientConfigured(ClientType msgClientParams) {