mirror of
https://github.com/google/nomulus
synced 2026-01-04 04:04:22 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user