public boolean hasNewerVersion(){
  return latestStable.compareTo(currentVersion) > 0;
}

public boolean hasNewerVersion ( ) { return latestStable . compareTo ( currentVersion ) > 0 ; }
compares if there is a newer version available .
