yangxu998 / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Forgotten to change method name in JavaDoc after refactoring #563

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
InternetDomainName.from("foo.com").child("www.bar")
->
InternetDomainName.fromLenient("foo.com").child("www.bar")

in

/**
 * Creates and returns a new {@code InternetDomainName} by prepending the
 * argument and a dot to the current name. For example, {@code
 * InternetDomainName.from("foo.com").child("www.bar")} returns a new {@code
 * InternetDomainName} with the value {@code www.bar.foo.com}.
 *
 * @throws NullPointerException if leftParts is null
 * @throws IllegalArgumentException if the resulting name is not valid
 */
public InternetDomainName child(String leftParts) {

Original issue reported on code.google.com by ullenb...@googlemail.com on 27 Feb 2011 at 1:45

GoogleCodeExporter commented 9 years ago
Also 3 occurences in the JavaDoc from isValidLenient:

   *   if (InternetDomainName.isValid(name)) {
   *     domainName = InternetDomainName.from(name);
...
   *     domainName = InternetDomainName.from(name);

Original comment by ullenb...@googlemail.com on 1 Mar 2011 at 4:54

GoogleCodeExporter commented 9 years ago

Original comment by kurt.kluever on 1 Mar 2011 at 7:13

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 19 Mar 2011 at 3:36

GoogleCodeExporter commented 9 years ago
This has been fixed in head; will be pushed with R9. Thanks for the report!

Original comment by fry@google.com on 22 Mar 2011 at 7:14

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:09