Here you can find the source of buildURL(String id)
public static URL buildURL(String id)
//package com.java2s; import java.net.MalformedURLException; import java.net.URL; public class Main { private static final String TRACKER_URL_PREFIX = "https://bugzilla.redhat.com/show_bug.cgi?id="; public static URL buildURL(String id) { try {/*from w ww . j a v a 2s . com*/ return new URL(TRACKER_URL_PREFIX + id); } catch (MalformedURLException e) { throw new IllegalStateException(e); } } }