Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8307183

Eliminate the parameter to ImageRepresentation.reconstruct()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 5.0, 21
    • client-libs

       From: Alan Snyder on client-libs-dev:

      I have a suggestion. Unless IDEA is lying to me, all uses of reconstruct() pass ALLBITS as the parameter.

      The net effect is to wait for any of the three terminating conditions, ALLBITS, FRAMEBITS, and ERROR.

      My suggestion would be to eliminate the parameter, add ALLBITS to the test in the loop, and rename the method waitForTermination() or something like that.

            rmahajan Rajat Mahajan
            rmahajan Rajat Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: