Reuse isOsNameMatch

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669747 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2015-03-28 11:43:32 +00:00
parent 2b7e195935
commit 1dc65ff986
1 changed files with 1 additions and 1 deletions

View File

@ -1448,7 +1448,7 @@ public class SystemUtils {
if (osName == null || osVersion == null) { if (osName == null || osVersion == null) {
return false; return false;
} }
return osName.startsWith(osNamePrefix) && osVersion.startsWith(osVersionPrefix); return isOSNameMatch(osName, osNamePrefix) && osVersion.startsWith(osVersionPrefix);
} }
/** /**