app/src/main/java/com/example/android/quakereport/QueryUtils.java
private static URL createUrl(String stringUrl)
    {
        URL url = null;
        try {
            url = new URL(stringUrl);
        } catch (MalformedURLException e)
        {
            Log.e(LOG_TAG, "Error with creating 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 createUrl(String stringUrl)
    {
        URL url = null;
        try {
            url = new URL(stringUrl);
        } catch (MalformedURLException e)
        {
            Log.e(LOG_TAG, "Error with creating URL ", e);
        }
        return url;
    }
private static URL createUrl ( String stringUrl ) { URL url = null ; try { url = new URL ( stringUrl ) ; } catch ( MalformedURLException e ) { Log . e ( LOG_TAG , "Error with creating URL " , e ) ; } return url ; }
Returns new URL object from the given string URL.
Returns new URL object from the given string URL .