private static ImmutableList<String> updateUrls(boolean betaChannel){
  String flavor=BuildConfig.FLAVOR;
  List<String> urls=new ArrayList<>();
  if (betaChannel) {
    urls.add("https://pr0.wibbly-wobbly.de/beta/" + flavor + "/");
    urls.add("https://github.com/mopsalarm/pr0gramm-updates/raw/beta/" + flavor + "/");
  }
 else {
    urls.add("https://pr0.wibbly-wobbly.de/stable/" + flavor + "/");
    urls.add("https://github.com/mopsalarm/pr0gramm-updates/raw/master/" + flavor + "/");
  }
  return ImmutableList.copyOf(urls);
}

private static ImmutableList < String > updateUrls ( boolean betaChannel ) { String flavor = BuildConfig . FLAVOR ; List < String > urls = new ArrayList < > ( ) ; if ( betaChannel ) { urls . add ( "https://pr0.wibbly-wobbly.de/beta/" + flavor + "/" ) ; urls . add ( "https://github.com/mopsalarm/pr0gramm-updates/raw/beta/" + flavor + "/" ) ; } else { urls . add ( "https://pr0.wibbly-wobbly.de/stable/" + flavor + "/" ) ; urls . add ( "https://github.com/mopsalarm/pr0gramm-updates/raw/master/" + flavor + "/" ) ; } return ImmutableList . copyOf ( urls ) ; }
returns the endpoint - url that is to be queried
