aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java
index eb18802..b4d0fa7 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/ldap/client/LDAPClientFactoryImpl.java
@@ -28,9 +28,9 @@ public final class LDAPClientFactoryImpl extends LDAPClientFactory {
return null;
}
StringBuffer buffer = new StringBuffer();
- for (int i = values.length - 1; i >= 0; i--) {
+ for (int i = 0; i < values.length; i++) {
buffer.append(values[i]);
- if (i > 0) {
+ if (i+1 < values.length) {
buffer.append(".");
}
}