public void syncDownloadPoiBox(final Box box){
  if (FlavorUtils.isPoiStorage()) {
    syncDownloadPoiTypes();
  }
  List<Poi> pois=backend.getPoisInBox(box);
  if (pois.size() > 0) {
    Timber.d("Updating %d nodes",pois.size());
    poiManager.mergeFromOsmPois(pois,box);
  }
 else {
    Timber.d("No new node found in the area");
  }
}

public void syncDownloadPoiBox ( final Box box ) { if ( FlavorUtils . isPoiStorage ( ) ) { syncDownloadPoiTypes ( ) ; } List < Poi > pois = backend . getPoisInBox ( box ) ; if ( pois . size ( ) > 0 ) { Timber . d ( "Updating %d nodes" , pois . size ( ) ) ; poiManager . mergeFromOsmPois ( pois , box ) ; } else { Timber . d ( "No new node found in the area" ) ; } }
download from backend the list of poi contained in the box . update the database with the obtained list .
