clarify SampleModel.setSample(float/double) spec regarding cast to int

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: client-libs
    • 2d
    • b43
    • generic
    • generic

      The default implementations of setSample(float) and setSample(double) in
      the base SampleModel class first cast the float/double value to an int and
      then call the abstract setSample(int) variant with that int value. We should
      probably clarify the specification of those two method to reflect this
      behavior. This issue came up while evaluating RFE 4738524.
      ###@###.### 2005-05-09 20:19:56 GMT

            Assignee:
            Christopher Campbell (Inactive)
            Reporter:
            Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: