From 45089a04882d25f86982eca110caed4884a5a9ee Mon Sep 17 00:00:00 2001 From: Christian Pape Date: Tue, 19 Nov 2024 11:00:02 +0100 Subject: [PATCH] Fixed bug --- src/main/java/de/hsfulda/informatik/LdapSync.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/de/hsfulda/informatik/LdapSync.java b/src/main/java/de/hsfulda/informatik/LdapSync.java index 1188e40..a63c0b2 100644 --- a/src/main/java/de/hsfulda/informatik/LdapSync.java +++ b/src/main/java/de/hsfulda/informatik/LdapSync.java @@ -178,6 +178,10 @@ public class LdapSync { } } + if (m.group(2).isEmpty()) { + return null; + } + final int s = m.group(2).length(); final int z = Integer.parseInt(m.group(2));