javax.management.PropertyNames example has wrong constructor name

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • 6
    • b65
    • generic
    • generic
    • Verified

      From ###@###.###:

      > - The javadoc of javax.management.PropertyNames says:
      >
      > public class Point {
      > @PropertyNames("x", "y")
      > public NamedNumber(int x, int y) {
      > this.x = x;
      > this.y = y;
      > }
      >
      > ...
      >
      > Should NamedNumber be replaced by Point?

      Obviously it should.

            Assignee:
            Joel Feraud (Inactive)
            Reporter:
            Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: