You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2015/03/28 13:05:52 UTC

[jira] [Created] (LANG-1102) Make the logic for comparing OS versions in SystemUtils smarter

Benedikt Ritter created LANG-1102:
-------------------------------------

             Summary: Make the logic for comparing OS versions in SystemUtils smarter
                 Key: LANG-1102
                 URL: https://issues.apache.org/jira/browse/LANG-1102
             Project: Commons Lang
          Issue Type: Improvement
          Components: lang.*
            Reporter: Benedikt Ritter
            Assignee: Benedikt Ritter


Currently an OS verison prefix of 10.1 will also match an OS version 10.10, because SystemUtils uses {{String.startsWith(String)}} for comparison. The logic should be smarter so that it can differentiate version 10.10 and 10.1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)