public boolean isNaturallySwitchableTo(SoftwareVersion to){
  if (equals(to)) {
    return false;
  }
  int minorIdx=versionTuple.length - 1;
  for (int idx=0; idx < minorIdx; idx++) {
    if (to.versionTuple[idx] != versionTuple[idx]) {
      return false;
    }
  }
  return true;
}

public boolean isNaturallySwitchableTo ( SoftwareVersion to ) { if ( equals ( to ) ) { return false ; } int minorIdx = versionTuple . length - 1 ; for ( int idx = 0 ; idx < minorIdx ; idx ++ ) { if ( to . versionTuple [ idx ] != versionTuple [ idx ] ) { return false ; } } return true ; }
check if it ' s possible to upgrade from current version to the target version naturally .
