src/main/java/eu/digitisation/input/Batch.java
static String suffix(String s1, String s2) {
        int limit = Math.min(s1.length(), s2.length());
        int len = 0;

        while (len < limit
                && s1.charAt(s1.length() - len - 1) == s2.charAt(s2.length() - len - 1)) {
            ++len;
        }
        return s1.substring(s1.length() - len);
    }
/**
     * Common suffix
     *
     * @param s1 one word
     * @param s2 another word
     * @return the common suffix to s1 and s2
     */
Common suffix
@param s1 one word
@param s2 another word
@return the common suffix to s1 and s2
Common suffix @param s1 one word @param s2 another word @return the common suffix to s1 and s2
static String suffix(String s1, String s2) {
        int limit = Math.min(s1.length(), s2.length());
        int len = 0;
        while (len < limit
                && s1.charAt(s1.length() - len - 1) == s2.charAt(s2.length() - len - 1)) {
            ++len;
        }
        return s1.substring(s1.length() - len);
    }
static String suffix ( String s1 , String s2 ) { int limit = Math . min ( s1 . length ( ) , s2 . length ( ) ) ; int len = 0 ; while ( len < limit && s1 . charAt ( s1 . length ( ) - len - 1 ) == s2 . charAt ( s2 . length ( ) - len - 1 ) ) { ++ len ; } return s1 . substring ( s1 . length ( ) - len ) ; }
Common suffix
 @param s1 one word
 @param s2 another word
 @return the common suffix to s1 and s2
Common suffix @param s1 one word @param s2 another word @return the common suffix to s1 and s2