Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | VersionNumber: API doc fix | Sven Gothel | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | VersionNumber: Add API doc for string parsing | Sven Gothel | 2012-10-24 | 1 | -0/+7 |
| | |||||
* | VersionNumber: Remove printing Exception (was added for debugging purposes) | Sven Gothel | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Fix VersionNumber: Non digits cut off pattern was '\D.*' and cut off digits ↵ | Sven Gothel | 2012-10-24 | 1 | -43/+41 |
| | | | | | | | | | | | | | | | | | | | in case leading non digits appear. '\D.*' matches a leading non-digit and then any character. First the string is tokenized by delim: "OpenGL ES GLSL ES 1.0.16" -> "OpenGL ES GLSL ES 1", "0", "16" Enhance pattern as follows and access collected group if matching: // group1: \D* == leading non digits, optional // group2: \d* == digits // group3: .* == any pending chars, optional final java.util.regex.Pattern nonDigitsCutOff = java.util.regex.Pattern.compile("(\\D*)(\\d*)(.*)"); Reorganized storage from atomic values to int[3] array, allowing simple pattern matching loop. Added unit test. | ||||
* | Fix VersionNumber cstr w/ string parsing: cutt-off non-digit-parts, suppress ↵ | Sven Gothel | 2011-10-27 | 1 | -20/+21 |
| | | | | exceptions | ||||
* | VersionNumber: Add cstr with version number string and delimeter | Sven Gothel | 2011-03-21 | 1 | -0/+29 |
| | |||||
* | small cleanup in uitl package | Michael Bien | 2011-02-26 | 1 | -0/+3 |
| | | | | | | - StringBuffer -> StringBuilder - ReflectionUtil.getBaseName -> class.getSimpleName() - cleanup imports, generics and @Override for all touched classes | ||||
* | Fix: VersionNumber compare shall throw ClassCastException if argument is of ↵ | Sven Gothel | 2011-01-31 | 1 | -2/+4 |
| | | | | different kind | ||||
* | Add generic VersionNumber util class | Sven Gothel | 2010-11-28 | 1 | -0/+92 |