public static Version parseVersion ( String version ) { if ( ! Strings . isNullOrEmpty ( version ) ) { try { return Version . parseVersion ( version ) ; } catch ( Throwable exception ) { // } } return null ; }
Null - safe version parser .