Uploaded image for project: 'Commons Functor'
  1. Commons Functor
  2. FUNCTOR-9

[PATCH] Make Limit and Offset Serializable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Labels:
      None
    • Environment:

      Win7 Enterprise, jdk-1.6.0_27, Eclipse Galileo

      Description

      In org.apache.commons.functor.core all classes that are in someway a Functor implement Serializable, with exception of Limit and Offset (as pointed by E. Bourg in the mailing list). This patch marks both classes as Serializable and includes equals() and hashcode() methods.

      Notice that these changes are already covered by the test org.apache.commons.functor.BaseFunctorTest#testSerializeDeserializeThenCompare.

      Bruno P. Kinoshita

        Attachments

        1. FUNCTOR-9.patch
          4 kB
          Bruno P. Kinoshita

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              kinow Bruno P. Kinoshita
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: