]> WPIA git - gigi.git/commitdiff
del: Remove unused code
authorBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 00:49:59 +0000 (02:49 +0200)
committerBenny Baumann <BenBE1987@gmx.net>
Sun, 7 Aug 2016 11:49:51 +0000 (13:49 +0200)
This was refactored when introducing the new system for
handling user's names.

Change-Id: Iea601170f38a1fca1c27cc2059c3decaf55a0a5c

tests/org/cacert/gigi/pages/admin/TestSEAdminPageDetails.java

index 3e1bb64cc805264a7d761b1f0deb47d7290dac08..08541decf47f3eab2102b125983263b2d0eb4fff 100644 (file)
@@ -9,7 +9,6 @@ import java.net.MalformedURLException;
 import java.net.URLConnection;
 import java.sql.Timestamp;
 import java.util.Locale;
-import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
 import org.cacert.gigi.GigiApiException;
@@ -174,13 +173,4 @@ public class TestSEAdminPageDetails extends ClientTest {
         return c;
     }
 
-    private String getFname(String res) {
-        Pattern p = Pattern.compile("<span class='fname'>([^<]*)</span>");
-        Matcher m = p.matcher(res);
-        if (m.find()) {
-            return m.group(1);
-        }
-        return null;
-    }
-
 }