tracedsl/src/main/java/io/jaegertracing/analytics/tracequality/MinimumClientVersion.java
boolean isGreaterThanOrEqualTo(String left, String right) {
        String[] leftParts = left.split("\\.");
        String[] rightParts = right.split("\\.");

        int length = Math.min(leftParts.length, rightParts.length);
        try {
            for (int i = 0; i < length; i++) {
                int leftPart = Integer.parseInt(leftParts[i]);
                int rightPart = Integer.parseInt(rightParts[i]);
                if (leftPart < rightPart) {
                    return true;
                }
                if (leftPart > rightPart) {
                    return false;
                }
            }
        } catch (NumberFormatException e) {
            return false;
        }
        return true;
    }
/**
     * Compares two semantic version strings
     *
     * @param left  semantic version string
     * @param right semantic version string
     * @return true if right is greater than or equal to left
     * false for all other cases
     */
Compares two semantic version strings
@param left  semantic version string
@param right semantic version string
@return true if right is greater than or equal to left
false for all other cases
Compares two semantic version strings @param left semantic version string @param right semantic version string @return true if right is greater than or equal to left false for all other cases
boolean isGreaterThanOrEqualTo(String left, String right) {
        String[] leftParts = left.split("\\.");
        String[] rightParts = right.split("\\.");
        int length = Math.min(leftParts.length, rightParts.length);
        try {
            for (int i = 0; i < length; i++) {
                int leftPart = Integer.parseInt(leftParts[i]);
                int rightPart = Integer.parseInt(rightParts[i]);
                if (leftPart < rightPart) {
                    return true;
                }
                if (leftPart > rightPart) {
                    return false;
                }
            }
        } catch (NumberFormatException e) {
            return false;
        }
        return true;
    }
boolean isGreaterThanOrEqualTo ( String left , String right ) { String [ ] leftParts = left . split ( "\\." ) ; String [ ] rightParts = right . split ( "\\." ) ; int length = Math . min ( leftParts . length , rightParts . length ) ; try { for ( int i = 0 ; i < length ; i ++ ) { int leftPart = Integer . parseInt ( leftParts [ i ] ) ; int rightPart = Integer . parseInt ( rightParts [ i ] ) ; if ( leftPart < rightPart ) { return true ; } if ( leftPart > rightPart ) { return false ; } } } catch ( NumberFormatException e ) { return false ; } return true ; }
Compares two semantic version strings
 @param left  semantic version string
 @param right semantic version string
 @return true if right is greater than or equal to left
 false for all other cases
Compares two semantic version strings @param left semantic version string @param right semantic version string @return true if right is greater than or equal to left false for all other cases