(doc thread) New ThreadLocal SerialNum example still has problems

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6, 6u23, 6u24
    • Component/s: core-libs
    • b91
    • generic, x86
    • generic, linux, windows_7

      6202942 rfe 4 18M 1 Fix Delivered pete.soper java/lang (spec thread) ThreadLocal example should use generics and autoboxing

      Comment added by (###@###.###) :
      Wouldn't it be slightly better for the example to use getAndIncrement() rather than getAndAdd(1)? And a few finals wouldn't go amiss. And an @Override.

      Oh and the HTML is slightly wrong, The disappears, so the example makes even less sense than it did beforehand. {@code } would make source and docs readable.

            Assignee:
            Pete Soper (Inactive)
            Reporter:
            Pete Soper (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: