# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\Users\user account\Documents\NetBeansProjects\trunk\api # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: src/main/java/org/openmrs/module/ModuleUtil.java --- src/main/java/org/openmrs/module/ModuleUtil.java Base (BASE) +++ src/main/java/org/openmrs/module/ModuleUtil.java Locally Modified (Based On LOCAL) @@ -308,10 +308,10 @@ if (lowerBound.indexOf("*") > 0) lowerBound = lowerBound.replaceAll("\\*", "0"); - // if the upper contains "*" then change it to 999 - // assuming 999 will be the max revision number for openmrs + // if the upper contains "*" then change it to maximum value of integer + // max value of integer on the platform will be the max revision number for openmrs if (upperBound.indexOf("*") > 0) - upperBound = upperBound.replaceAll("\\*", "999"); + upperBound = upperBound.replaceAll("\\*",Integer.toString(Integer.MAX_VALUE)); int lowerReturn = compareVersion(version, lowerBound);