app/src/main/java/com/example/android/quakereport/QueryUtils.java
private static URL createURL(String urlString){
        URL url = null;
        try{
            url = new URL(urlString);
        }catch (MalformedURLException e){
            Log.e("Error ",e.toString());
        }
        Log.v("create URL","is called");
        return url;
    }
// Create new Object from url then return it
Create new Object from url then return it
Create new Object from url then return it
private static URL createURL(String urlString){
        URL url = null;
        try{
            url = new URL(urlString);
        }catch (MalformedURLException e){
            Log.e("Error ",e.toString());
        }
        Log.v("create URL","is called");
        return url;
    }
private static URL createURL ( String urlString ) { URL url = null ; try { url = new URL ( urlString ) ; } catch ( MalformedURLException e ) { Log . e ( "Error " , e . toString ( ) ) ; } Log . v ( "create URL" , "is called" ) ; return url ; }
Create new Object from url then return it
Create new Object from url then return it