@@ -0,0 +1,522 @@
+package org.rmatil.sync.core;%0A%0Aimport java.util.Comparator;%0A%0A/**%0A * Compares two strings by their length.%0A */%0Apublic class StringLengthComparator implements Comparator%3CString%3E %7B%0A%0A    /**%0A     * Compares the strings by their length.%0A     * %3Cbr%3E%0A     * %3Cbr%3E%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public int compare(String o1, String o2) %7B%0A        if (o1.length() %3C o2.length()) %7B%0A            return - 1;%0A        %7D%0A%0A        if (o1.length() %3E o2.length()) %7B%0A            return 1;%0A        %7D%0A%0A        return 0;%0A    %7D%0A%7D%0A

Add string length comparator