private static boolean isValidVersionNumber(final String version){
  if (version == null) {
    return false;
  }
  final String[] parts=version.split("\\.");
  if (parts.length != 3) {
    return false;
  }
  for (  final String part : parts) {
    if (!Convert.isDecString(part)) {
      return false;
    }
  }
  return true;
}

private static boolean isValidVersionNumber ( final String version ) { if ( version == null ) { return false ; } final String [ ] parts = version . split ( "\\." ) ; if ( parts . length != 3 ) { return false ; } for ( final String part : parts ) { if ( ! Convert . isDecString ( part ) ) { return false ; } } return true ; }
checks whether a given version string is a valid version string .
