mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 17:37:13 +02: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:
parent
a620d06239
commit
e1d02d1ea5
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue