Searched defs:expectedVersion (Results 1 - 4 of 4) sorted by relevance

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/tools/bundles/
H A DVersionCheck.java141 * @param expectedVersion The string of expected version.
145 String expectedVersion) {
146 if (Character.isDigit(expectedVersion.charAt(expectedVersion.length()
148 if (!currentVersion.startsWith(expectedVersion)) {
153 int compareLength = Math.min(expectedVersion.length() - 1,
155 if (expectedVersion.endsWith("-")) {
160 if (expectedVersion.charAt(i) < currentVersion.charAt(i)) {
164 if (currentVersion.charAt(i) > expectedVersion.charAt(i)) {
167 if (currentVersion.charAt(i) < expectedVersion
144 versionCompatible(String currentVersion, String expectedVersion) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/upgrade/
H A DVersionUtils.java142 * @param expectedVersion The version we should match OpenAM's current version against.
146 public static boolean isCurrentVersionEqualTo(Integer expectedVersion) { argument
152 return expectedVersion.equals(Integer.valueOf(parsedVersion[0]));
157 * @param expectedVersion The version to test for.
160 public static boolean isCurrentVersionLessThan(int expectedVersion, boolean notParsed) { argument
166 return Integer.valueOf(parsedVersion[0]).intValue() < expectedVersion;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/tools/bundles/
H A DVersionCheck.java141 * @param expectedVersion The string of expected version.
145 String expectedVersion) {
146 if (Character.isDigit(expectedVersion.charAt(expectedVersion.length()
148 if (!currentVersion.startsWith(expectedVersion)) {
153 int compareLength = Math.min(expectedVersion.length() - 1,
155 if (expectedVersion.endsWith("-")) {
160 if (expectedVersion.charAt(i) < currentVersion.charAt(i)) {
164 if (currentVersion.charAt(i) > expectedVersion.charAt(i)) {
167 if (currentVersion.charAt(i) < expectedVersion
144 versionCompatible(String currentVersion, String expectedVersion) argument
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/upgrade/
H A DVersionUtils.java142 * @param expectedVersion The version we should match OpenAM's current version against.
146 public static boolean isCurrentVersionEqualTo(Integer expectedVersion) { argument
152 return expectedVersion.equals(Integer.valueOf(parsedVersion[0]));
157 * @param expectedVersion The version to test for.
160 public static boolean isCurrentVersionLessThan(int expectedVersion, boolean notParsed) { argument
166 return Integer.valueOf(parsedVersion[0]).intValue() < expectedVersion;

Completed in 30 milliseconds