app/src/main/java/com/example/android/quakereport/QueryUtils.java
private static URL creatUrl(String urlSite){
         URL url= null;

         try{
             url=new URL(urlSite);
         } catch (MalformedURLException e) {
             Log.e(LOG_TAG,"Error with url",e);
         }
         return url;
    }
/**
     * Returns new URL object from the given string URL.
     */
Returns new URL object from the given string URL.
Returns new URL object from the given string URL .
private static URL creatUrl(String urlSite){
         URL url= null;
         try{
             url=new URL(urlSite);
         } catch (MalformedURLException e) {
             Log.e(LOG_TAG,"Error with url",e);
         }
         return url;
    }
private static URL creatUrl ( String urlSite ) { URL url = null ; try { url = new URL ( urlSite ) ; } catch ( MalformedURLException e ) { Log . e ( LOG_TAG , "Error with url" , e ) ; } return url ; }
Returns new URL object from the given string URL.
Returns new URL object from the given string URL .