Make ConfigUtils public

So users can reference it from other places.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=129450838
This commit is contained in:
Justine Tunney 2016-08-05 09:43:06 -07:00
parent a620d06239
commit e1d02d1ea5

View file

@ -18,14 +18,14 @@ import java.net.MalformedURLException;
import java.net.URL;
/** Helper methods for configuration classes. */
final class ConfigUtils {
public final class ConfigUtils {
/**
* Creates a URL instance.
*
* @throws RuntimeException to rethrow {@link MalformedURLException}
*/
static URL makeUrl(String url) {
public static URL makeUrl(String url) {
try {
return new URL(url);
} catch (MalformedURLException e) {