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:
parent
2b7e195935
commit
1dc65ff986
|
@ -1448,7 +1448,7 @@ public class SystemUtils {
|
|||
if (osName == null || osVersion == null) {
|
||||
return false;
|
||||
}
|
||||
return osName.startsWith(osNamePrefix) && osVersion.startsWith(osVersionPrefix);
|
||||
return isOSNameMatch(osName, osNamePrefix) && osVersion.startsWith(osVersionPrefix);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue