newHttpUrl — authority must be NotNull

This commit is contained in:
Vladimir Krivosheev
2013-11-27 17:35:46 +01:00
parent 95c5bb9689
commit a708a6e69f
@@ -50,7 +50,7 @@ public final class Urls {
}
@NotNull
public static Url newHttpUrl(@Nullable String authority, @Nullable String path) {
public static Url newHttpUrl(@NotNull String authority, @Nullable String path) {
return new UrlImpl("http", authority, path);
}