Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12996

Reversed field on Filter should be transient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.1.0, 0.98.11, 2.0.0
    • 1.0.0, 1.1.0, 0.98.11
    • None
    • None
    • Reviewed

    Description

      Filter has the field

        protected boolean reversed;
      

      which should be marked transient since it does not get serialized with the rest of Filter.

      Even though Filters do not use Java serialization, this should be provided as a hint to, for example, unittests that verify the integrity of serialization methods by randomly populating a class and testing that it properly compares after deserialization.

      Attachments

        1. HBASE-12996.patch
          0.6 kB
          Ian Friedman

        Activity

          People

            ianfriedman Ian Friedman
            ianfriedman Ian Friedman
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: