jdk/src/share/classes/java/net/URL.java
changeset 16055 311a101eb72c
parent 15309 b585dca79d0b
child 19069 1d9cb0d080e3
--- a/jdk/src/share/classes/java/net/URL.java	Tue Mar 05 14:30:18 2013 +0000
+++ b/jdk/src/share/classes/java/net/URL.java	Tue Mar 05 09:50:53 2013 -0500
@@ -661,8 +661,8 @@
      * @param file the file on the host
      * @param ref the internal reference in the URL
      */
-    protected void set(String protocol, String host,
-                       int port, String file, String ref) {
+    void set(String protocol, String host, int port,
+             String file, String ref) {
         synchronized (this) {
             this.protocol = protocol;
             this.host = host;
@@ -698,9 +698,9 @@
      * @param query the query part of this URL
      * @since 1.3
      */
-    protected void set(String protocol, String host, int port,
-                       String authority, String userInfo, String path,
-                       String query, String ref) {
+    void set(String protocol, String host, int port,
+             String authority, String userInfo, String path,
+             String query, String ref) {
         synchronized (this) {
             this.protocol = protocol;
             this.host = host;