Class VersionUtils
- java.lang.Object
-
- software.amazon.awssdk.codegen.utils.VersionUtils
-
public class VersionUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
convertToMajorMinorX(String version)
Converts a full version string to a major.minor.x format.
-
-
-
Method Detail
-
convertToMajorMinorX
public static String convertToMajorMinorX(String version)
Converts a full version string to a major.minor.x format.- Parameters:
version
- The full version string to convert (e.g., "2.32.1")- Returns:
- The version string in major.minor.x format (e.g., "2.32.x"), or the original string if it doesn't match the expected version pattern
-
-