754 |
} |
} |
755 |
|
|
756 |
/** |
/** |
757 |
* Adds an array of new locations to the end of the internal URL store. |
* Adds an array of new locations to the end of the internal URL |
758 |
|
* store. Called from the the constructors. Should not call to the |
759 |
|
* protected addURL() method since that can be overridden and |
760 |
|
* subclasses are not yet in a good state at this point. |
761 |
|
* |
762 |
* @param newUrls the locations to add |
* @param newUrls the locations to add |
763 |
*/ |
*/ |
764 |
private void addURLs(URL[] newUrls) |
private void addURLs(URL[] newUrls) |
765 |
{ |
{ |
766 |
for (int i = 0; i < newUrls.length; i++) |
for (int i = 0; i < newUrls.length; i++) |
767 |
addURL(newUrls[i]); |
{ |
768 |
|
urls.add(newUrls[i]); |
769 |
|
addURLImpl(newUrls[i]); |
770 |
|
} |
771 |
} |
} |
772 |
|
|
773 |
/** |
/** |