Class VersionUtils

java.lang.Object
org.sonarsource.scanner.lib.internal.util.VersionUtils

public class VersionUtils extends Object
  • Method Details

    • isAtLeastIgnoringQualifier

      public static boolean isAtLeastIgnoringQualifier(@Nullable String version, String targetVersion)
      Checks if a given version is at least the target version.
      Parameters:
      version - the version to compare
      targetVersion - the target version to compare with
      Returns:
      true if the version is at least the target version